LaTeX template: allow passing microtypeoptions to microtype.

Thanks to Vaclav Haisman.
This commit is contained in:
John MacFarlane 2017-01-03 20:53:17 -08:00
parent 66fc644ddb
commit 2d8d735bb7
6 changed files with 8 additions and 5 deletions

View file

@ -1315,6 +1315,9 @@ LaTeX variables are used when [creating a PDF].
: allows font encoding to be specified through `fontenc` package (with `pdflatex`);
default is `T1` (see guide to [LaTeX font encodings])
`microtypeoptions`
: options to pass to the microtype package
`colorlinks`
: add color to link text; automatically enabled if any of `linkcolor`, `citecolor`,
`urlcolor`, or `toccolor` are set

@ -1 +1 @@
Subproject commit 64a97848c4969276dfa0251f5b67ce2680ee042b
Subproject commit 2dc4054e7c8809ca3fe0628cf1372fbe34df2a1b

View file

@ -18,7 +18,7 @@
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage{microtype}
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\usepackage[unicode=true]{hyperref}

View file

@ -18,7 +18,7 @@
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage{microtype}
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\usepackage[unicode=true]{hyperref}

View file

@ -18,7 +18,7 @@
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage{microtype}
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\usepackage[unicode=true]{hyperref}

View file

@ -18,7 +18,7 @@
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage{microtype}
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\usepackage[unicode=true]{hyperref}