# How do I change the basic font into 'Corbel'?

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.

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}

• 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 1:00
• @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