@@ -23,17 +23,6 @@
2323\usepackage{microtype}
2424\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
2525}{}
26−\usepackage{fancyvrb}
27−\VerbatimFootnotes
28−\usepackage{graphicx,grffile}
29−\makeatletter
30−\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
31−\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
32−\makeatother
33−% Scale images if necessary, so that they will not overflow the page
34−% margins by default, and it is still possible to overwrite the defaults
35−% using explicit options in \includegraphics[width, height, ...]{}
36−\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
3726\ifxetex
3827 \usepackage[setpagesize=false, % page size defined by xetex
3928 unicode=false, % unicode breaks when used with xetex
@@ -51,6 +40,17 @@
5140 linkcolor=magenta,
5241 pdfborder={0 0 0}}
5342\urlstyle{same} % don't use monospace font for urls
43+\usepackage{fancyvrb}
44+\VerbatimFootnotes
45+\usepackage{graphicx,grffile}
46+\makeatletter
47+\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
48+\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
49+\makeatother
50+% Scale images if necessary, so that they will not overflow the page
51+% margins by default, and it is still possible to overwrite the defaults
52+% using explicit options in \includegraphics[width, height, ...]{}
53+\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
5454\usepackage[normalem]{ulem}
5555% avoid problems with \sout in headers with hyperref:
5656\pdfstringdefDisableCommands{\renewcommand{\sout}{}}