Last active
August 29, 2015 14:18
-
-
Save tclv/7851203e43fc4c6d2e2b to your computer and use it in GitHub Desktop.
Xelatex font snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{ifxetex} | |
\ifxetex | |
\usepackage{fontspec} | |
\defaultfontfeatures{Ligatures=TeX} % To support LaTeX quoting style | |
\setromanfont{Palatino Linotype} %mijn fonts | |
\setmonofont{Source Code Pro for Powerline} %mijn vim font | |
\else | |
\usepackage[T1]{fontenc} | |
\usepackage[utf8]{inputenc} | |
\fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment