diff options
author | Andrew Dunning <adunning@users.noreply.github.com> | 2019-01-10 14:24:27 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-10 11:24:27 -0800 |
commit | 666bf8ac5cf2574303874be2cd8234e8b99ad459 (patch) | |
tree | 298d6486789e3afed1905015cd789c94ea8f9b0f /src/Text/Pandoc/SelfContained.hs | |
parent | 35971495abbc15342f0035040f964ed4dd3b0c5d (diff) | |
download | pandoc-666bf8ac5cf2574303874be2cd8234e8b99ad459.tar.gz |
LaTeX template: Prevent scaling of main font (#5212)
When `Scale=MatchLowercase` is set as a default font option, this scales `mainfont` against the old default, meaning that it resizes whatever is set as the main font to match the metrics of Latin Modern. This can result, for example, in a document set to 12pt appearing in 11pt or 13pt. Setting this option for individual families allows everything to scale against the main font, and permits the user to override the setting if desired. Note that it is not necessary to specify `Ligatures=TeX`, as this is already set by default for the appropriate families. See the `fontspec` manual: <https://ctan.org/pkg/fontspec>.
Those who specify font-options in metadata may need to add `Scale=MatchLowercase`, which will now only be provided if `(roman|sans|math|mono)fontoptions` aren't given explicitly.
Diffstat (limited to 'src/Text/Pandoc/SelfContained.hs')
0 files changed, 0 insertions, 0 deletions