How to write Spanish letter n with a tilde in LaTeX?
Asked
Active
Viewed 327 times
0
1 Answers
1
Here there is a small example to use directly from your computer keyboard the ñ (for example).
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\begin{document}
El ñino
\end{document}
Sebastiano
- 54,118
-
3
-
1
-
3you only need
\usepackage[utf8]{inputenc}for old latex releases (older than 2018) – David Carlisle Feb 13 '23 at 22:32 -

\~nfor that. If you are using utf-8 encoding with lualatex or xetex, you can also simply paste the character from a Unicode character map. There are other combinations that construct characters with diacriticals, and online references that list them. – rallg Feb 13 '23 at 16:39ñin all versions of latex, so pdflatex not just lualatex or xelatex – David Carlisle Feb 13 '23 at 17:17