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.

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?.

share|improve this question

closed as too localized by Joseph Wright Sep 16 '12 at 17:11

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Do 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
add comment

1 Answer 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: enter image description here

Of course compile with xelatex $filename.

share|improve this answer
add comment

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