Welcome to the Linux Foundation Forum!

Linux Libertine font with LaTeX

Hi,

I use Ubuntu with Gnome, Texlive and Texmaker.

I want to use the Libertine font in my pdf documents.

But all instructions failed.

So what have I to do to include the Libertine font?

Please do not send me some links; I've read it all.

Thanks.

Comments

  • pixel
    pixel Posts: 7
    Here is the solution I got:
    \documentclass[a4paper,10pt, twoside, smallheadings]{scrartcl} 
    
    %XeLaTeX spezific
    \usepackage[cm-default]{fontspec}
    \usepackage{xunicode}
    \usepackage{xltxtra}
    \setromanfont[Mapping=tex-text]{Linux Libertine O} %roman font
    \setsansfont[Mapping=tex-text]{Linux Libertine O} % sans font
    \setmonofont[Mapping=tex-text]{Linux Libertine O} % monospace font
    % --------------------
    
    \usepackage[utf8]{inputenc}
    \usepackage[ngerman]{babel}
    
    \begin{document}
    test.
    
    \end{document}
    

    Compile:
    xelatex -interaction=nonstopmode %.tex
    

Categories

Upcoming Training