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

  • Posts: 7
    Here is the solution I got:
    1. \documentclass[a4paper,10pt, twoside, smallheadings]{scrartcl}
    2.  
    3. %XeLaTeX spezific
    4. \usepackage[cm-default]{fontspec}
    5. \usepackage{xunicode}
    6. \usepackage{xltxtra}
    7. \setromanfont[Mapping=tex-text]{Linux Libertine O} %roman font
    8. \setsansfont[Mapping=tex-text]{Linux Libertine O} % sans font
    9. \setmonofont[Mapping=tex-text]{Linux Libertine O} % monospace font
    10. % --------------------
    11.  
    12. \usepackage[utf8]{inputenc}
    13. \usepackage[ngerman]{babel}
    14.  
    15. \begin{document}
    16. test.
    17.  
    18. \end{document}

    Compile:
    1. xelatex -interaction=nonstopmode %.tex

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training