Welcome to the new 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

  • pixelpixel 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
    
Sign In or Register to comment.