8

I've recently switched to XeTeX. In my document I use this code to set the fonts:

\usepackage[math-style=ISO,bold-style=ISO]{unicode-math}
\usepackage{xunicode}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{Linux Libertine O}
\setsansfont{Linux Biolinum O}
\setmonofont{Inconsolata}
\setmathfont{XITS Math}

I installed Libertine and biolinium from the ubuntu repositories and I downloaded XITS and installed in my .fonts directory... Now I'd like to know what are the main differences between my approach and using the real latex packages (like libertineotf.)

doncherry
  • 54,637
  • 1
    Why don't you use the mono font from Libertine? –  Aug 30 '12 at 16:12
  • The idea came from here, but actually I don't use mono fonts that much – justmyfault Aug 31 '12 at 19:58
  • I guess using the package is seen as a simpler straightforward solution for some users, but, de facto, using one or the other of these won't change the final result. –  Sep 08 '12 at 03:05

1 Answers1

4

Local fonts reduce the portability of the source code

compiling on computers without access to those fonts.

This should not effect any output files, to the final viewing.

Optionparty
  • 344
  • 1
  • 4
  • 5