Tilde Explained

Mark:~◌̃
Tilde (symbol), Combining tilde (diacritic)
Unicode:
See Also:Double tilde (disambiguation)

The tilde (also)[1] is a grapheme (˜) or (~) with a number of uses. The name of the character came into English from Spanish, which in turn came from the Latin, meaning 'title' or 'superscription'. Its primary use is as a diacritic (accent) in combination with a base letter. Its freestanding form is used in modern texts mainly to indicate approximation.

History

Use by medieval scribes

The tilde was originally one of a variety of marks written over an omitted letter or several letters as a scribal abbreviation (a "mark of contraction").[2] Thus, the commonly used words Anno Domini were frequently abbreviated to Ao Dñi, with an elevated terminal with a contraction mark placed over the "n". Such a mark could denote the omission of one letter or several letters. This saved on the expense of the scribe's labor and the cost of vellum and ink. Medieval European charters written in Latin are largely made up of such abbreviated words with contraction marks and other abbreviations; only uncommon words were given in full.

The text of the Domesday Book of 1086, relating for example, to the manor of Molland in Devon (see adjacent picture), is highly abbreviated as indicated by numerous tildes.

The text with abbreviations expanded is as follows:

Role of mechanical typewriters

On typewriters designed for languages that routinely use diacritics (accent marks), there are two possible solutions. Keys can be dedicated to precomposed characters or alternatively a dead key mechanism can be provided. With the latter, a mark is made when a dead key is typed, but unlike normal keys, the paper carriage does not move on and thus the next letter to be typed is printed under that accent. Typewriters for Spanish typically have a dedicated key for Ñ/ñ but, as Portuguese uses Ã/ã and Õ/õ, a single dead-key (rather than take two keys to dedicate) is the most practical solution.

The tilde symbol did not exist independently as a movable type or hot-lead printing character since the type cases for Spanish or Portuguese would include sorts for the accented forms.

The centralized ASCII tilde

align=right Serif: —~— - align=right Sans-serif: —~— - align=right Monospace: —~— - A free-standing tilde between two em dashes
in three font families
The first ASCII standard (X3.64-1963) did not have a tilde.[3] Like Portuguese and Spanish, the French, German and Scandinavian languages also needed symbols in excess of the basic 26 needed for English. The ASA worked with and through the CCITT to internationalize the code-set, to meet the basic needs of at least the Western European languages.

Thus ISO646 was born (and the ASCII standard updated to X3.64-1967), providing the tilde and other symbols as optional characters.

ISO646 and ASCII incorporated many of the overprinting lower-case diacritics from typewriters, including tilde. Overprinting was intended to work by putting a backspace code between the codes for letter and diacritic.[4]

The free-standing tilde is at code 126 in ASCII, where it was inherited into Unicode as U+007E.

A similar shaped mark is known in typography and lexicography as a swung dash: these are used in dictionaries to indicate the omission of the entry word.

Connection to Spanish

See main article: Ñ. As indicated by the etymological origin of the word "tilde" in English, this symbol has been closely associated with the Spanish language. The connection stems from the use of the tilde above the letter (n) to form the (different) letter (ñ) in Spanish, a feature shared by only a few other languages, most of which are historically connected to Spanish. This peculiarity can help non-native speakers quickly identify a text as being written in Spanish with little chance of error. Particularly during the 1990s, Spanish-speaking intellectuals and news outlets demonstrated support for the language and the culture by defending this letter against globalisation and computerisation trends that threatened to remove it from keyboards and other standardised products and codes.[5] [6] The Instituto Cervantes, founded by Spain's government to promote the Spanish language internationally, chose as its logo a highly stylised with a large tilde. The 24-hour news channel CNN in the US later adopted a similar strategy on its existing logo for the launch of its Spanish-language version, therefore being written as CN͠N. And similarly to the National Basketball Association (NBA), the Spain men's national basketball team is nicknamed "ÑBA".

In Spanish itself the word Spanish; Castilian: tilde is used more generally for diacritics, including the stress-marking acute accent.[7] The diacritic is more commonly called Spanish; Castilian: virgulilla or Spanish; Castilian: la tilde de la eñe, and is not considered an accent mark in Spanish, but rather simply a part of the letter (much like the dot over makes an character that is familiar to readers of English).

Usage

Letters with tilde

Unicode encodes a number of cases of "letter with tilde" as precomposed characters and these are displayed below. In addition, many more symbols may be composed using the combining character facility (and others) that may be used with any letter or other diacritic to create a customised symbol but this does not mean that the result has any real-world application and are not shown in the table.

A tilde diacritic can be added to almost any character by using a combining tilde. Greek and Cyrillic letters with tilde (Α͂ᾶ, Η͂ῆ, Ι͂ῖ, ῗ, Υ͂ῦ, ῧ and А̃а̃, Ә̃ ә̃, Е̃е̃, И̃и̃, О̃о̃, У̃у̃, Ј̃j̃) are formed using this method.

Common use in English

The English language does not use the tilde as a diacritic, though it is used in some loanwords. The standalone form of the symbol is used more widely. Informally, it means "approximately", "about", or "around", such as "~30 minutes before", meaning "approximately 30 minutes before".[8] It may also mean "similar to",[9] including "of the same order of magnitude as",[10] such as "" meaning that and are of the same order of magnitude. Another approximation symbol is the double tilde, meaning "approximately/almost equal to".[9] [11] The tilde is also used to indicate congruence of shapes by placing it over an symbol, thus .

In more recent digital usage, tildes on either side of a word or phrase have sometimes come to convey a particular tone that "let[s] the enclosed words perform both sincerity and irony", which can pre-emptively defuse a negative reaction.[12] For example, BuzzFeed journalist Joseph Bernstein interprets the tildes in the following tweet:

"in the ~ spirit of the season ~ will now link to some of the (imho) #Bestof2014 sports reads. if you hate nice things, mute that hashtag."as a way of making it clear that both the author and reader are aware that the enclosed phrase – "spirit of the season" – "is cliche and we know this quality is beneath our author, and we don't want you to think our author is a cliche person generally".

Among other uses, the symbol has been used on social media to indicate sarcasm.[13] It may also be used online, especially in informal writing such as fanfiction, to convey a cutesy, playful, or flirtatious tone.[14]

Diacritical use

In some languages, the tilde is a diacritic mark placed over a letter to indicate a change in its pronunciation:

Pitch

The tilde was firstly used in the polytonic orthography of Ancient Greek, as a variant of the circumflex, representing a rise in pitch followed by a return to standard pitch.

Abbreviation

Later, it was used to make abbreviations in medieval Latin documents. When an or followed a vowel, it was often omitted, and a tilde (physically, a small) was placed over the preceding vowel to indicate the missing letter; this is the origin of the use of tilde to indicate nasalization (compare the development of the umlaut as an abbreviation of .) The practice of using the tilde over a vowel to indicate omission of an or continued in printed books in French as a means of reducing text length until the 17th century. It was also used in Portuguese and Spanish.

The tilde was also used occasionally to make other abbreviations, such as over the letter, making, to signify the word que ("that").

Nasalization

It is also as a small that the tilde originated when written above other letters, marking a Latin which had been elided in old Galician-Portuguese. In modern Portuguese it indicates nasalization of the base vowel: Portuguese: mão "hand", from Lat. manu-; Portuguese: razões "reasons", from Lat. Latin: rationes. This usage has been adopted in the orthographies of several native languages of South America, such as Guarani and Nheengatu, as well as in the International Phonetic Alphabet (IPA) and many other phonetic alphabets. For example, pronounced as /[ljɔ̃]/ is the IPA transcription of the pronunciation of the French place-name Lyon.

In Breton, the symbol after a vowel means that the letter serves only to give the vowel a nasalised pronunciation, without being itself pronounced, as it normally is. For example, gives the pronunciation pronounced as /[ãn]/ whereas gives pronounced as /[ã]/.

In the DMG romanization of Tunisian Arabic, the tilde is used for nasal vowels õ and ṏ.

Palatal n

See main article: Ñ. The tilded developed from the digraph in Spanish. In this language, is considered a separate letter called eñe (pronounced as /es/), rather than a letter-diacritic combination; it is placed in Spanish dictionaries between the letters and . In Spanish, the word tilde actually refers to diacritics in general, e.g. the acute accent in José,[15] while the diacritic in is called "virgulilla" (pronounced as /es/) (yeísta) or (pronounced as /es/) (non-yeísta). [16] Current languages in which the tilded is used for the palatal nasal consonant pronounced as //ɲ// include

Tone

In Vietnamese, a tilde over a vowel represents a creaky rising tone (ngã). Letters with the tilde are not considered separate letters of the Vietnamese alphabet.

International Phonetic Alphabet

In phonetics, a tilde is used as a diacritic that is placed above a letter, below it or superimposed onto the middle of it:

A tilde between two phonemes indicates optionality, or "alternates with". E.g. (IPA|ɕ ~ ʃ) could indicate that the sounds may alternate depending on context (free variation), or that they vary based on region or speaker, or some other variation.

Letter extension

In Estonian, the symbol stands for the close-mid back unrounded vowel, and it is considered an independent letter.

Modern Usage

In modern internet slang, the tilde can be used to signify endearment or love, i.e. "Hello master~". It is commonly used in the furry and femboy communities and can also be used as a diminutive, akin to adding the "ee" sound to the end of a word.

Other uses

Some languages and alphabets use the tilde for other purposes, such as:

Punctuation

The tilde is used in various ways in punctuation, including:

Range

In some languages (such as in French), a tilde or a tilde-like wave dash (Unicode:) may be used as a punctuation mark (instead of an unspaced hyphen, en dash or em dash) between two numbers, to indicate a range. Doing so avoids the risk of confusion with subtraction or a hyphenated number (such as a part number or model number). For example, "12~15" means "12 to 15", "~3" means "up to three", and "100~" means "100 and greater". East Asian languages almost always use this convention, but it is sometimes done for clarity in some other languages as well. Chinese uses the wave dash and full-width em dash interchangeably for this purpose. In English, the tilde is often used to express ranges and model numbers in electronics, but rarely in formal grammar or in type-set documents, as a wavy dash preceding a number sometimes represents an approximation (see below).

The range tilde is used for various purposes in French, but only to denote ranges of numbers (e.g., French: « 21~32 degrés Celsius »" means "21 to 32 degrees Celsius")

(The symbol (a double tilde) is also used in French, for example, French: « ≈400 mètres » means "approximately 400 meters".)

Approximation

See also: Approximation. Before a number the tilde can mean 'approximately'; '~42' means 'approximately 42'.[20] When used with currency symbols that precede the number (national conventions differ), the tilde precedes the symbol, thus for example '~$10' means 'about ten dollars'.[21]

The symbols (almost equal to) and (approximately equal to) are among the other symbols used to express approximation.

Japanese

The is used for various purposes in Japanese, including to denote ranges of numbers (e.g., 5〜10 means between 5 and 10) in place of dashes or brackets, and to indicate origin. The wave dash is also used to separate a title and a subtitle in the same line, as a colon is used in English.

When used in conversations via email or instant messenger it may be used as a sarcasm mark .

The sign is used as a replacement for the, katakana character, in Japanese, extending the final syllable.

Unicode and Shift JIS encoding of wave dash

In practice the (Unicode), is often used instead of the (Unicode), because the Shift JIS code for the wave dash, 0x8160, which should be mapped to U+301C,[22] [23] is instead mapped to U+FF5E[24] in Windows code page 932 (Microsoft's code page for Japanese), a widely used extension of Shift JIS.

This decision avoided a shape definition error in the original (6.2) Unicode code charts:[25] the wave dash reference glyph in JIS / Shift JIS[26] [27] matches the Unicode reference glyph for U+FF5E,[28] while the original reference glyph for U+301C was reflected, incorrectly, when Unicode imported the JIS wave dash. In other platforms such as the classic Mac OS and macOS, 0x8160 is correctly mapped to U+301C. It is generally difficult, if not impossible, for users of Japanese Windows to type U+301C, especially in legacy, non-Unicode applications.

A similar situation exists regarding the Korean KS X 1001 character set, in which Microsoft maps the EUC-KR or UHC code for the wave dash (0xA1AD) to,[29] [30] while IBM and Apple map it to U+301C.[31] [32] [33] Microsoft also uses U+FF5E to map the KS X 1001 raised tilde (0xA2A6), while Apple uses .

The current Unicode reference glyph for U+301C has been corrected to match the JIS standard in response to a 2014 proposal, which noted that while the existing Unicode reference glyph had been matched by fonts from the discontinued Windows XP, all other major platforms including later versions of Microsoft Windows shipped with fonts matching the JIS reference glyph for U+301C.

The JIS / Shift JIS wave dash is still formally mapped to U+301C as of JIS X 0213, whereas the WHATWG Encoding Standard used by HTML5 follows Microsoft in mapping 0x8160 to U+FF5E. These two code points have a similar or identical glyph in several fonts, reducing the confusion and incompatibility.

Mathematics

As a unary operator

A tilde in front of a single quantity can mean "approximately", "about"[34] or "of the same order of magnitude as."

In written mathematical logic, the tilde represents negation: "~p" means "not p", where "p" is a proposition. Modern use often replaces the tilde with the negation symbol (¬) for this purpose, to avoid confusion with equivalence relations.

As a relational operator

In mathematics, the tilde operator (which can be represented by a tilde or the dedicated character), sometimes called "twiddle", is often used to denote an equivalence relation between two objects. Thus "" means " is equivalent to ". It is a weaker statement than stating that equals . The expression "" is sometimes read aloud as " twiddles ", perhaps as an analogue to the verbal expression of "".[35]

The tilde can indicate approximate equality in a variety of ways. It can be used to denote the asymptotic equality of two functions. For example, means that

\limx

f(x)
g(x)

=1

.

A tilde is also used to indicate "approximately equal to" (e.g. 1.902 ~= 2). This usage probably developed as a typed alternative to the libra symbol used for the same purpose in written mathematics, which is an equal sign with the upper bar replaced by a bar with an upward hump, bump, or loop in the middle (︍︍♎︎) or, sometimes, a tilde (≃). The symbol "≈" is also used for this purpose.

In physics and astronomy, a tilde can be used between two expressions (e.g.) to state that the two are of the same order of magnitude.

In statistics and probability theory, the tilde means "is distributed as"; see random variable(e.g. X ~ B(n,p) for a binomial distribution).

A tilde can also be used to represent geometric similarity (e.g., meaning triangle is similar to). A triple tilde () is often used to show congruence, an equivalence relation in geometry.

In graph theory, the tilde can be used to represent adjacency between vertices. The edge

(x,y)

connects vertices

x

and

y

which can be said to be adjacent, and this adjacency can be denoted

x\simy

.

As a diacritic

The symbol "

\tilde{f}

" is pronounced as "eff tilde" or, informally, as "eff twiddle".[36] [37] This can be used to denote the Fourier transform of f, or a lift of f, and can have a variety of other meanings depending on the context.

A tilde placed below a letter in mathematics can represent a vector quantity (e.g.

(x1,x2,x3,\ldots,xn)=\underset{\sim}{x}

).

In statistics and probability theory, a tilde placed on top of a variable is sometimes used to represent the median of that variable; thus

\tilde{y}

would indicate the median of the variable

y

. A tilde over the letter n (

\tilde{n}

) is sometimes used to indicate the harmonic mean.

In machine learning, a tilde may represent a candidate value for a cell state in GRUs or LSTM units. (e.g. c̃)

Physics

Often in physics, one can consider an equilibrium solution to an equation, and then a perturbation to that equilibrium. For the variables in the original equation (for instance

X

) a substitution

X\tox+\tilde{x}

can be made, where

x

is the equilibrium part and

\tilde{x}

is the perturbed part.

A tilde is also used in particle physics to denote the hypothetical supersymmetric partner. For example, an electron is referred to by the letter e, and its superpartner the selectron is written .

In multibody mechanics, the tilde operator maps three-dimensional vectors

\boldsymbol{\omega}\inR3

to skew-symmetrical matrices

\tilde{\boldsymbol{\omega}}=\begin{bmatrix}0&-\omega3&\omega2\\omega3&0&-\omega1\ -\omega2&\omega1&0\end{bmatrix}

(see [38] or [39]).

Economics

For relations involving preference, economists sometimes use the tilde to represent indifference between two or more bundles of goods. For example, to say that a consumer is indifferent between bundles x and y, an economist would write x ~ y.

Electronics

It can approximate the sine wave symbol (∿, U+223F), which is used in electronics to indicate alternating current, in place of +, −, or ⎓ for direct current.

Linguistics

The tilde may indicate alternating allomorphs or morphological alternation, as in pronounced as ///ˈniː~ɛl+t/// for kneel~knelt (the plus sign '+' indicates a morpheme boundary).[40] [41]

The tilde may represent some sort of phonetic or phonemic variation between two sounds, which might be allophones or in free variation. For example, pronounced as /[χ ~ x]/ can represent "either pronounced as /[χ]/ or pronounced as /[x]/".

In formal semantics, it is also used as a notation for the squiggle operator which plays a key role in many theories of focus.[42]

Computing

Computer programmers use the tilde in various ways and sometimes call the symbol (as opposed to the diacritic) a squiggle, squiggly, swiggle, or twiddle. According to the Jargon File, other synonyms sometimes used in programming include not, approx, wiggle, enyay (after eñe) and (humorously) sqiggle .[43]

Directories and URLs

On Unix-like operating systems (including AIX, BSD, Linux and macOS), tilde normally indicates the current user's home directory. For example, if the current user's home directory is, then the command is equivalent to,, or . This convention derives from the Lear-Siegler ADM-3A terminal in common use during the 1970s, which happened to have the tilde symbol and the word "Home" (for moving the cursor to the upper left) on the same key. When prepended to a particular username, the tilde indicates that user's home directory (e.g., for the home directory of user, such as).[44]

Used in URLs on the World Wide Web, it often denotes a personal website on a Unix-based server. For example,

Notes and References

  1. Book: The Chambers Dictionary. Chambers. 2003. 0-550-10105-5. 9th. tilde.
  2. Martin, Charles Trice (1910). The record interpreter : a collection of abbreviations, Latin words and names used in English historical manuscripts and records (2nd ed.). London, preface, p.5 https://archive.org/details/recordinterprete00martuoft/page/n9/mode/2up
  3. Book: Coded Character Sets, History and Development . The Systems Programming Series . Mackenzie . Charles E. . 1980 . 1 . . 978-0-201-14460-4 . 77-90165 . 2019-08-25 . https://web.archive.org/web/20160526172151/https://textfiles.meulie.net/bitsaved/Books/Mackenzie_CodedCharSets.pdf . May 26, 2016 . live . mdy-all .
  4. Web site: Second ISO draft proposal 6 and 6 bit character codes for information processing interchange . ISO . December 1963 . See paragraph 2
  5. Web site: 26 argumentos para seguir defendiendo la Ñ. La Razón. 31 January 2016. 11 January 2011.
  6. Web site: Batalla de la Ñ: Una aventura quijotesca para defender el alma de la lengua . AFP . 18 November 2004 . Periódico ABC Paraguay . 31 January 2016.
  7. http://dle.rae.es/?id=ZkHNOE8 Diccionario de la lengua española
  8. Web site: Character design standards – Maths. Microsoft.
  9. Web site: Liam . Quinn . HTML 4.0 Entities for Symbols and Greek Letters . HTML help . 11 November 2011.
  10. Web site: Tilde . Wolfram/MathWorld . 3 November 2011 . 11 November 2011.
  11. Web site: Math Symbols... Those Most Valuable and Important: Approximately Equal Symbol . Solving Math problems . 20 September 2010 . 11 November 2011 . 9 November 2011 . https://web.archive.org/web/20111109213922/http://www.solving-math-problems.com/math-symbols-approximately-equal.html . dead .
  12. Web site: Bernstein . Joseph . The Hidden Language of The ~Tilde~ . . 5 January 2015 . en.
  13. Web site: The Internet Tilde Perfectly Conveys Something We Don't Have the Words to Explain . Jess Kimball Leslie . June 5, 2017 . The Cut .
  14. Web site: What Are Tildes (~) And How Do You Use Them? . April 12, 2022 . Thesaurus.com .
  15. Book: Ortografía de la lengua española . 2010 . Real Academia Española . Madrid . 978-84-670-3426-4 . 279 .
  16. Web site: Lema en la RAE . . 10 October 2015.
  17. [Eberhard Nestle|Nestle, Eberhard]
  18. Lithuanian Standards Board (LST), proposal for a zigzag diacritic
  19. Web site: R. M. de Azkue: "Euskara-Gaztelania-Frantsesa Hiztegia" / "Diccionario Vasco-Español-Francés" online -Tutorial de uso . Aurten Bai Fundazioa . 12 February 2024 . 6 . es . El autor usaba fuentes propias para representar fenómenos propios de algunos de los dialectos del euskera. Estos son los caracteres especiales utilizados en el diccionario: ã d̃ ẽ ĩ l̃ ñ õ s̃ t̃ ũ x̃..
  20. Web site: Tilde Definition . linfo.org . The Linux Information Project . 24 June 2005 . 27 January 2020.
  21. Web site: Using a tilde with currency. Stackexchange.
  22. .
  23. .
  24. Web site: Windows 932_81 . Microsoft . 2010-07-30.
  25. .
  26. 87 . Japanese Graphic Character Set for Information Interchange . yes . Japanese National Committee on ISO/TC97/SC2.
  27. 233 . Japanese Graphic Character Set for Information Interchange, Plane 1 (Update of ISO-IR 228). yes . Japanese Industrial Standards Committee . Japanese Industrial Standards Committee.
  28. .
  29. Web site: windows-949-2000 (lead byte A1). ICU Demonstration – Converter Explorer. International Components for Unicode.
  30. Web site: Lead Byte A1-A2 (Code page 949). MSDN. 6 February 2008 . Microsoft.
  31. Web site: ibm-1363_P110-1997 (lead byte A1). ICU Demonstration – Converter Explorer. International Components for Unicode.
  32. Web site: euc-kr (lead byte A1). ICU Demonstration – Converter Explorer. International Components for Unicode.
  33. Web site: Map (external version) from Mac OS Korean encoding to Unicode 3.2 and later.. Apple.
  34. Web site: All Elementary Mathematics – Mathematical symbols dictionary . Bymath . 2014-09-25 . 2 May 2015 . https://web.archive.org/web/20150502113549/http://www.bymath.com/symbols/symbols.html . dead .
  35. .
  36. Web site: Tilde . Wolfram Research . 4 June 2018.
  37. Book: Proceedings of the Analysis Conference, Singapore 1986 . Elsevier . 1988 . Stephen TL . Choy . Judith Packer . Jesudason . Peng Yee . Lee. 9780080872612 .
  38. Wallrapp . Standardization of flexible body modeling in multibody system codes, Part I: Definition of Standard Input Data . 1994 . 22 . 3 . 283–304 . 10.1080/08905459408905214 . Mechanics of Structures and Machines.
  39. Valembois . R. E. . Fisette . P. . Samin . J. C. . Comparison of Various Techniques for Modelling Flexible Beams in Multibody Dynamics . Nonlinear Dynamics . 1997 . 12 . 4 . 367–397 . 10.1023/A:1008204330035. 122487067 .
  40. Collinge (2002) An Encyclopedia of Language, §4.2.
  41. Book: Hayes, Bruce . Bruce Hayes (linguist) . Introductory Phonology . John Wiley & Sons . 2011 . 9781444360134 . 87–88 .
  42. Book: Buring, Daniel . 2016 . Intonation and Meaning . 10.1093/acprof:oso/9780199226269.003.0003 . Oxford University Press . 36–41 . 978-0-19-922627-6.
  43. Web site: 2012-01-05 . Jargon File 5.0.1 . https://web.archive.org/web/20130827121341/http://cosman246.com/jargon.html . 2013-08-27.
  44. .