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.

Possible Duplicate:
Install OpenType fonts in Texlive

I am looking to create some documents in LibreOffice and LaTeX. To maintain consistency I want to use the same font FreeSerif in both set of documents. Is there a way to use FreeSerif fonts in LaTeX?

share|improve this question

marked as duplicate by Marco Daniel, percusse, Claudio Fiandrino, Martin Schröder, Paul Gaborit Sep 16 '12 at 13:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
See tex.stackexchange.com/q/62288/16895 –  Guido Aug 17 '12 at 23:52
    
Which font FreeSerif do you use? This one? Do you mean pdflatex with LaTeX or lualatex or xetex? –  Kurt Sep 14 '12 at 0:33

1 Answer 1

up vote 1 down vote accepted
\usepackage{fontspec}
\setmainfont{FreeSerif}
\setsansfont{FreeSans}
\setmonofont{FreeMono}

And run xelatex.

share|improve this answer
3  
Ought to mention that fontspec is Xe/LuaTeX only - not for pdfTeX users... –  Brent.Longborough Aug 18 '12 at 6:04

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