Compare commits
6 Commits
8ea8563ec6
...
master
Author | SHA1 | Date | |
---|---|---|---|
a2caffb06b | |||
d1220c9fb8 | |||
c794416654 | |||
d35e810681 | |||
2c77311e6c | |||
7b39bb9bdc |
@ -58,7 +58,8 @@ $for(beameroption)$
|
|||||||
\setbeameroption{$beameroption$}
|
\setbeameroption{$beameroption$}
|
||||||
$endfor$
|
$endfor$
|
||||||
% Prevent slide breaks in the middle of a paragraph
|
% Prevent slide breaks in the middle of a paragraph
|
||||||
\widowpenalties 1 10000
|
\widowpenalty10000
|
||||||
|
\clubpenalty10000
|
||||||
\raggedbottom
|
\raggedbottom
|
||||||
$if(section-titles)$
|
$if(section-titles)$
|
||||||
\setbeamertemplate{part page}{
|
\setbeamertemplate{part page}{
|
||||||
@ -129,15 +130,17 @@ $endif$
|
|||||||
$if(mainfont)$
|
$if(mainfont)$
|
||||||
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
|
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
|
||||||
$else$
|
$else$
|
||||||
\setmainfont[Scale=1.0]{Georgia}
|
\setmainfont[Scale=1.0]{PT Serif}
|
||||||
$endif$
|
$endif$
|
||||||
$if(sansfont)$
|
$if(sansfont)$
|
||||||
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
|
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
|
||||||
|
$else$
|
||||||
|
\setmainfont[Scale=1.0]{PT Sans}
|
||||||
$endif$
|
$endif$
|
||||||
$if(monofont)$
|
$if(monofont)$
|
||||||
\setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$}
|
\setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$}
|
||||||
$else$
|
$else$
|
||||||
\setmonofont[Scale=0.75]{Pragmata Pro}
|
\setmonofont[Scale=0.75]{Iosevka Prog}
|
||||||
$endif$
|
$endif$
|
||||||
$for(fontfamilies)$
|
$for(fontfamilies)$
|
||||||
\newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
|
\newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
|
||||||
@ -230,6 +233,9 @@ $endif$
|
|||||||
$if(author-meta)$
|
$if(author-meta)$
|
||||||
pdfauthor={$author-meta$},
|
pdfauthor={$author-meta$},
|
||||||
$endif$
|
$endif$
|
||||||
|
$if(lang)$
|
||||||
|
pdflang={$lang$},
|
||||||
|
$endif$
|
||||||
$if(subject)$
|
$if(subject)$
|
||||||
pdfsubject={$subject$},
|
pdfsubject={$subject$},
|
||||||
$endif$
|
$endif$
|
||||||
@ -467,7 +473,9 @@ $endif$
|
|||||||
%\let\@listI\@listi
|
%\let\@listI\@listi
|
||||||
%\@listi
|
%\@listi
|
||||||
|
|
||||||
\setlength{\labelwidth}{\parindent+.7em+\labelsep}
|
\setlength{\labelwidth}{\parindent}
|
||||||
|
\addtolength{\labelwidth}{\labelsep}
|
||||||
|
\addtolength{\labelwidth}{0.7em}
|
||||||
\setlength{\itemindent}{0pt}
|
\setlength{\itemindent}{0pt}
|
||||||
\setlength{\leftmargin}{\labelwidth}
|
\setlength{\leftmargin}{\labelwidth}
|
||||||
|
|
||||||
@ -513,6 +521,36 @@ $endif$
|
|||||||
\endorigfigure
|
\endorigfigure
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\usepackage{acro}
|
||||||
|
\NewAcroTemplate[list]{acrolist}{%
|
||||||
|
\AcroNeedPackage{array}%
|
||||||
|
\acronymsmapF{%
|
||||||
|
\AcroAddRow{
|
||||||
|
\acrowrite{short}%
|
||||||
|
\acroifT{alt}{/\acrowrite{alt}}
|
||||||
|
&~---~
|
||||||
|
\acrowrite{list}%
|
||||||
|
\acroifanyT{foreign,extra}{ (}%
|
||||||
|
\acroifT{foreign}{\acrowrite{foreign}\acroifT{extra}{, }}%
|
||||||
|
\acroifT{extra}{\acrowrite{extra}}%
|
||||||
|
\acroifanyT{foreign,extra}{)}%
|
||||||
|
\acropagefill
|
||||||
|
\acropages
|
||||||
|
{\acrotranslate{page}\nobreakspace}
|
||||||
|
{\acrotranslate{pages}\nobreakspace}%
|
||||||
|
\tabularnewline
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
{\AcroRerun}%
|
||||||
|
\acroheading
|
||||||
|
\acropreamble
|
||||||
|
\par\noindent
|
||||||
|
\begin{tabular}{>{}lp{.7\linewidth}}
|
||||||
|
\AcronymTable
|
||||||
|
\end{tabular}
|
||||||
|
}
|
||||||
|
\acsetup{make-links = true, pdfcomments/use = true, list/template = acrolist, first-style = short}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
$if(has-frontmatter)$
|
$if(has-frontmatter)$
|
||||||
\frontmatter
|
\frontmatter
|
||||||
|
Reference in New Issue
Block a user