+\DeclareOption{16pt}{%
+\AtEndOfClass{%
+% font size definitions, similar to ones in /usr/share/texmf-texlive/tex/latex/base/
+\renewcommand\normalsize{%
+ \@setfontsize\normalsize{16pt}{18pt}%
+ \abovedisplayskip 15\p@ \@plus3\p@ \@minus7\p@
+ \abovedisplayshortskip \z@ \@plus3.5\p@
+ \belowdisplayshortskip 8\p@ \@plus4\p@ \@minus3\p@
+ \belowdisplayskip \abovedisplayskip
+ \let\@listi\@listI}\normalsize%
+\renewcommand\footnotesize{%
+ \@setfontsize\footnotesize\@xpt\@xiipt
+ \abovedisplayskip 12\p@ \@plus2\p@ \@minus5\p@
+ \abovedisplayshortskip \z@ \@plus3.5\p@
+ \belowdisplayshortskip 7\p@ \@plus3.5\p@ \@minus3\p@
+ \def\@listi{\leftmargin\leftmargini
+ \topsep 7\p@ \@plus2.5\p@ \@minus2.5\p@
+ \parsep 3.5\p@ \@plus2.5\p@ \@minus\p@
+ \itemsep \parsep}%
+ \belowdisplayskip \abovedisplayskip
+}%
+}%
+}
+
+\newif\iflargefont
+\largefontfalse
+
+\DeclareOption{26pt}{%
+\largefonttrue
+\AtEndOfClass{%
+% font size definitions, similar to ones in /usr/share/texmf-texlive/tex/latex/base/
+\renewcommand\normalsize{%
+ \@setfontsize\normalsize{26pt}{31pt}%
+ \abovedisplayskip 14\p@ \@plus6\p@ \@minus14\p@
+ \abovedisplayshortskip \z@ \@plus6\p@
+ \belowdisplayshortskip 13\p@ \@plus7\p@ \@minus6\p@
+ \belowdisplayskip \abovedisplayskip
+ \let\@listi\@listI}\normalsize%
+ \setlength{\parindent}{1.5em}%
+\renewcommand\footnotesize{%
+ \@setfontsize\footnotesize{15pt}{20pt}
+ \abovedisplayskip 20\p@ \@plus4\p@ \@minus10\p@
+ \abovedisplayshortskip \z@ \@plus6\p@
+ \belowdisplayshortskip 12\p@ \@plus6\p@ \@minus6\p@
+ \def\@listi{\leftmargin\leftmargini
+ \topsep 12\p@ \@plus4\p@ \@minus4\p@
+ \parsep 6\p@ \@plus4\p@ \@minus\p@
+ \itemsep \parsep}%
+ \belowdisplayskip \abovedisplayskip
+}%
+\renewcommand\LARGE{\@setfontsize\LARGE{41pt}{50pt}}%
+\renewcommand\huge{\@setfontsize\huge{49pt}{60pt}}%
+}%
+}
+
+% not supported on texlive version on jessie, and has weird side effects in some readers
+%% \XeTeXgenerateactualtext=1