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.

I'd like to use the gentium font in a LaTeX document, and the instructions I found at this site make it look rather difficult.

Is there a simple package that is now available that would allow me to use the gentium font more easily?

share|improve this question
1  
One simple solution is to use XeLaTeX, which can use any system fonts. :-) See this question. –  ShreevatsaR Jul 29 '10 at 2:02
    
This question should imho be tagged with specific engines if there is an answer for them. –  Dima Jul 29 '10 at 9:19
    
@ShreevatsaR, I did manage to get it to work with XeLaTeX in the end. Could you post that as an answer (with a simple working example) so I can accept it? –  bryn Aug 4 '10 at 10:39

5 Answers 5

up vote 8 down vote accepted

Posting the XeLaTeX comment as an answer, per suggestion. You just \setromanfont{Gentium}.

Note that the font Gentium doesn't yet have a bold variant, so if you need to use bold frequently, it's recommended that you use a different font. (If your interest in Gentium is because of its wide character repertoire, you may want to use a font like Charis SIL. If your interest was in the appearance, then there's a "Gentium Basic" that doesn't include Greek or Cyrillic characters, but has bold variants.) But in practice I found I could use Gentium with Gentium Basic Bold as the bold font, and it looks natural to my eyes (you still won't have bold Greek, of course):

\documentclass{article}
\usepackage{fontspec}
\setromanfont[BoldFont={Gentium Basic Bold},ItalicFont={Gentium Italic}]{Gentium}

\begin{document}
Look:\\
Hèllö wőrld: γεντιυμ \textit{Italic} \textbf{Bold}\\
\textbf{Hèllö wőrld}: γεντιυμ \textit{Italic} Bold
\end{document}
share|improve this answer

If you want to use pdfLaTeX, you can use the autoinst tool.

cd ${YOUR_TEX_DOCUMENT_DIR}
autoinst ${PATH_TO_GENTIUM}/Gen*.ttf

This will convert the ttf files and create a Gentium.sty file in the current directory. Now you can simply

\usepackage{Gentium}

to switch your LaTeX font to Gentium. Alternatively, try GentiumBasic for bold.

share|improve this answer

Now there is a gentium-tug package that enables you to

\usepackage{gentium}

No additional steps required.

share|improve this answer

The gentium package found on CTAN may help get you started with using Gentium in pdfLaTeX.

share|improve this answer
    
Sadly this doesn't seem to work for me. After installing it I included \usepackage{gentium} and received "LaTeX Error: File `gentium.sty' not found.". Not sure if this is relevant: "Other encodings, and LaTeX support remain to be added." (from the linked page on CTAN). –  bryn Aug 4 '10 at 10:23

While the XeLaTeX way is probably easier, if you wanted to stick with pdflatex, you could try the fontinst tool for creating the necessary package.

share|improve this answer
3  
Just tried this using the autoinst script from the fontools package on CTAN and now have Gentium working with pdflatex. –  frabjous Aug 5 '10 at 1:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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