2

Googling the question yields many posts but no definite answer. Is there a way to use Tahoma font in latex?

  • 4
    With XeLaTeX/LuaLaTeX and package fontspec you can use Opentype fonts installed on your systen. – Johannes_B Mar 13 '14 at 11:44
  • Not exactly the same question, but Alan Munn's answer at http://tex.stackexchange.com/questions/25249/how-do-i-use-a-particular-font-for-a-small-section-of-text-in-my-document/37251#37251 is useful with regard to fontspec. – Torbjørn T. Mar 13 '14 at 13:24

1 Answers1

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