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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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.