How can Gentium be used as default font with pdflatex from TeX Live 2012? Somehow Gentium is included in TeX Live but cannot be accessed with \usepackage{gentium}, see What font packages are installed in TeX live?.
Asked
Active
Viewed 510 times
1
-
2Do you have the option to use XeLaTeX? It would make this a lot easier. – AstroPig7 Aug 15 '12 at 19:05
-
That should be possible. So i rephrase the question: What is the easiest way to access the gentium font included in texlive 2012 as default font with pdftex/XeLaTeX/Luatex ...? – Daniel Aug 15 '12 at 19:22
-
Welcome to TeX.sx! You should edit your question as well, so that the rephrasing isn't "hidden away" in a comment. – Torbjørn T. Aug 15 '12 at 21:05
1 Answers
1
With XeLaTeX, this works for me:
\documentclass[english]{article}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{Gentium}
\usepackage{babel}
\begin{document}
Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum.
\end{document}
Here's the result:

Of course compile with xelatex $filename.
walkmanyi
- 710