Googling the question yields many posts but no definite answer. Is there a way to use Tahoma font in latex?
Asked
Active
Viewed 7,475 times
2
1 Answers
5
Assuming you have the Tahoma.ttf file installed in a place your system can find it (on my mac it's in /Macintosh HD/Library/Fonts), then using it is as simple as
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Tahoma}
\begin{document}
Hello, world!
\end{document}
You have to take care to compile this with XeLaTeX (xelatex) or LuaLaTeX (lualatex) instead of regular LaTeX.
Matthew Leingang
- 44,937
- 14
- 131
- 195
fontspecyou can use Opentype fonts installed on your systen. – Johannes_B Mar 13 '14 at 11:44fontspec. – Torbjørn T. Mar 13 '14 at 13:24