Ñ

Ñ, or ñ (eñe, ), is a letter of the modern Latin alphabet, formed by placing a tilde (also referred to as a virgulilla in Spanish, in order to differentiate it from other diacritics, which are also called tildes) on top of an upper- or lower-case. It became part of the Spanish alphabet in the eighteenth century when it was first formally defined, but it has subsequently been used in other languages, such as Galician, Asturian, the Aragonese Grafía de Uesca, Basque, Chavacano, some Philippine languages (especially Filipino and Bisayan), Chamorro, Guarani, Quechua, Mapudungun, Mandinka, Papiamento, and Tetum alphabets, as well as in Latin transliteration of Tocharian and many Indian languages, where it represents  or  (similar to the $⟨ny⟩$ in "canyon"). It represents (the $⟨ng⟩$ in "wing") in Crimean Tatar, Kazakh, ALA-LC romanization for Turkic languages, the Common Turkic Alphabet, Nauruan and romanized Quenya. In Breton and in Rohingya, it denotes nasalization of the preceding vowel.

Unlike many other letters that use diacritics (such as in Catalan and Spanish and  in Catalan and sometimes in Spanish),  in Spanish, Galician, Basque, Asturian, Leonese, Guarani and Filipino is considered a letter in its own right, has its own name (Spanish: ), and its own place in the alphabet (after ). Historically, it came from a superscript abbreviation for a doubled. Its alphabetical independence is similar to the Germanic, which came from a doubled.

History


Historically, arose as a ligature of ; the tilde was shorthand for the second, written over the first; compare umlaut, of analogous origin. It is a letter in the Spanish alphabet that is used for many words—for example, the Spanish word año "year" ( in Old Spanish) derived from annus. Other languages used the macron over an or  to indicate simple doubling.

Already in medieval Latin palaeography, the sign that in Spanish came to be called virgulilla ("little comma") was used over a vowel to indicate a following nasal consonant ( or ) that had been omitted, as in tãtus for tantus or quã for quam. This usage was passed on to other languages using the Latin alphabet although it was subsequently dropped by most. Spanish retained it, however, in some specific cases, particularly to indicate the palatal nasal, the sound that is now spelt as. The word tilde comes from Spanish, derived by metathesis of the word título as tidlo, this originally from Latin TITVLVS "title" or "heading"; compare cabildo with Latin CAPITULUM.

From spellings of anno abbreviated as año, as explained above, the tilde was thenceforth transferred to the and kept as a useful expedient to indicate the new palatal nasal sound that Spanish had developed in that position: año. The sign was also adopted for the same palatal nasal in all other cases, even when it did not derive from an original, as in leña (from Latin ligna) or señor (from Latin SENIOR ).

Other Romance languages have different spellings for this sound: Italian and French use, a consonant cluster that had evolved from Latin, whereas Occitan and Portuguese chose and Catalan  even though these digraphs had no etymological precedent.

When Morse code was extended to cover languages other than English, a sequence ( — — · — — ) was allotted for this character.

Although is used by other languages whose spellings were influenced by Spanish, it has recently been chosen to represent the identity of the Spanish language, especially as a result of the battle against its obliteration from computer keyboards by an English-led industry.

Cross-linguistic usage
In Spanish it represents a palatal nasal. This is also the case of Philippine languages, Aymara, Quechua, Mapudungún, Guarani, Basque, Chamorro, Leonese, Yavapai, and, whose orthographies have some basis in that of Spanish. Many languages of Senegal also use it in the same way. Senegal is unique among countries of West Africa in using this letter.

It also represents a palatal nasal in Galician and Uruguayan Portuguese.

In Tetum, it was adopted to represent the same sound in Portuguese loanwords represented by, although this is also used in Tetum, as is , influenced by Indonesian.

In Tagalog, Visayan, and other Philippine languages, most Spanish terms that include are respelled with. The conventional exceptions (with considerable variations) are proper names, which usually retain and their original Spanish or Hispanicised spelling (Santo Niño, Parañaque, Mañalac, Malacañan). It is collated as the 15th letter of the Filipino alphabet. In old Filipino orthography, the letter was also used, along with, to represent (except at the end of a word, when  would be used) if appropriate instead of a tilde, which originally spanned a sequence of  and  (as in ), such as pan͠galan ("name"). That is because the old orthography was based on Spanish, and without the tilde, pangalan would have been pronounced with the sequence (therefore pang-GAlan). The form became a more common way to represent  until the early 20th century, mainly because it was more readily available in typesets than the tilde spanning both letters.

It is also used to represent the velar nasal in Crimean Tatar and Nauruan. In Malay, the Congress Spelling System (1957–1972) formerly used it for before. In Turkmen, it was used for until 1999. In Latin-script writing of the Tatar language and Lule Sámi language, is sometimes used as a substitute for ꞑ, which is not available on many computer systems. In addition to Tatar, represents  in the Common Turkic Alphabet.

In the Breton language, it nasalises the preceding vowel, as in Jañ, which corresponds to the French name Jean and has the same pronunciation.

It is used in a number of English terms of Spanish origin, such as jalapeño, piña colada, piñata, and El Niño. The Spanish word cañón, however, became naturalized as canyon. Until the middle of the 20th century, adapting it as nn was more common in English, as in the phrase "Battle of Corunna". Now, it is almost always left unmodified. The Society for the Advancement of Spanish Letters in the Anglo Americas (SASLAA) is the preeminent organization focused on promoting the permanent adoption of into the English language.

Cultural significance
has come to represent the identity of the Spanish language. Latin publisher Bill Teck labeled Hispanic culture and its influence on the United States "Generation Ñ" and later started a magazine with that name. Organizations such as the Instituto Cervantes and the National Association of Hispanic Journalists have adopted the letter as their mark for Hispanic heritage. It was used in the Spanish Republican Air Force for aircraft identification. The circumstances surrounding the crash of serial 'Ñ' Potez 540 plane that was shot down over the Sierra de Gúdar range of the Sistema Ibérico near Valdelinares inspired French writer André Malraux to write the novel L'Espoir (1937), translated into English as Man's Hope and made into the movie named Espoir: Sierra de Teruel.

In 1991, a European Community report recommended the repeal of a regulation preventing the sale in Spain of computer products not supporting "all the characteristics of the Spanish writing system," claiming that it was a protectionist measure against the principles of the free market. This would have allowed the distribution of keyboards without an "Ñ" key. The Real Academia Española stated that the matter was a serious attack against the language. Nobel Prize winner in literature Gabriel García Márquez expressed his disdain over its elimination by saying: "The 'Ñ' is not an archaeological piece of junk, but just the opposite: a cultural leap of a Romance language that left the others behind in expressing with only one letter a sound that other languages continue to express with two."

Among other forms of controversy are those pertaining to the anglicization of Spanish surnames. The replacement of with another letter alters the pronunciation and meaning of a word or name, in the same manner that replacing any letter in a given word with another one would. For example, Peña is a common Spanish surname and a common noun that means "rocky hill"; it is often anglicized as Pena, changing the name to the Spanish word for "pity", often used in terms of sorrow.

When Federico Peña was first running for mayor of Denver in 1983, the Denver Post printed his name without the tilde as "Pena." After he won the election, they began printing his name with the tilde. As Peña's administration had many critics, their objections were sometimes whimsically expressed as "ÑO."

Since 2011, CNN's Spanish-language news channel incorporates a new logo wherein a tilde is placed over both.

Another news channel, TLN en Español, has, with taking the place of the expected , as its logo.

As part of April Fool's Day, in 2013, Puerto Rican linguistics professor Aida Vergne penned a mock newspaper article stating that the Royal Spanish Academy had opted to eliminate from Spanish, instead being replaced by the original  in Old Spanish. As the Academy had previously eliminated letters such as and,  such an allegation was taken seriously and occasionally the Academy has to resort to deny and clarify the allegation.

The Google Doodle for 23 April 2021 celebrated as part of UN Spanish Language Day.

Computer usage


In Unicode has the code U+00D1 (decimal 209) while  has the code U+00F1 (decimal 241). Additionally, they can be generated by typing N or n followed by a combining tilde modifier, &#x303, U+0303, decimal 771.

In HTML character entity reference, the codes for and  are   and   or   and.

has its own key in the Spanish and Latin American keyboard layouts (see the corresponding sections at keyboard layout and Tilde). The following instructions apply only to English-language keyboards.

On Android devices, holding N or n down on the keyboard makes entry of and  possible.

On Apple Macintosh operating systems (including Mac OS X), it can be typed by pressing and holding the Option key and then typing N, followed by typing either N or n.

On the iPhone and iPad, which use the Apple iOS operating system, the is accessed by holding down the  key, which opens a menu (on an English-language keyboard). Apple's Mac OS X 10.7 Lion operating system also made the available in the same way.

The lowercase can be made in the Microsoft Windows operating system by typing Alt or Alt on the numeric keypad (with Num Lock turned on); the uppercase  can be made with Alt or Alt. Character Map in Windows identifies the letter as "Latin Small/Capital Letter N With Tilde". A soft (not physical) Spanish-language keyboard is easily installed in Windows.

In Microsoft Word, can be typed by pressing Control-Shift-Tilde  and then an.

On Linux it can be created by pressing Ctrl+Shift+U and then typing '00d1' or '00f1', followed by space or Ctrl to end the character code input. This produces or.

Another option (for any operating system) is to configure the system to use the US-International keyboard layout, with which can be produced either by holding Alt Gr and then pressing N, or by typing the tilde  followed by.

Yet another option is to use a compose key (hardware-based or software-emulated). Pressing the compose key, then, and then results in. A capital can be substituted to produce, and in most cases the order of  and  can be reversed.

Use in URLs
may be used in internationalized domain names, but it will have to be converted from Unicode to ASCII using Punycode during the registration process (i.e. from www.piñata.com to www.xn--piata-pta.com).

In URLs (except for the domain name), may be replaced by , and  by. This is not needed for newer browsers. The hex digits represent the UTF-8 encoding of and. This feature allows almost any Unicode character to be encoded, and it is considered important to support languages other than English.

Other symbols for the palatal nasal

 * Gn (digraph)
 * Nh (digraph)
 * Nj (letter)
 * Ny (digraph)
 * Ɲ
 * Ń
 * Њ
 * Ň
 * (IPA symbol)

Other letters with tilde

 * Ã
 * Ẽ
 * G̃
 * Ĩ
 * M̃
 * Õ
 * P̃
 * Ũ
 * Ṽ