Text Formatting ⇒ Displaying unicode in latex file
-
- Posts: 7
- Joined: Thu Sep 19, 2019 2:23 pm
Displaying unicode in latex file
How to display the unicode character output in latex document using pdflatex option.
Regards
Pon ilavarasu
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
Displaying unicode in latex file
Code: Select all
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{lmodern}
\begin{document}
ÄÖÜéâ€
\end{document}
\usepackage[utf8]{inputenc}
. But this does not provide all unicode symbols. For some you have to load additional symbol fonts and declare the character yourself using \DeclareUnicodeCharacter
or package newunicodechar.Things would become more easy using
xelatex
or lualatex
and a font that provides all needed glyphs.