Skip to content

Commit

Permalink
usepackage instead of RequirePackage
Browse files Browse the repository at this point in the history
  • Loading branch information
pcafrica committed Mar 13, 2017
1 parent 15c0b80 commit 68f9e9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Set a custom font
-----------------
You can set a custom font, which has to be installed on your system, by adding the following commands to the preamble and by using XeLaTeX as compiler:
```latex
\RequirePackage{ifxetex}
\usepackage{ifxetex}
\ifxetex
\usepackage{fontspec}
\setsansfont[Scale=0.95]{Arial}
Expand Down
Binary file modified demo.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions demo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
% Full instructions available at:
% https://github.com/elauksap/beamerthemepolimi

\usepackage{lipsum}

% Set custom font (requires to compile with XeLaTeX).
\RequirePackage{ifxetex}
\usepackage{ifxetex}
\ifxetex
\usepackage{fontspec}
\setsansfont[Scale=0.95]{Arial}
\fi

\usepackage{lipsum}

\title{Title}
\subtitle{Subtitle}
\author{Author}
Expand Down

0 comments on commit 68f9e9f

Please sign in to comment.