Monday, February 24, 2014

LaTeX Series: XeLaTeX

Knowledge of the day:

You can use XeLaTeX to use system fonts instead of limited to fonts provided by TeX.

Try it yourself using the following codes, and compile with XeLaTeX

\documentclass[11pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{fontspec}
\setmainfont{Arial Narrow}
\begin{document}
\blindtext
\end{document}

Happy "XeLaTeX"ing

No comments: