LaTeX template: allow passing `microtypeoptions` to microtype.
Thanks to Vaclav Haisman.
commit2d8d735bb7994dbac2faaf2bb86a81f25cf38b52
authorJohn MacFarlane <jgm@berkeley.edu>
dateTue 3 Jan 2017, 20:53 (10 years ago)
parent66fc644
MANUAL.txt+3
@@ -1315,6 +1315,9 @@ LaTeX variables are used when [creating a PDF].
13151315: allows font encoding to be specified through `fontenc` package (with `pdflatex`);
13161316 default is `T1` (see guide to [LaTeX font encodings])
13171317
1318+`microtypeoptions`
1319+: options to pass to the microtype package
1320+
13181321`colorlinks`
13191322: add color to link text; automatically enabled if any of `linkcolor`, `citecolor`,
13201323 `urlcolor`, or `toccolor` are set
data/templates+1−1
Submodule changed.
tests/lhs-test.latex+1−1
@@ -18,7 +18,7 @@
1818\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
1919% use microtype if available
2020\IfFileExists{microtype.sty}{%
21−\usepackage{microtype}
21+\usepackage[]{microtype}
2222\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
2323}{}
2424\usepackage[unicode=true]{hyperref}
tests/lhs-test.latex+lhs+1−1
@@ -18,7 +18,7 @@
1818\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
1919% use microtype if available
2020\IfFileExists{microtype.sty}{%
21−\usepackage{microtype}
21+\usepackage[]{microtype}
2222\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
2323}{}
2424\usepackage[unicode=true]{hyperref}
tests/writer.latex+1−1
@@ -18,7 +18,7 @@
1818\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
1919% use microtype if available
2020\IfFileExists{microtype.sty}{%
21−\usepackage{microtype}
21+\usepackage[]{microtype}
2222\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
2323}{}
2424\usepackage[unicode=true]{hyperref}
tests/writers-lang-and-dir.latex+1−1
@@ -18,7 +18,7 @@
1818\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
1919% use microtype if available
2020\IfFileExists{microtype.sty}{%
21−\usepackage{microtype}
21+\usepackage[]{microtype}
2222\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
2323}{}
2424\usepackage[unicode=true]{hyperref}