LaTeX template: disable ` ?
` and
!
`` ligatures.
These are often triggered by accident in languagegs that use ` `` ` for end quote (e.g. German). See jgm/citeproc#54.
This commit is contained in:
parent
53cf8295a4
commit
24d7cd539b
5 changed files with 5 additions and 0 deletions
|
@ -181,6 +181,7 @@ $endif$
|
|||
\IfFileExists{microtype.sty}{% use microtype if available
|
||||
\usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
\DisableLigatures[?,!]{encoding=T1} % disable ?` and !` ligatures
|
||||
}{}
|
||||
$if(indent)$
|
||||
$else$
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
\IfFileExists{microtype.sty}{% use microtype if available
|
||||
\usepackage[]{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
\DisableLigatures[?,!]{encoding=T1} % disable ?` and !` ligatures
|
||||
}{}
|
||||
\makeatletter
|
||||
\@ifundefined{KOMAClassName}{% if non-KOMA class
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
\IfFileExists{microtype.sty}{% use microtype if available
|
||||
\usepackage[]{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
\DisableLigatures[?,!]{encoding=T1} % disable ?` and !` ligatures
|
||||
}{}
|
||||
\makeatletter
|
||||
\@ifundefined{KOMAClassName}{% if non-KOMA class
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
\IfFileExists{microtype.sty}{% use microtype if available
|
||||
\usepackage[]{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
\DisableLigatures[?,!]{encoding=T1} % disable ?` and !` ligatures
|
||||
}{}
|
||||
\makeatletter
|
||||
\@ifundefined{KOMAClassName}{% if non-KOMA class
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
\IfFileExists{microtype.sty}{% use microtype if available
|
||||
\usepackage[]{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
\DisableLigatures[?,!]{encoding=T1} % disable ?` and !` ligatures
|
||||
}{}
|
||||
\makeatletter
|
||||
\@ifundefined{KOMAClassName}{% if non-KOMA class
|
||||
|
|
Loading…
Add table
Reference in a new issue