Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question

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? –  Herbert May 16 '11 at 14:43
    
I probably mean lualatex :-) –  Aaron Digulla May 16 '11 at 15:12
add comment

2 Answers

up vote 2 down vote accepted

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

share|improve this answer
    
That looks promising but do I have to specify the path? I can't expect others to run lualatex in the same folder as I do. –  Aaron Digulla May 16 '11 at 19:58
    
This answer and tex.stackexchange.com/questions/12565/… pointed me in the right direction. Thanks a lot! –  Aaron Digulla May 16 '11 at 20:00
add comment

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.

share|improve this answer
add comment

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