4

Possible Duplicate:
Load fonts that are in a ./fonts directory

I have a TTF file zapf-chancery.ttf in the same folder as my LaTeX document. How do I make this font available in my document?

marked as duplicate by Alan Munn, Leo Liu, lockstep, Caramdir, Matthew Leingang May 16 '11 at 18:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • do you really mean luatex and not lualatex? – user2478 May 16 '11 at 14:43
  • I probably mean lualatex :-) – Aaron Digulla May 16 '11 at 15:12
3

you did not wrote how do you want to use the font. Here is an example as a main font:

\listfiles
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Path=/home/voss/]{zapf-chancery.ttf}
\begin{document}
\Huge
foo bar baz

\end{document}

enter image description here

3

If you use plain LuaTeX, you can use.

\input luaotfload.sty
\font\1={times.ttf}
\1 Times New Roman
\bye

And you should certainly use fontspec for LuaLaTeX.

Not the answer you're looking for? Browse other questions tagged or ask your own question.