template:latex: make @ letter before using it (#5145)
This fixes the previous commit for parskip and KOMA classes.
This commit is contained in:
parent
fe9c6eb86b
commit
dc8caf10df
5 changed files with 35 additions and 20 deletions
|
@ -159,13 +159,16 @@ $endif$
|
|||
}{}
|
||||
$if(indent)$
|
||||
$else$
|
||||
\makeatletter
|
||||
\@ifundefined{KOMAClassName}{%
|
||||
\IfFileExists{parskip.sty}{%
|
||||
\usepackage{parskip}
|
||||
}{% else
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
}}{\KOMAoptions{parskip=half}}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
|
||||
}{% else
|
||||
\KOMAoptions{parskip=half}}
|
||||
\makeatother
|
||||
$endif$
|
||||
$if(verbatim-in-note)$
|
||||
\usepackage{fancyvrb}
|
||||
|
|
|
@ -21,13 +21,16 @@
|
|||
\usepackage[]{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
}{}
|
||||
\makeatletter
|
||||
\@ifundefined{KOMAClassName}{%
|
||||
\IfFileExists{parskip.sty}{%
|
||||
\usepackage{parskip}
|
||||
}{% else
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
}}{\KOMAoptions{parskip=half}}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
|
||||
}{% else
|
||||
\KOMAoptions{parskip=half}}
|
||||
\makeatother
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{
|
||||
pdfborder={0 0 0},
|
||||
|
|
|
@ -21,13 +21,16 @@
|
|||
\usepackage[]{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
}{}
|
||||
\makeatletter
|
||||
\@ifundefined{KOMAClassName}{%
|
||||
\IfFileExists{parskip.sty}{%
|
||||
\usepackage{parskip}
|
||||
}{% else
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
}}{\KOMAoptions{parskip=half}}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
|
||||
}{% else
|
||||
\KOMAoptions{parskip=half}}
|
||||
\makeatother
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{
|
||||
pdfborder={0 0 0},
|
||||
|
|
|
@ -21,13 +21,16 @@
|
|||
\usepackage[]{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
}{}
|
||||
\makeatletter
|
||||
\@ifundefined{KOMAClassName}{%
|
||||
\IfFileExists{parskip.sty}{%
|
||||
\usepackage{parskip}
|
||||
}{% else
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
}}{\KOMAoptions{parskip=half}}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
|
||||
}{% else
|
||||
\KOMAoptions{parskip=half}}
|
||||
\makeatother
|
||||
\usepackage{fancyvrb}
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{
|
||||
|
|
|
@ -21,13 +21,16 @@
|
|||
\usepackage[]{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
}{}
|
||||
\makeatletter
|
||||
\@ifundefined{KOMAClassName}{%
|
||||
\IfFileExists{parskip.sty}{%
|
||||
\usepackage{parskip}
|
||||
}{% else
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
}}{\KOMAoptions{parskip=half}}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
|
||||
}{% else
|
||||
\KOMAoptions{parskip=half}}
|
||||
\makeatother
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{
|
||||
pdfborder={0 0 0},
|
||||
|
|
Loading…
Reference in a new issue