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.
Asked
Active
Viewed 3,622 times
1 Answers
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}
-
1In 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
fontspecand Lua(La)TeX or Xe(La)TeX - or ConTeXt, what is another TeX dialect. – Speravir Dec 16 '12 at 00:56