Как пишется клавиша тильда

Содержание

  • Как выглядит знак тильда на клавиатуре и где расположен?
  • Тильда – знак в математике, что означает?
  • Что значит тильда в конце предложения или в переписке?

Приветствую на fast-wolker-ru! Сегодня речь пойдет о некоторых знаках, которые располагаются на компьютерной клавиатуре. Причем речь идет о знаках, которыми мы пользуемся не часто. Один из таких знаков – это знак тильды. При наборе текстов ( а часто и в компьютерных играх) рано или поздно столкнетесь с ним.

Выглядит он в виде такой вот закорючки. Что же это за знак и для чего он нужен?

Как выглядит знак тильда на клавиатуре и где расположен?

На клавиатуре найти его не так уж и сложно. Находится этот знак в левом верхнем углу прямо под кнопкой «ESC».

На большинстве клавиатур здесь располагается еще буква Ё. Вызвать знак тильды можно нажав комбинацию клавиш Shift+Alt. Этой комбинацией мы вызываем смену раскладки клавиатуры с русской на английскую.

Называется этот знак еще «волнистая линия» или «завитушка». Где используется знак «тильда»?  Применений ему не так уж и много, причем все они специфические.

Например, в испанском и португальском языках тильда представляет собой диакритический знак, который располагается над буквами “а” и “n” и помогает подчеркнуть письменность. Например, ã и õ обозначает носовое произношение гласных, а ñ — употребляется для обозначения мягкого звука, близкого к «нь»

Из других языков стоит отметить язык программирования «си», где знак тильды означает побитовое отрицание. В некоторых программах и таких играх, как Quake или Counter-Strike тильда предоставляет доступ к консоли, а также к эмулятору терминала GTK+.

В операционной системе Windows этот знак сокращает длинные имена файлов, например каталог «Program Files» изменяет на «Progra~1». Применяется он и в математике, указывая примерное (приблизительно)  количество.

Тильда – знак в математике, что означает?

Стоящая перед числом тильда означает «примерно», «приблизительно», «около». В теории множеств знак означает отношение эквивалентности, а в Евклидовой геометрии – это подобие.

Используется знак и как отношение эквивалентности между двумя объектами. А в таких значениях, как 1,902 ~ = 2, тильда обозначает как приблизительно равный.

В геометрии тильда означает подобие. Например, выражение

Обозначает, что треугольник АВС подобен треугольнику А1В1С1.

Что значит тильда в конце предложения или в переписке?

Если в конце слова поставить знак тильды, это значит, что вы удлиняете или само слово, или его слог. Так же используется и как удлинение гласной буквы.

Такие вставки используются чаще всего в телефонной переписке или в смс, или в чатах. Так же, ставя этот знак в конце предложения, хотят показать, что оно имеет какой-то тайный скрытый смысл.

Такие предложения не должны восприниматься буквально. Если же поставить такой знак после цифры, то он будет выражать уже математическое «приблизительно. Например, «Я думаю где-то 5~», означает, что около 5.

Однозначного применения тильды в конце предложения нет. Встречаются и другие варианты, но наибольшее применение имеют те, что были перечислены выше. Если у вас есть какие-то свои варианты, поделитесь ими в комментариях. Удачи!

~

Tilde

˜ ◌̃
Small tilde Combining tilde (diacritic)
See also
Double tilde ⟨≈⟩ or ⟨~~⟩

This article is about the punctuation and diacritical mark. For the Swedish singer, see Tilde (singer).

«~» redirects here. For the album, see ~ (album).

For signing your comments on Wikipedia, see WP:Signatures.

The tilde ()[1] ˜ or ~, is a grapheme with several uses. The name of the character came into English from Spanish, which in turn came from the Latin titulus, meaning «title» or «superscription».[2][a] Its primary use is as a diacritic (accent) in combination with a base letter; but for historical reasons, it is also used in standalone form within a variety of contexts.

History[edit]

Use by medieval scribes[edit]

The tilde was originally written over an omitted letter or several letters as a scribal abbreviation, or «mark of suspension» and «mark of contraction»,[3] shown as a straight line when used with capitals. Thus, the commonly used words Anno Domini were frequently abbreviated to Ao Dñi, with an elevated terminal with a suspension 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 suspension 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:

Mollande tempore regis Edwardi geldabat pro quattuor hidis et uno ferling. Terra est quadraginta carucae. In dominio sunt tres carucae et decem servi et triginta villani et viginti bordarii cum sedecim carucis. Ibi duodecim acrae prati et quindecim acrae silvae. Pastura tres leugae in longitudine et latitudine. Reddit quattuor et viginti libras ad pensam. Huic manerio est adjuncta Blachepole. Elwardus tenebat tempore regis Edwardi pro manerio et geldabat pro dimidia hida. Terra est duae carucae. Ibi sunt quinque villani cum uno servo. Valet viginti solidos ad pensam et arsuram. Eidem manerio est injuste adjuncta Nimete et valet quindecim solidos. Ipsi manerio pertinet tercius denarius de Hundredis Nortmoltone et Badentone et Brantone et tercium animal pasturae morarum.

Role of mechanical typewriters[edit]

An Olivetti Lettera 32 typewriter (Portuguese Model) with tilde (and circumflex) dead-key beside Ç

Spanish typewriter (QWERTY keyboard) with dead keys for acute, circumflex, diaeresis and grave accents. Ñ/ñ is present as a precomposed character only.

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[edit]

Serif: —~—
Sans-serif: —~—
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.[4]: 246  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.

It appears to have been at their May 13–15, 1963 meeting that the CCITT decided that the proposed ISO 7-bit code standard would be suitable for their needs if a lower case alphabet and five diacritical marks […] were added to it.[5] At the October 29–31 meeting, then, the ISO subcommittee altered the ISO draft to meet the CCITT requirements, replacing the up-arrow and left-arrow with diacriticals, adding diacritical meanings to the apostrophe and quotation mark, and making the number sign a dual[b] for the tilde.[6]

— Yucca’s free information site (which cites the original sources).[7]

Thus ISO 646 was born (and the ASCII standard updated to X3.64-1967), providing the tilde and other symbols as optional characters.[4]: 247 [c]

ISO 646 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.[8] However even at that time, mechanisms that could do this or any other overprinting were not widely available, did not work for capital letters, and were impossible on video displays, with the result that this concept failed to gain significant acceptance. Consequently, many of these free-standing diacritics (and the underscore) were quickly reused by software as additional syntax, basically becoming new types of syntactic symbols that a programming language could use. As this usage became predominant, type design gradually evolved so these diacritic characters became larger and more vertically centered, making them useless as overprinted diacritics but much easier to read as free-standing characters that had come to be used for entirely different and novel purposes. Most modern fonts align the plain ASCII «spacing» (free-standing) tilde at the same level as dashes, or only slightly higher.

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.[9]

Connection to Spanish[edit]

Main article: Ñ

Logo of the Instituto Cervantes

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. In addition, most native speakers, although not all, use the word español to refer to their language. 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.[10][11] 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. And similarly to the National Basketball Association (NBA), the Spain men’s national basketball team is nicknamed «ÑBA».

In Spanish itself the word tilde is used more generally for diacritics, including the stress-marking acute accent.[12] The diacritic ~ is more commonly called virgulilla or 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 i character that is familiar to readers of English).

Usage[edit]

Letters with tilde[edit]

This is a table of precomposed letters with tilde:

  • v
  • t
  • e
  •  Tilde ◌̃    Latin: Ã ã
  • Ẵ ẵ
  • Ẫ ẫ
  • Ằ ằ
  • Ẽ ẽ
  • Ễ ễ
  • Ḛ ḛ
  • Ĩ ĩ
  • Ḭ ḭ
  • ɫ
  • Ñ ñ
  • Õ õ
  • Ỗ ỗ
  • Ỡ ỡ
  • Ṑ ṑ
  • Ṍ ṍ
  • Ṏ ṏ
  • Ȭ ȭ
  • Ũ ũ
  • Ữ ữ
  • Ṹ ṹ
  • Ṵ ṵ
  • Ṽ ṽ
  • Ỹ ỹ

A tilde diacritic can be added to almost any character by using a combining tilde.

Common use in English[edit]

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,[13] it means «approximately», «about», or «around», such as «~30 minutes before», meaning «approximately 30 minutes before».[14][15] It may also mean «similar to»,[16] including «of the same order of magnitude as»,[13] such as «x ~ y» meaning that x and y are of the same order of magnitude. Another approximation symbol is the double tilde , meaning «approximately/almost equal to».[14][16][17] 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.[18] 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».[18][d]

The symbol is used in social media to indicate sarcasm.[19]

Diacritical use[edit]

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

Pitch[edit]

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[edit]

Carta marina showing Finnish economy, with the captions Hic fabricantur naves and Hic fabricantur bombarde abbreviated

Later, it was used to make abbreviations in medieval Latin documents. When an ⟨n⟩ or ⟨m⟩ followed a vowel, it was often omitted, and a tilde (physically, a small ⟨N⟩) 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 ⟨e⟩.) The practice of using the tilde over a vowel to indicate omission of an ⟨n⟩ or ⟨m⟩ 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 ⟨q⟩, making , to signify the word que («that»).

Nasalization[edit]

It is also as a small ⟨n⟩ that the tilde originated when written above other letters, marking a Latin ⟨n⟩ which had been elided in old Galician-Portuguese. In modern Portuguese it indicates nasalization of the base vowel: mão «hand», from Lat. manu-; razões «reasons», from Lat. 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, [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 ⟨n⟩ serves only to give the vowel a nasalised pronunciation, without being itself pronounced, as it normally is. For example, ⟨an⟩ gives the pronunciation [ãn] whereas ⟨añ⟩ gives [ã].

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

Palatal n[edit]

Main article: Ñ

The tilded ⟨n⟩ (⟨ñ⟩, ⟨Ñ⟩) developed from the digraph ⟨nn⟩ in Spanish. In this language, ⟨ñ⟩ is considered a separate letter called eñe (IPA: [ˈeɲe]), rather than a letter-diacritic combination; it is placed in Spanish dictionaries between the letters ⟨n⟩ and ⟨o⟩. In Spanish, the word tilde actually refers to diacritics in general, e.g. the acute accent in José,[20] while the diacritic in ⟨ñ⟩ is called «virgulilla» (IPA: [birɣuˈliʝa]).[21] Current languages in which the tilded ⟨n⟩ (⟨ñ⟩) is used for the palatal nasal consonant /ɲ/ include

  • Asturian
  • Aymara
  • Basque
  • Chamorro
  • Filipino
  • Galician
  • Guaraní
  • Iñupiaq
  • Mapudungun
  • Papiamento
  • Quechua
  • Spanish
  • Tetum
  • Wolof

Tone[edit]

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[edit]

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 above a letter indicates nasalization, e.g. [ã], [ṽ].
  • A tilde superimposed onto the middle of a letter indicates velarization or pharyngealization, e.g. [ɫ], [z̴]. If no precomposed Unicode character exists, the Unicode character U+0334 ◌̴ COMBINING TILDE OVERLAY can be used to generate one.
  • A tilde below a letter indicates laryngealisation, e.g. [d̰]. If no precomposed Unicode character exists, the Unicode character U+0330 ◌̰ COMBINING TILDE BELOW can be used to generate one.

Letter extension[edit]

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

Other uses[edit]

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

  • Arabic script: A symbol resembling the tilde (U+0653 ـٓ ARABIC MADDAH ABOVE) is used over the letter ⟨ا⟩ (/a/) to become ⟨آ⟩, denoting a long /aː/ sound.
  • Guaraní: The tilded ⟨G̃⟩ (note that ⟨G/g⟩ with tilde is not available as a precomposed glyph in Unicode) stands for the velar nasal consonant. Also, the tilded ⟨y⟩ (⟨Ỹ⟩) stands for the nasalized upper central rounded vowel [ɨ̃]. Munduruku, Parintintín, and two older spellings of Filipino words also use ⟨g̃⟩.
  • Syriac script: A tilde (~) under the letter Kaph represents a [t͡ʃ] sound, transliterated as ch or č.[22]
  • Estonian and Võro use the tilde above the letter o (õ) to indicate the vowel [ɤ], a rare sound among languages.
  • Unicode has a combining vertical tilde character: U+033E ◌̾ COMBINING VERTICAL TILDE. It is used to indicate middle tone in linguistic transcription of certain dialects of the Lithuanian language.[23]

Punctuation[edit]

The tilde is used in various ways in punctuation, such as:

Range[edit]

In some languages (though not generally in English),[citation needed] a tilde-like wavy dash may be used as punctuation (instead of an unspaced hyphen, en dash or em dash) between two numbers, to indicate a range rather than 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 often done for clarity in some other languages as well. Chinese uses the wavy 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).

Approximation[edit]

Before a number the tilde can mean ‘approximately’; ‘~42’ means ‘approximately 42’.[24] 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’.[25]

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

Japanese[edit]

The wave dash (波ダッシュ, nami dasshu) 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 chōon, katakana character, in Japanese, extending the final syllable.

Unicode and Shift JIS encoding of wave dash[edit]

Correct JIS wave dash

Correct JIS wave dash, current in Unicode

Previous Unicode wave dash (incorrect)

Previous Unicode wave dash (incorrect)

In practice the full-width tilde (全角チルダ, zenkaku chiruda) (Unicode U+FF5E FULLWIDTH TILDE), is often used instead of the wave dash (波ダッシュ, nami dasshu) (Unicode U+301C WAVE DASH), because the Shift JIS code for the wave dash, 0x8160, which should be mapped to U+301C,[26][27] is instead mapped to U+FF5E[28] 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:[29] the wave dash reference glyph in JIS / Shift JIS[30][31] matches the Unicode reference glyph for U+FF5E FULLWIDTH TILDE,[32] while the original reference glyph for U+301C[29] was reflected, incorrectly,[33] 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 U+223C TILDE OPERATOR,[34][35] while IBM and Apple map it to U+301C.[36][37][38] Microsoft also uses U+FF5E to map the KS X 1001 raised tilde (0xA2A6),[35] while Apple uses U+02DC ˜ SMALL TILDE.[38]

The current Unicode reference glyph for U+301C has been corrected[33] to match the JIS standard[39] 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.[40]

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

Mathematics[edit]

As a unary operator[edit]

A tilde in front of a single quantity can mean «approximately», «about»[14] 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[edit]

In mathematics, the tilde operator (Unicode U+223C), sometimes called «twiddle», is often used to denote an equivalence relation between two objects. Thus «x ~ y» means «x is equivalent to y«. It is a weaker statement than stating that x equals y. The expression «x ~ y» is sometimes read aloud as «x twiddles y«, perhaps as an analogue to the verbal expression of «x = y«.[43]

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, f (x) ~ g(x) means that {displaystyle lim _{xto infty }{frac {f(x)}{g(x)}}=1}.[13]

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. h ~ 10−34 J s) to state that the two are of the same order of magnitude.[13]

In statistics and probability theory, the tilde means «is distributed as»;[13] 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. ABC ~ ∆DEF, meaning triangle ABC is similar to DEF). 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 xsim y.

As a diacritic[edit]

The symbol «{tilde {f}}» is pronounced as «eff tilde» or, informally, as «eff twiddle».[44][45] 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. (x_{1},x_{2},x_{3},ldots ,x_{n})={underset {^{sim }}{mathbf {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 {mathbf {y} }} would indicate the median of the variable mathbf {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[edit]

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 Xto x+{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 {displaystyle {boldsymbol {omega }}in mathbb {R} ^{3}} to skew-symmetrical matrices {displaystyle {tilde {boldsymbol {omega }}}={begin{bmatrix}0&-omega _{3}&omega _{2}\omega _{3}&0&-omega _{1}\-omega _{2}&omega _{1}&0end{bmatrix}}} (see [46] or [47]).

Economics[edit]

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[edit]

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[edit]

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

The tilde may represent some sort of phonetic or phonemic variation between two sounds, which might be allophones or in free variation. For example, [χ ~ x] can represent «either [χ] or [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.[50]

Computing[edit]

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 .

Directories and URLs[edit]

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 /home/user, then the command cd ~ is equivalent to cd /home/user, cd $HOME, or cd. 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.[citation needed] When prepended to a particular username, the tilde indicates that user’s home directory (e.g., ~janedoe for the home directory of user janedoe, such as /home/janedoe).[51]

Used in URLs on the World Wide Web, it often denotes a personal website on a Unix-based server. For example, http://www.example.com/~johndoe/ might be the personal website of John Doe. This mimics the Unix shell usage of the tilde. However, when accessed from the web, file access is usually directed to a subdirectory in the user’s home directory, such as /home/username/public_html or /home/username/www.[52]

In URLs, the characters %7E (or %7e) may substitute for a tilde if an input device lacks a tilde key.[53] Thus, http://www.example.com/~johndoe/ and http://www.example.com/%7Ejohndoe/ will behave in the same manner.

Computer languages[edit]

The tilde is used in the AWK programming language as part of the pattern match operators for regular expressions:

  • variable ~ /regex/ returns true if the variable is matched.
  • variable !~ /regex/ returns false if the variable is matched.

A variant of this, with the plain tilde replaced with =~, was adopted in Perl, and this semi-standardization has led to the use of these operators in other programming languages, such as Ruby or the SQL variant of the database PostgreSQL.

In APL and MATLAB, tilde represents the monadic logical function NOT, and in APL it additionally represents the dyadic multiset function without (set difference).

In C the tilde character is used as bitwise NOT unary operator, following the notation in logic (an ! causes a logical NOT, instead). This is also used by most languages based on or influenced by C, such as C++, D and C#. The MySQL database also use tilde as bitwise invert[54] as does Microsoft’s SQL Server Transact-SQL (T-SQL) language. JavaScript also uses tilde as bitwise NOT, and because JavaScript internally uses floats and the bitwise complement only works on integers, numbers are stripped of their decimal part before applying the operation. This has also given rise to using two tildes ~~x as a short syntax for a cast to integer (numbers are stripped of their decimal part and changed into their complement, and then back).

In C++ and C#, the tilde is also used as the first character in a class’s method name (where the rest of the name must be the same name as the class) to indicate a destructor – a special method which is called at the end of the object’s life.

In ASP.NET application tilde (‘~’) is used as a shortcut to the root of the application’s virtual directory.

In the CSS stylesheet language, the tilde is used for the indirect adjacent combinator as part of a selector.

In the D programming language, the tilde is used as an array concatenation operator, as well as to indicate an object destructor and bitwise not operator. Tilde operator can be overloaded for user types, and binary tilde operator is mostly used to merging two objects, or adding some objects to set of objects. It was introduced because plus operator can have different meaning in many situations. For example, what to do with «120» + «14» ? Is this a string «134» (addition of two numbers), or «12014» (concatenation of strings) or something else? D disallows + operator for arrays (and strings), and provides separate operator for concatenation (similarly PHP programming language solved this problem by using dot operator for concatenation, and + for number addition, which will also work on strings containing numbers).

In Eiffel, the tilde is used for object comparison. If a and b denote objects, the boolean expression a ~ b has value true if and only if these objects are equal, as defined by the applicable version of the library routine is_equal, which by default denotes field-by-field object equality but can be redefined in any class to support a specific notion of equality. If a and b are references, the object equality expression a ~ b is to be contrasted with a = b which denotes reference equality. Unlike the call a.is_equal (b), the expression a ~ b is type-safe even in the presence of covariance.

In the Apache Groovy programming language the tilde character is used as an operator mapped to the bitwiseNegate() method.[55] Given a String the method will produce a java.util.regex.Pattern. Given an integer it will negate the integer bitwise like in C. =~ and ==~ can in Groovy be used to match a regular expression.[56][57]

In Haskell, the tilde is used in type constraints to indicate type equality.[58] Also, in pattern-matching, the tilde is used to indicate a lazy pattern match.[59]

In the Inform programming language, the tilde is used to indicate a quotation mark inside a quoted string.

In «text mode» of the LaTeX typesetting language a tilde diacritic can be obtained using, e.g., ~{n}, yielding «ñ». A stand-alone tilde can be obtained by using textasciitilde or string~.
In «math mode» a tilde diacritic can be written as, e.g., tilde{x}. For a wider tilde widetilde can be used. The sim command produce a tilde-like binary relation symbol that is often used in mathematical expressions, and the double-tilde ≈ is obtained with approx. The url package also supports entering tildes directly, e.g., url{http://server/~name}.
In both text and math mode, a tilde on its own (~) renders a white space with no line breaking.

In MediaWiki syntax, four tildes are used as a shortcut for a user’s signature.

In Common Lisp, the tilde is used as the prefix for format specifiers in format strings.[60]

In Max/MSP, a tilde is used to denote objects that process at the computer’s sampling rate, i.e. mainly those that deal with sound.

In Standard ML, the tilde is used as the prefix for negative numbers and as the unary negation operator.

In OCaml, the tilde is used to specify the label for a labeled parameter.

In R, the tilde operator is used to separate the left- and right-hand sides in a model formula.[61]

In Object REXX, the twiddle is used as a «message send» symbol. For example, Employee.name~lower() would cause the lower() method to act on the object Employee‘s name attribute, returning the result of the operation. ~~ returns the object that received the method rather than the result produced. Thus it can be used when the result need not be returned or when cascading methods are to be used. team~~insert("Jane")~~insert("Joe")~~insert("Steve") would send multiple concurrent insert messages, thus invoking the insert method three consecutive times on the team object.

In Raku, ~~ is used instead of =~ for a regular expression. Because the dot operator is used for member access instead of ->, concatenation is done with a single tilde.

my $concatResult = "Hello " ~ "world!";
$concatResult ~~ /<|w><[A..Z]><[a..z]>*<|w>/;

print "$/n"; # outputs "Hello"
# the $/ variable holds the last regex match result

Keyboards[edit]

The presence (or absence) of a tilde engraved on the keyboard depends on the territory where it was sold. In either case, computer’s system settings determine the keyboard mapping and the default setting will match the engravings on the keys. Even so, it certainly possible to configure a keyboard for a different locale than that supplied by the retailer. On American and British keyboards, the tilde is a standard keytop and pressing it produces a free-standing «ASCII Tilde». To generate a letter with a tilde diacritic requires the US international or UK extended keyboard setting.

  • With US-international, the `/~ key is a dead key: pressing the ~ key then a letter produces the tilde-accented form of that letter. (For example, ~ a produces ã.) With this setting active, an ASCII tilde can be inserted with the dead key followed by the space bar, or alternatively by striking the dead key twice in a row.
  • With UK-extended, the key works normally but becomes a ‘dead key’ when combined with AltGr. Thus AltGr+# then a letter produces the accented form of that letter.
  • With a Mac either of the Alt/Option keys function similarly.
  • With Linux, the compose key facility is used.

Instructions for other national languages and keyboards are beyond the scope of this article.

In the US and European Windows systems, the Alt code for a single tilde is 126.

Backup filenames[edit]

The dominant Unix convention for naming backup copies of files is appending a tilde to the original file name.
It originated with the Emacs text editor[62] and was adopted by many other editors and some command-line tools.

Emacs also introduced an elaborate numbered backup scheme, with files named filename.~1~, filename.~2~ and so on. It didn’t catch on, as the rise of version control software eliminates the need for this usage.

Microsoft filenames[edit]

The tilde was part of Microsoft’s filename mangling scheme when it extended the FAT file system standard to support long filenames for Microsoft Windows. Programs written prior to this development could only access filenames in the so-called 8.3 format—the filenames consisted of a maximum of eight characters from a restricted character set (e.g. no spaces), followed by a period, followed by three more characters. In order to permit these legacy programs to access files in the FAT file system, each file had to be given two names—one long, more descriptive one, and one that conformed to the 8.3 format. This was accomplished with a name-mangling scheme in which the first six characters of the filename are followed by a tilde and a digit. For example, «Program Files» might become «PROGRA~1«.

The tilde symbol is also often used to prefix hidden temporary files that are created when a document is opened in Windows. For example, when a document «Document1.doc» is opened in Word, a file called «~$cument1.doc» is created in the same directory. This file contains information about which user has the file open, to prevent multiple users from attempting to change a document at the same time.

Juggling notation[edit]

In the juggling notation system Beatmap, tilde can be added to either «hand» in a pair of fields to say «cross the arms with this hand on top». Mills Mess is thus represented as (~2x,1)(1,2x)(2x,~1)*.[63]

Unicode[edit]

Variants and similars[edit]

Unicode has code-points for many forms of non-combined tilde, for symbols incorporating tildes, and for characters visually similar to a tilde.

Character Code point Name Comments
~ U+007E TILDE The keyboard tilde. Center-height alignment.
˜ U+02DC SMALL TILDE A spacing version of the combining tilde diacritic.
˷ U+02F7 MODIFIER LETTER LOW TILDE A spacing version of the combining tilde diacritic.
◌̃ U+0303 COMBINING TILDE Used in IPA to indicate a nasal vowel.
◌̰ U+0330 COMBINING TILDE BELOW Used in IPA to indicate creaky voice.
◌̴ U+0334 COMBINING TILDE OVERLAY Overstrikes the preceding letter. Used in IPA to indicate velarization or pharyngealization.
◌̾ U+033E COMBINING VERTICAL TILDE
◌͂ U+0342 COMBINING GREEK PERISPOMENI Used as an Ancient Greek accent under the name «circumflex»; it can also be written as an inverted breve.
◌͊ U+034A COMBINING NOT TILDE ABOVE Used in extIPA to indicate a denasalization.
◌͋ U+034B COMBINING HOMOTHETIC ABOVE Used in extIPA to indicate a nareal fricative.
◌͠◌ U+0360 COMBINING DOUBLE TILDE A diacritic that applies to a pair of letters.
◌֘ U+0598 HEBREW ACCENT ZARQA Hebrew cantillation mark.
◌֮ U+05AE HEBREW ACCENT ZINOR Hebrew cantillation mark.
◌᷉ U+1DC9 COMBINING ACUTE-GRAVE-ACUTE Used in IPA as a tone mark.
U+2053 SWUNG DASH A punctuation mark.
U+223C TILDE OPERATOR Used in mathematics. In-line. Ends not curved as much.
U+223D REVERSED TILDE In some fonts it is the tilde’s simple mirror image; others extend the tips to resemble a ᔕ, or an open ∞.
U+223F SINE WAVE Used in electronics to indicate alternating current, in place of +, −, or ⎓ for direct current.
U+2241 NOT TILDE
U+2242 MINUS TILDE
U+2243 ASYMPTOTICALLY EQUAL TO
U+2244 NOT ASYMPTOTICALLY EQUAL TO
U+2245 APPROXIMATELY EQUAL TO
U+2246 APPROXIMATELY BUT NOT ACTUALLY EQUAL TO
U+2247 NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO
U+2248 ALMOST EQUAL TO
U+2249 NOT ALMOST EQUAL TO
U+224A ALMOST EQUAL OR EQUAL TO
U+224B TRIPLE TILDE
U+224C ALL EQUAL TO
U+22CD REVERSED TILDE EQUALS
U+2368 APL FUNCTIONAL SYMBOL TILDE DIAERESIS
U+236B APL FUNCTIONAL SYMBOL DEL TILDE
U+236D APL FUNCTIONAL SYMBOL STILE TILDE
U+2371 APL FUNCTIONAL SYMBOL DOWN CARET TILDE
U+2372 APL FUNCTIONAL SYMBOL UP CARET TILDE
U+2972 TILDE OPERATOR ABOVE RIGHTWARDS ARROW
U+2973 LEFTWARDS ARROW ABOVE TILDE OPERATOR
U+2974 RIGHTWARDS ARROW ABOVE TILDE OPERATOR
U+29E4 EQUALS SIGN AND SLANTED PARALLEL WITH TILDE ABOVE
U+2A24 PLUS SIGN WITH TILDE ABOVE
U+2A26 PLUS SIGN WITH TILDE BELOW
U+2A6A TILDE OPERATOR WITH DOT ABOVE
U+2A6B TILDE OPERATOR WITH RISING DOTS
U+2A73 EQUALS SIGN ABOVE TILDE OPERATOR
U+2AC7 SUBSET OF ABOVE TILDE OPERATOR
U+2AC8 SUPERSET OF ABOVE TILDE OPERATOR
U+2AF3 PARALLEL WITH TILDE OPERATOR
U+2B41 REVERSE TILDE OPERATOR ABOVE LEFTWARDS ARROW
U+2B47 REVERSE TILDE OPERATOR ABOVE RIGHTWARDS ARROW
U+2B49 TILDE OPERATOR ABOVE LEFTWARDS ARROW
U+2B4B LEFTWARDS ARROW ABOVE REVERSE TILDE OPERATOR
U+2B4C RIGHTWARDS ARROW ABOVE REVERSE TILDE OPERATOR
U+2E1B TILDE WITH RING ABOVE
U+2E1E TILDE WITH DOT ABOVE
U+2E1F TILDE WITH DOT BELOW
U+2E2F VERTICAL TILDE
U+301C WAVE DASH Used in Japanese punctuation.
U+3030 WAVY DASH
◌︢ U+FE22 COMBINING DOUBLE TILDE LEFT HALF
◌︣ U+FE23 COMBINING DOUBLE TILDE RIGHT HALF
◌︩ U+FE29 COMBINING TILDE LEFT HALF BELOW
◌︪ U+FE2A COMBINING TILDE RIGHT HALF BELOW
U+FE4B WAVY OVERLINE
U+FE4F WAVY LOW LINE
U+FF5E FULLWIDTH TILDE Em wide. In-line. Ends not curved much.
  ~   U+E007E TAG TILDE Formatting tag control character.

Precomposed characters[edit]

A number of characters in Unicode, have tilde precomposed.

Unicode precomposaed characters with tilde diacritic
Letter Code point Name
U+1EB4 LATIN CAPITAL LETTER A WITH BREVE AND TILDE
U+1EB5 LATIN SMALL LETTER A WITH BREVE AND TILDE
U+1EAA LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE
U+1EAB LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE
à U+00C3 LATIN CAPITAL LETTER A WITH TILDE
ã U+00E3 LATIN SMALL LETTER A WITH TILDE
U+1D6C LATIN SMALL LETTER B WITH MIDDLE TILDE
U+1D6D LATIN SMALL LETTER D WITH MIDDLE TILDE
U+1EC4 LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE
U+1EC5 LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE
U+1E1A LATIN CAPITAL LETTER E WITH TILDE BELOW
U+1E1B LATIN SMALL LETTER E WITH TILDE BELOW
U+1EBC LATIN CAPITAL LETTER E WITH TILDE
U+1EBD LATIN SMALL LETTER E WITH TILDE
U+1D6E LATIN SMALL LETTER F WITH MIDDLE TILDE
U+1E2C LATIN CAPITAL LETTER I WITH TILDE BELOW
U+1E2D LATIN SMALL LETTER I WITH TILDE BELOW
Ĩ U+0128 LATIN CAPITAL LETTER I WITH TILDE
ĩ U+0129 LATIN SMALL LETTER I WITH TILDE
U+2C62 LATIN CAPITAL LETTER L WITH MIDDLE TILDE
ɫ U+026B LATIN SMALL LETTER L WITH MIDDLE TILDE
U+AB5E MODIFIER LETTER SMALL L WITH MIDDLE TILDE
U+AB38 LATIN SMALL LETTER L WITH DOUBLE MIDDLE TILDE
U+1DEC COMBINING LATIN SMALL LETTER L WITH DOUBLE MIDDLE TILDE
U+1D6F LATIN SMALL LETTER M WITH MIDDLE TILDE
U+1D70 LATIN SMALL LETTER N WITH MIDDLE TILDE
Ñ U+00D1 LATIN CAPITAL LETTER N WITH TILDE
ñ U+00F1 LATIN SMALL LETTER N WITH TILDE
U+1ED6 LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE
U+1ED7 LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE
U+1EE0 LATIN CAPITAL LETTER O WITH HORN AND TILDE
U+1EE1 LATIN SMALL LETTER O WITH HORN AND TILDE
U+1E4C LATIN CAPITAL LETTER O WITH TILDE AND ACUTE
U+1E4D LATIN SMALL LETTER O WITH TILDE AND ACUTE
U+1E4E LATIN CAPITAL LETTER O WITH TILDE AND DIAERESIS
U+1E4F LATIN SMALL LETTER O WITH TILDE AND DIAERESIS
Ȭ U+022C LATIN CAPITAL LETTER O WITH TILDE AND MACRON
ȭ U+022D LATIN SMALL LETTER O WITH TILDE AND MACRON
Õ U+00D5 LATIN CAPITAL LETTER O WITH TILDE
õ U+00F5 LATIN SMALL LETTER O WITH TILDE
U+1D71 LATIN SMALL LETTER P WITH MIDDLE TILDE
U+1D73 LATIN SMALL LETTER R WITH FISHHOOK AND MIDDLE TILDE
U+1D72 LATIN SMALL LETTER R WITH MIDDLE TILDE
U+AB68 LATIN SMALL LETTER TURNED R WITH MIDDLE TILDE
U+1D74 LATIN SMALL LETTER S WITH MIDDLE TILDE
U+1D75 LATIN SMALL LETTER T WITH MIDDLE TILDE
U+1EEE LATIN CAPITAL LETTER U WITH HORN AND TILDE
U+1EEF LATIN SMALL LETTER U WITH HORN AND TILDE
U+1E78 LATIN CAPITAL LETTER U WITH TILDE AND ACUTE
U+1E79 LATIN SMALL LETTER U WITH TILDE AND ACUTE
U+1E74 LATIN CAPITAL LETTER U WITH TILDE BELOW
U+1E75 LATIN SMALL LETTER U WITH TILDE BELOW
Ũ U+0168 LATIN CAPITAL LETTER U WITH TILDE
ũ U+0169 LATIN SMALL LETTER U WITH TILDE
U+1E7C LATIN CAPITAL LETTER V WITH TILDE
U+1E7D LATIN SMALL LETTER V WITH TILDE
U+1EF8 LATIN CAPITAL LETTER Y WITH TILDE
U+1EF9 LATIN SMALL LETTER Y WITH TILDE
U+1D76 LATIN SMALL LETTER Z WITH MIDDLE TILDE

See also[edit]

  • Circumflex
    • Caret (computing)
  • Tittle
  • Double tilde (disambiguation)

Notes[edit]

  1. ^ Several more or less common informal names are used for the tilde that usually describe the shape, including squiggly, squiggle(s), and flourish.
  2. ^ alternative association for the same code point
  3. ^ ISO 646 (and ASCII, which it includes) is a standard for 7-bit encoding, providing just 96 printable characters (and 32 control characters). This was insufficient to meet the needs of Western European languages and so the standard specifies certain code points that are available for national variation. With the arrival of 8-bit «extended ASCII», this issue was largely mitigated, though not fully resolved until Unicode was established.
  4. ^ See also Air quotes.

References[edit]

  1. ^ «tilde». The Chambers Dictionary (9th ed.). Chambers. 2003. ISBN 0-550-10105-5.
  2. ^ «tilde». The American Heritage Dictionary of the English Language (5th ed.). HarperCollins.
  3. ^ 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 [1]
  4. ^ a b Mackenzie, Charles E. (1980). Coded Character Sets, History and Development (PDF). The Systems Programming Series (1 ed.). Addison-Wesley Publishing Company, Inc. ISBN 978-0-201-14460-4. LCCN 77-90165. Archived (PDF) from the original on May 26, 2016. Retrieved August 25, 2019.
  5. ^ «Meeting of CCITT Working Party on the New Telegraph Alphabet». CCITT. 15 May 1963. See Paragraph 3.
  6. ^ L. L. Griffin, Chairman, X3.2 (29 November 1963). «Memorandum to Members, Alternates, and Consultants of A.S.A. X3.2 and task groups». US Department of the Navy. p. 8.
  7. ^ «Character histories: notes on some ASCII code positions».
  8. ^ «Second ISO draft proposal | 6 and 6 bit character codes for information processing interchange». ISO. December 1963. See paragraph 2
  9. ^ «Swung dash», WordNet (search) (3.0 ed.)
  10. ^ «26 argumentos para seguir defendiendo la Ñ». La Razón. 11 January 2011. Retrieved 31 January 2016.
  11. ^ AFP (18 November 2004). «Batalla de la Ñ: Una aventura quijotesca para defender el alma de la lengua». Periódico ABC Paraguay. Retrieved 31 January 2016.
  12. ^ Diccionario de la lengua española, Real Academia Española
  13. ^ a b c d e «Tilde». Wolfram/MathWorld. 3 November 2011. Retrieved 11 November 2011.
  14. ^ a b c «All Elementary Mathematics – Mathematical symbols dictionary». Bymath. Archived from the original on 2 May 2015. Retrieved 25 September 2014.
  15. ^ «Character design standards — Maths». Microsoft.
  16. ^ a b Quinn, Liam. «HTML 4.0 Entities for Symbols and Greek Letters». HTML help. Retrieved 11 November 2011.
  17. ^ «Math Symbols… Those Most Valuable and Important: Approximately Equal Symbol». Solving Math problems. 20 September 2010. Retrieved 11 November 2011.
  18. ^ a b Bernstein, Joseph. «The Hidden Language of The ~Tilde~». BuzzFeed News.
  19. ^ Jess Kimball Leslie (5 June 2017). «The Internet Tilde Perfectly Conveys Something We Don’t Have the Words to Explain». The Cut.
  20. ^ Ortografía de la lengua española. Madrid: Real Academia Española. 2010. p. 279. ISBN 978-84-670-3426-4.
  21. ^ «Lema en la RAE». Real Academia Española. Retrieved 10 October 2015.
  22. ^ Nestle, Eberhard (1888). Syrische Grammatik mit Litteratur, Chrestomathie und Glossar. Berlin: H. Reuther’s Verlagsbuchhandlung. [translated to English as Syriac grammar with bibliography, chrestomathy and glossary, by R. S. Kennedy. London: Williams & Norgate 1889. p. 5].
  23. ^ Lithuanian Standards Board (LST), proposal for a zigzag diacritic
  24. ^
    «Tilde Definition». linfo.org. The Linux Information Project. 24 June 2005. Retrieved 27 January 2020.
  25. ^ «Using a tilde with currency».
  26. ^ «Appendix 1: Shift_JIS-2004 vs Unicode mapping table», JIS X 0213:2004, X 0213.
  27. ^ Shift-JIS to Unicode, Unicode.
  28. ^ «Windows 932_81». Microsoft. Retrieved 30 July 2010.
  29. ^ a b CJK Symbols and Punctuation (Unicode 6.2) (PDF) (chart), Unicode, archived from the original (PDF) on 27 August 2013.
  30. ^ Japanese National Committee on ISO/TC97/SC2. ISO-IR-87: Japanese Graphic Character Set for Information Interchange (PDF). ITSCJ/IPSJ. Archived from the original (PDF) on 10 March 2022.
  31. ^ Japanese Industrial Standards Committee. ISO-IR-233: Japanese Graphic Character Set for Information Interchange, Plane 1 (Update of ISO-IR 228) (PDF). ITSCJ/IPSJ. Archived from the original (PDF) on 10 March 2022.
  32. ^ Halfwidth and Fullwidth Forms (PDF) (chart), Unicode.
  33. ^ a b Errata Fixed in Unicode 8.0.0, Unicode
  34. ^ «windows-949-2000 (lead byte A1)». ICU Demonstration — Converter Explorer. International Components for Unicode.
  35. ^ a b «Lead Byte A1-A2 (Code page 949)». MSDN. Microsoft.
  36. ^ «ibm-1363_P110-1997 (lead byte A1)». ICU Demonstration — Converter Explorer. International Components for Unicode.
  37. ^ «euc-kr (lead byte A1)». ICU Demonstration — Converter Explorer. International Components for Unicode.
  38. ^ a b «Map (external version) from Mac OS Korean encoding to Unicode 3.2 and later». Apple.
  39. ^ CJK Symbols and Punctuation (PDF) (chart), Unicode
  40. ^ Komatsu, Hiroyuki, L2/14-198: Proposal for the modification of the sample character layout of WAVE_DASH (U+301C) (PDF)
  41. ^ Shift_JIS-2004 (JIS X 0213:2004 Appendix 1) vs Unicode mapping table, x0213.org
  42. ^ «Shift_JIS visualization», Encoding Standard, WHATWG
  43. ^ Derbyshire, J (2004), Prime Obsession: Bernhard Riemann and the Greatest Unsolved Problem in Mathematics, New York: Penguin.
  44. ^ «Tilde». Wolfram Research. Retrieved 4 June 2018.
  45. ^ Choy, Stephen TL; Jesudason, Judith Packer; Lee, Peng Yee (1988). Proceedings of the Analysis Conference, Singapore 1986. Elsevier. ISBN 9780080872612.
  46. ^ Wallrapp (1994). «Standardization of flexible body modeling in multibody system codes, Part I: Definition of Standard Input Data». 22 (3): 283–304. doi:10.1080/08905459408905214.
  47. ^ Valembois, R. E.; Fisette, P.; Samin, J. C. (1997). «Comparison of Various Techniques for Modelling Flexible Beams in Multibody Dynamics». Nonlinear Dynamics (12): 367–397. doi:10.1023/A:1008204330035.
  48. ^ Collinge (2002) An Encyclopedia of Language, §4.2.
  49. ^ Hayes, Bruce (2011). Introductory Phonology. John Wiley & Sons. pp. 87–88. ISBN 9781444360134.
  50. ^ Buring, Daniel (2016). Intonation and Meaning. Oxford University Press. pp. 36–41. doi:10.1093/acprof:oso/9780199226269.003.0003. ISBN 978-0-19-922627-6.
  51. ^ «Tilde expansion», C Library Manual, The GNU project, retrieved 4 July 2010.
  52. ^ «Module mod_userdir», HTTP Server Documentation (version 2.0 ed.), The Apache foundation, retrieved 4 July 2010.
  53. ^ Berners-Lee, T.; Fielding, R.; Masinter, L. (2005), RFC 3986, IETF, doi:10.17487/RFC3986.
  54. ^ «MySQL :: Reference Manual :: Bit Functions and Operators». dev.mysql.com. Retrieved 20 December 2019.
  55. ^ «The Groovy programming language — Operators».
  56. ^ Groovy Regular Expression User Guide, Code haus, archived from the original on 26 July 2010, retrieved 11 November 2010.
  57. ^ Groovy RegExp FAQ, Code haus, archived from the original on 11 July 2010, retrieved 11 November 2010.
  58. ^ «Type Families», Haskell Wiki.
  59. ^ «Lazy pattern match — HaskellWiki».
  60. ^ «CLHS: Section 22.3». Lispworks.com. 11 April 2005. Retrieved 30 July 2010.
  61. ^ The R Reference Index
  62. ^ Emacs Manual
  63. ^ «The Internet Juggling Database». Archived from the original on 28 July 2005. Retrieved 6 November 2009.
~

Tilde

˜ ◌̃
Small tilde Combining tilde (diacritic)
See also
Double tilde ⟨≈⟩ or ⟨~~⟩

This article is about the punctuation and diacritical mark. For the Swedish singer, see Tilde (singer).

«~» redirects here. For the album, see ~ (album).

For signing your comments on Wikipedia, see WP:Signatures.

The tilde ()[1] ˜ or ~, is a grapheme with several uses. The name of the character came into English from Spanish, which in turn came from the Latin titulus, meaning «title» or «superscription».[2][a] Its primary use is as a diacritic (accent) in combination with a base letter; but for historical reasons, it is also used in standalone form within a variety of contexts.

History[edit]

Use by medieval scribes[edit]

The tilde was originally written over an omitted letter or several letters as a scribal abbreviation, or «mark of suspension» and «mark of contraction»,[3] shown as a straight line when used with capitals. Thus, the commonly used words Anno Domini were frequently abbreviated to Ao Dñi, with an elevated terminal with a suspension 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 suspension 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:

Mollande tempore regis Edwardi geldabat pro quattuor hidis et uno ferling. Terra est quadraginta carucae. In dominio sunt tres carucae et decem servi et triginta villani et viginti bordarii cum sedecim carucis. Ibi duodecim acrae prati et quindecim acrae silvae. Pastura tres leugae in longitudine et latitudine. Reddit quattuor et viginti libras ad pensam. Huic manerio est adjuncta Blachepole. Elwardus tenebat tempore regis Edwardi pro manerio et geldabat pro dimidia hida. Terra est duae carucae. Ibi sunt quinque villani cum uno servo. Valet viginti solidos ad pensam et arsuram. Eidem manerio est injuste adjuncta Nimete et valet quindecim solidos. Ipsi manerio pertinet tercius denarius de Hundredis Nortmoltone et Badentone et Brantone et tercium animal pasturae morarum.

Role of mechanical typewriters[edit]

An Olivetti Lettera 32 typewriter (Portuguese Model) with tilde (and circumflex) dead-key beside Ç

Spanish typewriter (QWERTY keyboard) with dead keys for acute, circumflex, diaeresis and grave accents. Ñ/ñ is present as a precomposed character only.

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[edit]

Serif: —~—
Sans-serif: —~—
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.[4]: 246  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.

It appears to have been at their May 13–15, 1963 meeting that the CCITT decided that the proposed ISO 7-bit code standard would be suitable for their needs if a lower case alphabet and five diacritical marks […] were added to it.[5] At the October 29–31 meeting, then, the ISO subcommittee altered the ISO draft to meet the CCITT requirements, replacing the up-arrow and left-arrow with diacriticals, adding diacritical meanings to the apostrophe and quotation mark, and making the number sign a dual[b] for the tilde.[6]

— Yucca’s free information site (which cites the original sources).[7]

Thus ISO 646 was born (and the ASCII standard updated to X3.64-1967), providing the tilde and other symbols as optional characters.[4]: 247 [c]

ISO 646 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.[8] However even at that time, mechanisms that could do this or any other overprinting were not widely available, did not work for capital letters, and were impossible on video displays, with the result that this concept failed to gain significant acceptance. Consequently, many of these free-standing diacritics (and the underscore) were quickly reused by software as additional syntax, basically becoming new types of syntactic symbols that a programming language could use. As this usage became predominant, type design gradually evolved so these diacritic characters became larger and more vertically centered, making them useless as overprinted diacritics but much easier to read as free-standing characters that had come to be used for entirely different and novel purposes. Most modern fonts align the plain ASCII «spacing» (free-standing) tilde at the same level as dashes, or only slightly higher.

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.[9]

Connection to Spanish[edit]

Main article: Ñ

Logo of the Instituto Cervantes

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. In addition, most native speakers, although not all, use the word español to refer to their language. 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.[10][11] 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. And similarly to the National Basketball Association (NBA), the Spain men’s national basketball team is nicknamed «ÑBA».

In Spanish itself the word tilde is used more generally for diacritics, including the stress-marking acute accent.[12] The diacritic ~ is more commonly called virgulilla or 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 i character that is familiar to readers of English).

Usage[edit]

Letters with tilde[edit]

This is a table of precomposed letters with tilde:

  • v
  • t
  • e
  •  Tilde ◌̃    Latin: Ã ã
  • Ẵ ẵ
  • Ẫ ẫ
  • Ằ ằ
  • Ẽ ẽ
  • Ễ ễ
  • Ḛ ḛ
  • Ĩ ĩ
  • Ḭ ḭ
  • ɫ
  • Ñ ñ
  • Õ õ
  • Ỗ ỗ
  • Ỡ ỡ
  • Ṑ ṑ
  • Ṍ ṍ
  • Ṏ ṏ
  • Ȭ ȭ
  • Ũ ũ
  • Ữ ữ
  • Ṹ ṹ
  • Ṵ ṵ
  • Ṽ ṽ
  • Ỹ ỹ

A tilde diacritic can be added to almost any character by using a combining tilde.

Common use in English[edit]

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,[13] it means «approximately», «about», or «around», such as «~30 minutes before», meaning «approximately 30 minutes before».[14][15] It may also mean «similar to»,[16] including «of the same order of magnitude as»,[13] such as «x ~ y» meaning that x and y are of the same order of magnitude. Another approximation symbol is the double tilde , meaning «approximately/almost equal to».[14][16][17] 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.[18] 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».[18][d]

The symbol is used in social media to indicate sarcasm.[19]

Diacritical use[edit]

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

Pitch[edit]

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[edit]

Carta marina showing Finnish economy, with the captions Hic fabricantur naves and Hic fabricantur bombarde abbreviated

Later, it was used to make abbreviations in medieval Latin documents. When an ⟨n⟩ or ⟨m⟩ followed a vowel, it was often omitted, and a tilde (physically, a small ⟨N⟩) 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 ⟨e⟩.) The practice of using the tilde over a vowel to indicate omission of an ⟨n⟩ or ⟨m⟩ 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 ⟨q⟩, making , to signify the word que («that»).

Nasalization[edit]

It is also as a small ⟨n⟩ that the tilde originated when written above other letters, marking a Latin ⟨n⟩ which had been elided in old Galician-Portuguese. In modern Portuguese it indicates nasalization of the base vowel: mão «hand», from Lat. manu-; razões «reasons», from Lat. 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, [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 ⟨n⟩ serves only to give the vowel a nasalised pronunciation, without being itself pronounced, as it normally is. For example, ⟨an⟩ gives the pronunciation [ãn] whereas ⟨añ⟩ gives [ã].

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

Palatal n[edit]

Main article: Ñ

The tilded ⟨n⟩ (⟨ñ⟩, ⟨Ñ⟩) developed from the digraph ⟨nn⟩ in Spanish. In this language, ⟨ñ⟩ is considered a separate letter called eñe (IPA: [ˈeɲe]), rather than a letter-diacritic combination; it is placed in Spanish dictionaries between the letters ⟨n⟩ and ⟨o⟩. In Spanish, the word tilde actually refers to diacritics in general, e.g. the acute accent in José,[20] while the diacritic in ⟨ñ⟩ is called «virgulilla» (IPA: [birɣuˈliʝa]).[21] Current languages in which the tilded ⟨n⟩ (⟨ñ⟩) is used for the palatal nasal consonant /ɲ/ include

  • Asturian
  • Aymara
  • Basque
  • Chamorro
  • Filipino
  • Galician
  • Guaraní
  • Iñupiaq
  • Mapudungun
  • Papiamento
  • Quechua
  • Spanish
  • Tetum
  • Wolof

Tone[edit]

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[edit]

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 above a letter indicates nasalization, e.g. [ã], [ṽ].
  • A tilde superimposed onto the middle of a letter indicates velarization or pharyngealization, e.g. [ɫ], [z̴]. If no precomposed Unicode character exists, the Unicode character U+0334 ◌̴ COMBINING TILDE OVERLAY can be used to generate one.
  • A tilde below a letter indicates laryngealisation, e.g. [d̰]. If no precomposed Unicode character exists, the Unicode character U+0330 ◌̰ COMBINING TILDE BELOW can be used to generate one.

Letter extension[edit]

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

Other uses[edit]

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

  • Arabic script: A symbol resembling the tilde (U+0653 ـٓ ARABIC MADDAH ABOVE) is used over the letter ⟨ا⟩ (/a/) to become ⟨آ⟩, denoting a long /aː/ sound.
  • Guaraní: The tilded ⟨G̃⟩ (note that ⟨G/g⟩ with tilde is not available as a precomposed glyph in Unicode) stands for the velar nasal consonant. Also, the tilded ⟨y⟩ (⟨Ỹ⟩) stands for the nasalized upper central rounded vowel [ɨ̃]. Munduruku, Parintintín, and two older spellings of Filipino words also use ⟨g̃⟩.
  • Syriac script: A tilde (~) under the letter Kaph represents a [t͡ʃ] sound, transliterated as ch or č.[22]
  • Estonian and Võro use the tilde above the letter o (õ) to indicate the vowel [ɤ], a rare sound among languages.
  • Unicode has a combining vertical tilde character: U+033E ◌̾ COMBINING VERTICAL TILDE. It is used to indicate middle tone in linguistic transcription of certain dialects of the Lithuanian language.[23]

Punctuation[edit]

The tilde is used in various ways in punctuation, such as:

Range[edit]

In some languages (though not generally in English),[citation needed] a tilde-like wavy dash may be used as punctuation (instead of an unspaced hyphen, en dash or em dash) between two numbers, to indicate a range rather than 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 often done for clarity in some other languages as well. Chinese uses the wavy 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).

Approximation[edit]

Before a number the tilde can mean ‘approximately’; ‘~42’ means ‘approximately 42’.[24] 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’.[25]

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

Japanese[edit]

The wave dash (波ダッシュ, nami dasshu) 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 chōon, katakana character, in Japanese, extending the final syllable.

Unicode and Shift JIS encoding of wave dash[edit]

Correct JIS wave dash

Correct JIS wave dash, current in Unicode

Previous Unicode wave dash (incorrect)

Previous Unicode wave dash (incorrect)

In practice the full-width tilde (全角チルダ, zenkaku chiruda) (Unicode U+FF5E FULLWIDTH TILDE), is often used instead of the wave dash (波ダッシュ, nami dasshu) (Unicode U+301C WAVE DASH), because the Shift JIS code for the wave dash, 0x8160, which should be mapped to U+301C,[26][27] is instead mapped to U+FF5E[28] 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:[29] the wave dash reference glyph in JIS / Shift JIS[30][31] matches the Unicode reference glyph for U+FF5E FULLWIDTH TILDE,[32] while the original reference glyph for U+301C[29] was reflected, incorrectly,[33] 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 U+223C TILDE OPERATOR,[34][35] while IBM and Apple map it to U+301C.[36][37][38] Microsoft also uses U+FF5E to map the KS X 1001 raised tilde (0xA2A6),[35] while Apple uses U+02DC ˜ SMALL TILDE.[38]

The current Unicode reference glyph for U+301C has been corrected[33] to match the JIS standard[39] 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.[40]

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

Mathematics[edit]

As a unary operator[edit]

A tilde in front of a single quantity can mean «approximately», «about»[14] 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[edit]

In mathematics, the tilde operator (Unicode U+223C), sometimes called «twiddle», is often used to denote an equivalence relation between two objects. Thus «x ~ y» means «x is equivalent to y«. It is a weaker statement than stating that x equals y. The expression «x ~ y» is sometimes read aloud as «x twiddles y«, perhaps as an analogue to the verbal expression of «x = y«.[43]

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, f (x) ~ g(x) means that {displaystyle lim _{xto infty }{frac {f(x)}{g(x)}}=1}.[13]

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. h ~ 10−34 J s) to state that the two are of the same order of magnitude.[13]

In statistics and probability theory, the tilde means «is distributed as»;[13] 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. ABC ~ ∆DEF, meaning triangle ABC is similar to DEF). 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 xsim y.

As a diacritic[edit]

The symbol «{tilde {f}}» is pronounced as «eff tilde» or, informally, as «eff twiddle».[44][45] 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. (x_{1},x_{2},x_{3},ldots ,x_{n})={underset {^{sim }}{mathbf {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 {mathbf {y} }} would indicate the median of the variable mathbf {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[edit]

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 Xto x+{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 {displaystyle {boldsymbol {omega }}in mathbb {R} ^{3}} to skew-symmetrical matrices {displaystyle {tilde {boldsymbol {omega }}}={begin{bmatrix}0&-omega _{3}&omega _{2}\omega _{3}&0&-omega _{1}\-omega _{2}&omega _{1}&0end{bmatrix}}} (see [46] or [47]).

Economics[edit]

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[edit]

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[edit]

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

The tilde may represent some sort of phonetic or phonemic variation between two sounds, which might be allophones or in free variation. For example, [χ ~ x] can represent «either [χ] or [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.[50]

Computing[edit]

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 .

Directories and URLs[edit]

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 /home/user, then the command cd ~ is equivalent to cd /home/user, cd $HOME, or cd. 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.[citation needed] When prepended to a particular username, the tilde indicates that user’s home directory (e.g., ~janedoe for the home directory of user janedoe, such as /home/janedoe).[51]

Used in URLs on the World Wide Web, it often denotes a personal website on a Unix-based server. For example, http://www.example.com/~johndoe/ might be the personal website of John Doe. This mimics the Unix shell usage of the tilde. However, when accessed from the web, file access is usually directed to a subdirectory in the user’s home directory, such as /home/username/public_html or /home/username/www.[52]

In URLs, the characters %7E (or %7e) may substitute for a tilde if an input device lacks a tilde key.[53] Thus, http://www.example.com/~johndoe/ and http://www.example.com/%7Ejohndoe/ will behave in the same manner.

Computer languages[edit]

The tilde is used in the AWK programming language as part of the pattern match operators for regular expressions:

  • variable ~ /regex/ returns true if the variable is matched.
  • variable !~ /regex/ returns false if the variable is matched.

A variant of this, with the plain tilde replaced with =~, was adopted in Perl, and this semi-standardization has led to the use of these operators in other programming languages, such as Ruby or the SQL variant of the database PostgreSQL.

In APL and MATLAB, tilde represents the monadic logical function NOT, and in APL it additionally represents the dyadic multiset function without (set difference).

In C the tilde character is used as bitwise NOT unary operator, following the notation in logic (an ! causes a logical NOT, instead). This is also used by most languages based on or influenced by C, such as C++, D and C#. The MySQL database also use tilde as bitwise invert[54] as does Microsoft’s SQL Server Transact-SQL (T-SQL) language. JavaScript also uses tilde as bitwise NOT, and because JavaScript internally uses floats and the bitwise complement only works on integers, numbers are stripped of their decimal part before applying the operation. This has also given rise to using two tildes ~~x as a short syntax for a cast to integer (numbers are stripped of their decimal part and changed into their complement, and then back).

In C++ and C#, the tilde is also used as the first character in a class’s method name (where the rest of the name must be the same name as the class) to indicate a destructor – a special method which is called at the end of the object’s life.

In ASP.NET application tilde (‘~’) is used as a shortcut to the root of the application’s virtual directory.

In the CSS stylesheet language, the tilde is used for the indirect adjacent combinator as part of a selector.

In the D programming language, the tilde is used as an array concatenation operator, as well as to indicate an object destructor and bitwise not operator. Tilde operator can be overloaded for user types, and binary tilde operator is mostly used to merging two objects, or adding some objects to set of objects. It was introduced because plus operator can have different meaning in many situations. For example, what to do with «120» + «14» ? Is this a string «134» (addition of two numbers), or «12014» (concatenation of strings) or something else? D disallows + operator for arrays (and strings), and provides separate operator for concatenation (similarly PHP programming language solved this problem by using dot operator for concatenation, and + for number addition, which will also work on strings containing numbers).

In Eiffel, the tilde is used for object comparison. If a and b denote objects, the boolean expression a ~ b has value true if and only if these objects are equal, as defined by the applicable version of the library routine is_equal, which by default denotes field-by-field object equality but can be redefined in any class to support a specific notion of equality. If a and b are references, the object equality expression a ~ b is to be contrasted with a = b which denotes reference equality. Unlike the call a.is_equal (b), the expression a ~ b is type-safe even in the presence of covariance.

In the Apache Groovy programming language the tilde character is used as an operator mapped to the bitwiseNegate() method.[55] Given a String the method will produce a java.util.regex.Pattern. Given an integer it will negate the integer bitwise like in C. =~ and ==~ can in Groovy be used to match a regular expression.[56][57]

In Haskell, the tilde is used in type constraints to indicate type equality.[58] Also, in pattern-matching, the tilde is used to indicate a lazy pattern match.[59]

In the Inform programming language, the tilde is used to indicate a quotation mark inside a quoted string.

In «text mode» of the LaTeX typesetting language a tilde diacritic can be obtained using, e.g., ~{n}, yielding «ñ». A stand-alone tilde can be obtained by using textasciitilde or string~.
In «math mode» a tilde diacritic can be written as, e.g., tilde{x}. For a wider tilde widetilde can be used. The sim command produce a tilde-like binary relation symbol that is often used in mathematical expressions, and the double-tilde ≈ is obtained with approx. The url package also supports entering tildes directly, e.g., url{http://server/~name}.
In both text and math mode, a tilde on its own (~) renders a white space with no line breaking.

In MediaWiki syntax, four tildes are used as a shortcut for a user’s signature.

In Common Lisp, the tilde is used as the prefix for format specifiers in format strings.[60]

In Max/MSP, a tilde is used to denote objects that process at the computer’s sampling rate, i.e. mainly those that deal with sound.

In Standard ML, the tilde is used as the prefix for negative numbers and as the unary negation operator.

In OCaml, the tilde is used to specify the label for a labeled parameter.

In R, the tilde operator is used to separate the left- and right-hand sides in a model formula.[61]

In Object REXX, the twiddle is used as a «message send» symbol. For example, Employee.name~lower() would cause the lower() method to act on the object Employee‘s name attribute, returning the result of the operation. ~~ returns the object that received the method rather than the result produced. Thus it can be used when the result need not be returned or when cascading methods are to be used. team~~insert("Jane")~~insert("Joe")~~insert("Steve") would send multiple concurrent insert messages, thus invoking the insert method three consecutive times on the team object.

In Raku, ~~ is used instead of =~ for a regular expression. Because the dot operator is used for member access instead of ->, concatenation is done with a single tilde.

my $concatResult = "Hello " ~ "world!";
$concatResult ~~ /<|w><[A..Z]><[a..z]>*<|w>/;

print "$/n"; # outputs "Hello"
# the $/ variable holds the last regex match result

Keyboards[edit]

The presence (or absence) of a tilde engraved on the keyboard depends on the territory where it was sold. In either case, computer’s system settings determine the keyboard mapping and the default setting will match the engravings on the keys. Even so, it certainly possible to configure a keyboard for a different locale than that supplied by the retailer. On American and British keyboards, the tilde is a standard keytop and pressing it produces a free-standing «ASCII Tilde». To generate a letter with a tilde diacritic requires the US international or UK extended keyboard setting.

  • With US-international, the `/~ key is a dead key: pressing the ~ key then a letter produces the tilde-accented form of that letter. (For example, ~ a produces ã.) With this setting active, an ASCII tilde can be inserted with the dead key followed by the space bar, or alternatively by striking the dead key twice in a row.
  • With UK-extended, the key works normally but becomes a ‘dead key’ when combined with AltGr. Thus AltGr+# then a letter produces the accented form of that letter.
  • With a Mac either of the Alt/Option keys function similarly.
  • With Linux, the compose key facility is used.

Instructions for other national languages and keyboards are beyond the scope of this article.

In the US and European Windows systems, the Alt code for a single tilde is 126.

Backup filenames[edit]

The dominant Unix convention for naming backup copies of files is appending a tilde to the original file name.
It originated with the Emacs text editor[62] and was adopted by many other editors and some command-line tools.

Emacs also introduced an elaborate numbered backup scheme, with files named filename.~1~, filename.~2~ and so on. It didn’t catch on, as the rise of version control software eliminates the need for this usage.

Microsoft filenames[edit]

The tilde was part of Microsoft’s filename mangling scheme when it extended the FAT file system standard to support long filenames for Microsoft Windows. Programs written prior to this development could only access filenames in the so-called 8.3 format—the filenames consisted of a maximum of eight characters from a restricted character set (e.g. no spaces), followed by a period, followed by three more characters. In order to permit these legacy programs to access files in the FAT file system, each file had to be given two names—one long, more descriptive one, and one that conformed to the 8.3 format. This was accomplished with a name-mangling scheme in which the first six characters of the filename are followed by a tilde and a digit. For example, «Program Files» might become «PROGRA~1«.

The tilde symbol is also often used to prefix hidden temporary files that are created when a document is opened in Windows. For example, when a document «Document1.doc» is opened in Word, a file called «~$cument1.doc» is created in the same directory. This file contains information about which user has the file open, to prevent multiple users from attempting to change a document at the same time.

Juggling notation[edit]

In the juggling notation system Beatmap, tilde can be added to either «hand» in a pair of fields to say «cross the arms with this hand on top». Mills Mess is thus represented as (~2x,1)(1,2x)(2x,~1)*.[63]

Unicode[edit]

Variants and similars[edit]

Unicode has code-points for many forms of non-combined tilde, for symbols incorporating tildes, and for characters visually similar to a tilde.

Character Code point Name Comments
~ U+007E TILDE The keyboard tilde. Center-height alignment.
˜ U+02DC SMALL TILDE A spacing version of the combining tilde diacritic.
˷ U+02F7 MODIFIER LETTER LOW TILDE A spacing version of the combining tilde diacritic.
◌̃ U+0303 COMBINING TILDE Used in IPA to indicate a nasal vowel.
◌̰ U+0330 COMBINING TILDE BELOW Used in IPA to indicate creaky voice.
◌̴ U+0334 COMBINING TILDE OVERLAY Overstrikes the preceding letter. Used in IPA to indicate velarization or pharyngealization.
◌̾ U+033E COMBINING VERTICAL TILDE
◌͂ U+0342 COMBINING GREEK PERISPOMENI Used as an Ancient Greek accent under the name «circumflex»; it can also be written as an inverted breve.
◌͊ U+034A COMBINING NOT TILDE ABOVE Used in extIPA to indicate a denasalization.
◌͋ U+034B COMBINING HOMOTHETIC ABOVE Used in extIPA to indicate a nareal fricative.
◌͠◌ U+0360 COMBINING DOUBLE TILDE A diacritic that applies to a pair of letters.
◌֘ U+0598 HEBREW ACCENT ZARQA Hebrew cantillation mark.
◌֮ U+05AE HEBREW ACCENT ZINOR Hebrew cantillation mark.
◌᷉ U+1DC9 COMBINING ACUTE-GRAVE-ACUTE Used in IPA as a tone mark.
U+2053 SWUNG DASH A punctuation mark.
U+223C TILDE OPERATOR Used in mathematics. In-line. Ends not curved as much.
U+223D REVERSED TILDE In some fonts it is the tilde’s simple mirror image; others extend the tips to resemble a ᔕ, or an open ∞.
U+223F SINE WAVE Used in electronics to indicate alternating current, in place of +, −, or ⎓ for direct current.
U+2241 NOT TILDE
U+2242 MINUS TILDE
U+2243 ASYMPTOTICALLY EQUAL TO
U+2244 NOT ASYMPTOTICALLY EQUAL TO
U+2245 APPROXIMATELY EQUAL TO
U+2246 APPROXIMATELY BUT NOT ACTUALLY EQUAL TO
U+2247 NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO
U+2248 ALMOST EQUAL TO
U+2249 NOT ALMOST EQUAL TO
U+224A ALMOST EQUAL OR EQUAL TO
U+224B TRIPLE TILDE
U+224C ALL EQUAL TO
U+22CD REVERSED TILDE EQUALS
U+2368 APL FUNCTIONAL SYMBOL TILDE DIAERESIS
U+236B APL FUNCTIONAL SYMBOL DEL TILDE
U+236D APL FUNCTIONAL SYMBOL STILE TILDE
U+2371 APL FUNCTIONAL SYMBOL DOWN CARET TILDE
U+2372 APL FUNCTIONAL SYMBOL UP CARET TILDE
U+2972 TILDE OPERATOR ABOVE RIGHTWARDS ARROW
U+2973 LEFTWARDS ARROW ABOVE TILDE OPERATOR
U+2974 RIGHTWARDS ARROW ABOVE TILDE OPERATOR
U+29E4 EQUALS SIGN AND SLANTED PARALLEL WITH TILDE ABOVE
U+2A24 PLUS SIGN WITH TILDE ABOVE
U+2A26 PLUS SIGN WITH TILDE BELOW
U+2A6A TILDE OPERATOR WITH DOT ABOVE
U+2A6B TILDE OPERATOR WITH RISING DOTS
U+2A73 EQUALS SIGN ABOVE TILDE OPERATOR
U+2AC7 SUBSET OF ABOVE TILDE OPERATOR
U+2AC8 SUPERSET OF ABOVE TILDE OPERATOR
U+2AF3 PARALLEL WITH TILDE OPERATOR
U+2B41 REVERSE TILDE OPERATOR ABOVE LEFTWARDS ARROW
U+2B47 REVERSE TILDE OPERATOR ABOVE RIGHTWARDS ARROW
U+2B49 TILDE OPERATOR ABOVE LEFTWARDS ARROW
U+2B4B LEFTWARDS ARROW ABOVE REVERSE TILDE OPERATOR
U+2B4C RIGHTWARDS ARROW ABOVE REVERSE TILDE OPERATOR
U+2E1B TILDE WITH RING ABOVE
U+2E1E TILDE WITH DOT ABOVE
U+2E1F TILDE WITH DOT BELOW
U+2E2F VERTICAL TILDE
U+301C WAVE DASH Used in Japanese punctuation.
U+3030 WAVY DASH
◌︢ U+FE22 COMBINING DOUBLE TILDE LEFT HALF
◌︣ U+FE23 COMBINING DOUBLE TILDE RIGHT HALF
◌︩ U+FE29 COMBINING TILDE LEFT HALF BELOW
◌︪ U+FE2A COMBINING TILDE RIGHT HALF BELOW
U+FE4B WAVY OVERLINE
U+FE4F WAVY LOW LINE
U+FF5E FULLWIDTH TILDE Em wide. In-line. Ends not curved much.
  ~   U+E007E TAG TILDE Formatting tag control character.

Precomposed characters[edit]

A number of characters in Unicode, have tilde precomposed.

Unicode precomposaed characters with tilde diacritic
Letter Code point Name
U+1EB4 LATIN CAPITAL LETTER A WITH BREVE AND TILDE
U+1EB5 LATIN SMALL LETTER A WITH BREVE AND TILDE
U+1EAA LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE
U+1EAB LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE
à U+00C3 LATIN CAPITAL LETTER A WITH TILDE
ã U+00E3 LATIN SMALL LETTER A WITH TILDE
U+1D6C LATIN SMALL LETTER B WITH MIDDLE TILDE
U+1D6D LATIN SMALL LETTER D WITH MIDDLE TILDE
U+1EC4 LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE
U+1EC5 LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE
U+1E1A LATIN CAPITAL LETTER E WITH TILDE BELOW
U+1E1B LATIN SMALL LETTER E WITH TILDE BELOW
U+1EBC LATIN CAPITAL LETTER E WITH TILDE
U+1EBD LATIN SMALL LETTER E WITH TILDE
U+1D6E LATIN SMALL LETTER F WITH MIDDLE TILDE
U+1E2C LATIN CAPITAL LETTER I WITH TILDE BELOW
U+1E2D LATIN SMALL LETTER I WITH TILDE BELOW
Ĩ U+0128 LATIN CAPITAL LETTER I WITH TILDE
ĩ U+0129 LATIN SMALL LETTER I WITH TILDE
U+2C62 LATIN CAPITAL LETTER L WITH MIDDLE TILDE
ɫ U+026B LATIN SMALL LETTER L WITH MIDDLE TILDE
U+AB5E MODIFIER LETTER SMALL L WITH MIDDLE TILDE
U+AB38 LATIN SMALL LETTER L WITH DOUBLE MIDDLE TILDE
U+1DEC COMBINING LATIN SMALL LETTER L WITH DOUBLE MIDDLE TILDE
U+1D6F LATIN SMALL LETTER M WITH MIDDLE TILDE
U+1D70 LATIN SMALL LETTER N WITH MIDDLE TILDE
Ñ U+00D1 LATIN CAPITAL LETTER N WITH TILDE
ñ U+00F1 LATIN SMALL LETTER N WITH TILDE
U+1ED6 LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE
U+1ED7 LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE
U+1EE0 LATIN CAPITAL LETTER O WITH HORN AND TILDE
U+1EE1 LATIN SMALL LETTER O WITH HORN AND TILDE
U+1E4C LATIN CAPITAL LETTER O WITH TILDE AND ACUTE
U+1E4D LATIN SMALL LETTER O WITH TILDE AND ACUTE
U+1E4E LATIN CAPITAL LETTER O WITH TILDE AND DIAERESIS
U+1E4F LATIN SMALL LETTER O WITH TILDE AND DIAERESIS
Ȭ U+022C LATIN CAPITAL LETTER O WITH TILDE AND MACRON
ȭ U+022D LATIN SMALL LETTER O WITH TILDE AND MACRON
Õ U+00D5 LATIN CAPITAL LETTER O WITH TILDE
õ U+00F5 LATIN SMALL LETTER O WITH TILDE
U+1D71 LATIN SMALL LETTER P WITH MIDDLE TILDE
U+1D73 LATIN SMALL LETTER R WITH FISHHOOK AND MIDDLE TILDE
U+1D72 LATIN SMALL LETTER R WITH MIDDLE TILDE
U+AB68 LATIN SMALL LETTER TURNED R WITH MIDDLE TILDE
U+1D74 LATIN SMALL LETTER S WITH MIDDLE TILDE
U+1D75 LATIN SMALL LETTER T WITH MIDDLE TILDE
U+1EEE LATIN CAPITAL LETTER U WITH HORN AND TILDE
U+1EEF LATIN SMALL LETTER U WITH HORN AND TILDE
U+1E78 LATIN CAPITAL LETTER U WITH TILDE AND ACUTE
U+1E79 LATIN SMALL LETTER U WITH TILDE AND ACUTE
U+1E74 LATIN CAPITAL LETTER U WITH TILDE BELOW
U+1E75 LATIN SMALL LETTER U WITH TILDE BELOW
Ũ U+0168 LATIN CAPITAL LETTER U WITH TILDE
ũ U+0169 LATIN SMALL LETTER U WITH TILDE
U+1E7C LATIN CAPITAL LETTER V WITH TILDE
U+1E7D LATIN SMALL LETTER V WITH TILDE
U+1EF8 LATIN CAPITAL LETTER Y WITH TILDE
U+1EF9 LATIN SMALL LETTER Y WITH TILDE
U+1D76 LATIN SMALL LETTER Z WITH MIDDLE TILDE

See also[edit]

  • Circumflex
    • Caret (computing)
  • Tittle
  • Double tilde (disambiguation)

Notes[edit]

  1. ^ Several more or less common informal names are used for the tilde that usually describe the shape, including squiggly, squiggle(s), and flourish.
  2. ^ alternative association for the same code point
  3. ^ ISO 646 (and ASCII, which it includes) is a standard for 7-bit encoding, providing just 96 printable characters (and 32 control characters). This was insufficient to meet the needs of Western European languages and so the standard specifies certain code points that are available for national variation. With the arrival of 8-bit «extended ASCII», this issue was largely mitigated, though not fully resolved until Unicode was established.
  4. ^ See also Air quotes.

References[edit]

  1. ^ «tilde». The Chambers Dictionary (9th ed.). Chambers. 2003. ISBN 0-550-10105-5.
  2. ^ «tilde». The American Heritage Dictionary of the English Language (5th ed.). HarperCollins.
  3. ^ 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 [1]
  4. ^ a b Mackenzie, Charles E. (1980). Coded Character Sets, History and Development (PDF). The Systems Programming Series (1 ed.). Addison-Wesley Publishing Company, Inc. ISBN 978-0-201-14460-4. LCCN 77-90165. Archived (PDF) from the original on May 26, 2016. Retrieved August 25, 2019.
  5. ^ «Meeting of CCITT Working Party on the New Telegraph Alphabet». CCITT. 15 May 1963. See Paragraph 3.
  6. ^ L. L. Griffin, Chairman, X3.2 (29 November 1963). «Memorandum to Members, Alternates, and Consultants of A.S.A. X3.2 and task groups». US Department of the Navy. p. 8.
  7. ^ «Character histories: notes on some ASCII code positions».
  8. ^ «Second ISO draft proposal | 6 and 6 bit character codes for information processing interchange». ISO. December 1963. See paragraph 2
  9. ^ «Swung dash», WordNet (search) (3.0 ed.)
  10. ^ «26 argumentos para seguir defendiendo la Ñ». La Razón. 11 January 2011. Retrieved 31 January 2016.
  11. ^ AFP (18 November 2004). «Batalla de la Ñ: Una aventura quijotesca para defender el alma de la lengua». Periódico ABC Paraguay. Retrieved 31 January 2016.
  12. ^ Diccionario de la lengua española, Real Academia Española
  13. ^ a b c d e «Tilde». Wolfram/MathWorld. 3 November 2011. Retrieved 11 November 2011.
  14. ^ a b c «All Elementary Mathematics – Mathematical symbols dictionary». Bymath. Archived from the original on 2 May 2015. Retrieved 25 September 2014.
  15. ^ «Character design standards — Maths». Microsoft.
  16. ^ a b Quinn, Liam. «HTML 4.0 Entities for Symbols and Greek Letters». HTML help. Retrieved 11 November 2011.
  17. ^ «Math Symbols… Those Most Valuable and Important: Approximately Equal Symbol». Solving Math problems. 20 September 2010. Retrieved 11 November 2011.
  18. ^ a b Bernstein, Joseph. «The Hidden Language of The ~Tilde~». BuzzFeed News.
  19. ^ Jess Kimball Leslie (5 June 2017). «The Internet Tilde Perfectly Conveys Something We Don’t Have the Words to Explain». The Cut.
  20. ^ Ortografía de la lengua española. Madrid: Real Academia Española. 2010. p. 279. ISBN 978-84-670-3426-4.
  21. ^ «Lema en la RAE». Real Academia Española. Retrieved 10 October 2015.
  22. ^ Nestle, Eberhard (1888). Syrische Grammatik mit Litteratur, Chrestomathie und Glossar. Berlin: H. Reuther’s Verlagsbuchhandlung. [translated to English as Syriac grammar with bibliography, chrestomathy and glossary, by R. S. Kennedy. London: Williams & Norgate 1889. p. 5].
  23. ^ Lithuanian Standards Board (LST), proposal for a zigzag diacritic
  24. ^
    «Tilde Definition». linfo.org. The Linux Information Project. 24 June 2005. Retrieved 27 January 2020.
  25. ^ «Using a tilde with currency».
  26. ^ «Appendix 1: Shift_JIS-2004 vs Unicode mapping table», JIS X 0213:2004, X 0213.
  27. ^ Shift-JIS to Unicode, Unicode.
  28. ^ «Windows 932_81». Microsoft. Retrieved 30 July 2010.
  29. ^ a b CJK Symbols and Punctuation (Unicode 6.2) (PDF) (chart), Unicode, archived from the original (PDF) on 27 August 2013.
  30. ^ Japanese National Committee on ISO/TC97/SC2. ISO-IR-87: Japanese Graphic Character Set for Information Interchange (PDF). ITSCJ/IPSJ. Archived from the original (PDF) on 10 March 2022.
  31. ^ Japanese Industrial Standards Committee. ISO-IR-233: Japanese Graphic Character Set for Information Interchange, Plane 1 (Update of ISO-IR 228) (PDF). ITSCJ/IPSJ. Archived from the original (PDF) on 10 March 2022.
  32. ^ Halfwidth and Fullwidth Forms (PDF) (chart), Unicode.
  33. ^ a b Errata Fixed in Unicode 8.0.0, Unicode
  34. ^ «windows-949-2000 (lead byte A1)». ICU Demonstration — Converter Explorer. International Components for Unicode.
  35. ^ a b «Lead Byte A1-A2 (Code page 949)». MSDN. Microsoft.
  36. ^ «ibm-1363_P110-1997 (lead byte A1)». ICU Demonstration — Converter Explorer. International Components for Unicode.
  37. ^ «euc-kr (lead byte A1)». ICU Demonstration — Converter Explorer. International Components for Unicode.
  38. ^ a b «Map (external version) from Mac OS Korean encoding to Unicode 3.2 and later». Apple.
  39. ^ CJK Symbols and Punctuation (PDF) (chart), Unicode
  40. ^ Komatsu, Hiroyuki, L2/14-198: Proposal for the modification of the sample character layout of WAVE_DASH (U+301C) (PDF)
  41. ^ Shift_JIS-2004 (JIS X 0213:2004 Appendix 1) vs Unicode mapping table, x0213.org
  42. ^ «Shift_JIS visualization», Encoding Standard, WHATWG
  43. ^ Derbyshire, J (2004), Prime Obsession: Bernhard Riemann and the Greatest Unsolved Problem in Mathematics, New York: Penguin.
  44. ^ «Tilde». Wolfram Research. Retrieved 4 June 2018.
  45. ^ Choy, Stephen TL; Jesudason, Judith Packer; Lee, Peng Yee (1988). Proceedings of the Analysis Conference, Singapore 1986. Elsevier. ISBN 9780080872612.
  46. ^ Wallrapp (1994). «Standardization of flexible body modeling in multibody system codes, Part I: Definition of Standard Input Data». 22 (3): 283–304. doi:10.1080/08905459408905214.
  47. ^ Valembois, R. E.; Fisette, P.; Samin, J. C. (1997). «Comparison of Various Techniques for Modelling Flexible Beams in Multibody Dynamics». Nonlinear Dynamics (12): 367–397. doi:10.1023/A:1008204330035.
  48. ^ Collinge (2002) An Encyclopedia of Language, §4.2.
  49. ^ Hayes, Bruce (2011). Introductory Phonology. John Wiley & Sons. pp. 87–88. ISBN 9781444360134.
  50. ^ Buring, Daniel (2016). Intonation and Meaning. Oxford University Press. pp. 36–41. doi:10.1093/acprof:oso/9780199226269.003.0003. ISBN 978-0-19-922627-6.
  51. ^ «Tilde expansion», C Library Manual, The GNU project, retrieved 4 July 2010.
  52. ^ «Module mod_userdir», HTTP Server Documentation (version 2.0 ed.), The Apache foundation, retrieved 4 July 2010.
  53. ^ Berners-Lee, T.; Fielding, R.; Masinter, L. (2005), RFC 3986, IETF, doi:10.17487/RFC3986.
  54. ^ «MySQL :: Reference Manual :: Bit Functions and Operators». dev.mysql.com. Retrieved 20 December 2019.
  55. ^ «The Groovy programming language — Operators».
  56. ^ Groovy Regular Expression User Guide, Code haus, archived from the original on 26 July 2010, retrieved 11 November 2010.
  57. ^ Groovy RegExp FAQ, Code haus, archived from the original on 11 July 2010, retrieved 11 November 2010.
  58. ^ «Type Families», Haskell Wiki.
  59. ^ «Lazy pattern match — HaskellWiki».
  60. ^ «CLHS: Section 22.3». Lispworks.com. 11 April 2005. Retrieved 30 July 2010.
  61. ^ The R Reference Index
  62. ^ Emacs Manual
  63. ^ «The Internet Juggling Database». Archived from the original on 28 July 2005. Retrieved 6 November 2009.

Для того, что бы узнать альтернативное сочетание клавиш на ЛЮБОЙ знак тебе нужно зайти в "Пуск" => Character Map и там найти нужный знак. Там же есть информация о том, как вызвать даный символ. Там будет на тильде написано U+007E: Tilde

введите сюда описание изображения

007E — это номер знака в ASCII таблице, только 16ричный.

Но нам нужен десятичный номер знака, а не шестнадцатеричный. Переводим при помощи инженерного/программерского калькулятора:

введите сюда описание изображения

введите сюда описание изображения

или же ищем при помощи интернета в десятичной системе и получаем: 126.

Это значит что в виндовсе нужно зажать Alt + набрать ASCII номер (126 или 0126) на цифровой клавиатуре (та что прямоугольная с правой стороны). Вот знак напечатанный этим способом: ~

Тильда

Пользователи её также называют волнистой линией или завитушкой, тильда — символ (~), который находится на компьютерной клавиатуре ниже клавиши Эскейп (ESC)  и соответствует обратной кавычке ` и букве Ё в русской раскладке, напоминает волнистую линию. На изображении вы можете увидеть тильду. Ниже приведены несколько примеров того, как и когда используется тильда.

Как тильда используется на компьютере

  1. В таких языках, как испанский и португальский, тильда является диакритическим знаком (акцентом), который помещается над буквой, например, «а» и «н» и помогает подчеркнуть письменность.
  2. Сокращает длинные имена файлов в Microsoft Windows, 95 выше. Например, изменяет каталог «Program Files» на Progra~1.
  3. Доступ к консоли в программах и играх, таких как Quake, Counter-Strike.
  4. В регулярных выражениях тильда может быть использована для сопоставления.
  5. В языках программирования C, ~ означает побитовое отрицание.
  6. Переход в домашний каталог на Linux (например, CD ~).
  7. В математике ~ используется для указания примерного количества.
  8. Доступ к эмулятору терминала GTK+.

What to Know

  • On a Mac: Press Option+N, then type the letter you want to accent.
  • On a Windows PC: Enable Num Lock, press and hold Alt, then type the character’s specific number code (see below).
  • iOS or Android device: Press and hold the A, N, or O key on the virtual keyboard, then select the tilde option.

This article explains how to type a tilde symbol, which is a small wavy line that appears over certain consonants and vowels, such as in Ã, ã, Ñ, ñ, Õ, and õ. Instructions cover Windows PCs, Macs, iPhones, Android devices, and HTML.

How to Type a Tilde Mark Using a Keyboard Shortcut

Here’s how to add a tilde symbol for the most common operating systems and platforms.

Mac Keyboard Shortcut for a Tilde Mark

Hold the Option key, press the letter N, then release both keys. A tilde appears above an underscored blank space. Now type the letter to be accented. If you’d like the accented letter to be uppercase, press and hold the Shift key and type the letter as you would capitalize any letter.

Lifewire / Derek Abella

Keyboard shortcuts vary by platform and operating system. Most keyboards include a tilde key for in-line tilde marks, as in ~3000 B.C, but this key can’t be used to accent a letter.

Windows PC Keyboard Shortcuts for the Tilde

Enable Num Lock, hold the Alt key, and enter the appropriate number code on the numeric keypad to create characters with tilde accent marks.

The number codes for uppercase letters are as follows:

  • Alt+0195 = Ã
  • Alt+0209 = Ñ
  • Alt+0213 = Õ

The number codes for lowercase letters are as follows:

  • Alt+0227 = ã
  • Alt+0241 = ñ
  • Alt+0245 = õ

If the keyboard doesn’t have a numeric keypad on the right side, paste accented characters from the character map. To locate the character map in Windows 10, select Start > Windows Accessories > Character Map. Alternatively, go to the search box in the Windows taskbar and enter character map. Select the letter you want and paste it into the document you’re working on.

For older versions of Windows, navigate to Start > All Programs > Accessories > System Tools > Character Map to open the character map.

HTML

In HTML, render characters with tilde marks by typing the & (ampersand symbol), followed by the letter (A, N, or O), the word tilde, then a semicolon (;) without any spaces between the characters. For example:

ñ = ñ

Õ = Õ

In HTML, the characters with tilde marks may appear smaller than the surrounding text. You may wish to enlarge the font for those characters in some circumstances.

iOS and Android Mobile Devices

Access special characters with accent marks, including the tilde, using the virtual keyboard on a mobile device. Press and hold the A, N, or O key on the virtual keyboard to open a window with various accented options. Slide your finger to the character with a tilde and lift your finger to select it.

FAQ

  • How do you pronounce «tilde?»

    The English pronunciation for «tilde» is «til-duh.»

  • What does a tilde symbol mean in math?

    When used in math, a tilde is meant to show approximate values. For example, to show something is «approximately five» you would use «~5.»

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

What to Know

  • On a Mac: Press Option+N, then type the letter you want to accent.
  • On a Windows PC: Enable Num Lock, press and hold Alt, then type the character’s specific number code (see below).
  • iOS or Android device: Press and hold the A, N, or O key on the virtual keyboard, then select the tilde option.

This article explains how to type a tilde symbol, which is a small wavy line that appears over certain consonants and vowels, such as in Ã, ã, Ñ, ñ, Õ, and õ. Instructions cover Windows PCs, Macs, iPhones, Android devices, and HTML.

How to Type a Tilde Mark Using a Keyboard Shortcut

Here’s how to add a tilde symbol for the most common operating systems and platforms.

Mac Keyboard Shortcut for a Tilde Mark

Hold the Option key, press the letter N, then release both keys. A tilde appears above an underscored blank space. Now type the letter to be accented. If you’d like the accented letter to be uppercase, press and hold the Shift key and type the letter as you would capitalize any letter.

Lifewire / Derek Abella

Keyboard shortcuts vary by platform and operating system. Most keyboards include a tilde key for in-line tilde marks, as in ~3000 B.C, but this key can’t be used to accent a letter.

Windows PC Keyboard Shortcuts for the Tilde

Enable Num Lock, hold the Alt key, and enter the appropriate number code on the numeric keypad to create characters with tilde accent marks.

The number codes for uppercase letters are as follows:

  • Alt+0195 = Ã
  • Alt+0209 = Ñ
  • Alt+0213 = Õ

The number codes for lowercase letters are as follows:

  • Alt+0227 = ã
  • Alt+0241 = ñ
  • Alt+0245 = õ

If the keyboard doesn’t have a numeric keypad on the right side, paste accented characters from the character map. To locate the character map in Windows 10, select Start > Windows Accessories > Character Map. Alternatively, go to the search box in the Windows taskbar and enter character map. Select the letter you want and paste it into the document you’re working on.

For older versions of Windows, navigate to Start > All Programs > Accessories > System Tools > Character Map to open the character map.

HTML

In HTML, render characters with tilde marks by typing the & (ampersand symbol), followed by the letter (A, N, or O), the word tilde, then a semicolon (;) without any spaces between the characters. For example:

ñ = ñ

Õ = Õ

In HTML, the characters with tilde marks may appear smaller than the surrounding text. You may wish to enlarge the font for those characters in some circumstances.

iOS and Android Mobile Devices

Access special characters with accent marks, including the tilde, using the virtual keyboard on a mobile device. Press and hold the A, N, or O key on the virtual keyboard to open a window with various accented options. Slide your finger to the character with a tilde and lift your finger to select it.

FAQ

  • How do you pronounce «tilde?»

    The English pronunciation for «tilde» is «til-duh.»

  • What does a tilde symbol mean in math?

    When used in math, a tilde is meant to show approximate values. For example, to show something is «approximately five» you would use «~5.»

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

Понравилась статья? Поделить с друзьями:
  • Как пишется клавиш или клавишь
  • Как пишется клава кока на английском
  • Как пишется клабхедс
  • Как пишется ккб
  • Как пишется кияр код