5

I am trying to use the Verdana font in LaTeX under Mac OS X.

I have found some packages, like verdana or winfonts but I can't get around to install them.

Can someone enlighten me of the best way to accomplish the Verdana font under Mac OS X?

1 Answer 1

9

You can use XeTeX or LuaTeX.

Here is an exemple :

\documentclass{minimal}
\usepackage{fontspec}%déjà chargé par luatextra
\defaultfontfeatures{Ligatures=TeX} % to have the automatics ligatures of TeX
\setromanfont{Verdana}
%\setsansfont[Scale=MatchLowercase]{Linux Biolinum O} %font for sans-serif
%\setmonofont[Scale=MatchLowercase]{Inconsolata} % font with fixe-chase
\begin{document}
test---TEST
\end{document}

You must compile it with XeLaTeX or LuaLaTeX (with Texshop, simply write %!TEX TS-program = lualatex juste before the \documentclass) and encode your document in UTF8 (again, with TexShop : %!TEX encoding = UTF-8 Unicode)

1
  • This worked. I was avoiding XeLaTeX Feb 1, 2011 at 19:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .