LaTeX template: allow passing microtypeoptions to microtype.

Thanks to Vaclav Haisman.
This commit is contained in:
John MacFarlane
2017-01-03 21:04:50 -08:00
parent 66fc644ddb
commit 2d8d735bb7
6 changed files with 8 additions and 5 deletions
+3
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
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}
+1 -1
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}
+1 -1
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}
+1 -1
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}