5

I just started using LaTeX, so I have no clue. I have been reading stuff such as \usepackage, as well as things as font families. If anyone could explain me, I'd be very grateful.

Werner
  • 603,163
Jonas
  • 51

1 Answers1

11

Use lualatex or xelatex to access TrueType or OpenType fonts through the fontspec package.

\documentclass[11pt]{article}
\usepackage{fontspec}
\setmainfont{Corbel}
\usepackage{lipsum}% just for some dummy text
\begin{document}
\lipsum[1]
\end{document}
Speravir
  • 19,491
GTK
  • 1,510
  • 1
    In my eyes your example with spaces inside of the definitions was misleading for a newbie, so I made an edit. – Speravir Dec 16 '12 at 01:00
  • 3
    @Jonas: you are welcome, but the best practice when a question is answered is for the person who asked the question (in this case, you) to mark the answer as accepted. This not only provides a form of thanks, it also marks the question as effectively resolved. – GTK Dec 16 '12 at 10:19