Guest User

Untitled

a guest
Apr 26th, 2016
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. % !TeX document-id = {09f2812a-13fc-4c92-9510-5b529c8eef19}
  2. % !TeX TXS-program:compile = txs:///xelatex/[--shell-escape]
  3. \documentclass{article}
  4. %% fonts and special characters
  5. %\usepackage[oldstyle]{libertine}% public domain font % \setmainfont unnecessary
  6. \usepackage{ifxetex}% load different packages with/without XeLaTex
  7. \ifxetex
  8. \usepackage{fontspec}% provides \setmainfont
  9. \setmainfont[Numbers=OldStyle,Ligatures=Common,Mapping=tex-text]{Linux Libertine O}% public domain font % use libertine package instead
  10. \else % not needed with utf8 based engines
  11. \usepackage[utf8]{inputenc}
  12. \usepackage[T1]{fontenc}
  13. \usepackage{lmodern}
  14. \fi%
  15. \usepackage[french]{babel}
  16. \usepackage[babel]{csquotes}%\endquote,\textquote, \blockquote,\foreignquote
  17. %%
  18. \usepackage{lipsum}
  19. %\usepackage[oldstyle]{libertine}% public domain font % \setmainfont unnecessary
  20. \begin{document}
  21. \section*{Testing fonts}
  22. \lipsum
  23. \end{document}
RAW Paste Data