Merge remote-tracking branch 'origin/master'

This commit is contained in:
Andrei Astafev 2022-12-26 10:33:44 +03:00
commit d1220c9fb8

View File

@ -58,7 +58,8 @@ $for(beameroption)$
\setbeameroption{$beameroption$}
$endfor$
% Prevent slide breaks in the middle of a paragraph
\widowpenalties 1 10000
\widowpenalty10000
\clubpenalty10000
\raggedbottom
$if(section-titles)$
\setbeamertemplate{part page}{
@ -129,15 +130,17 @@ $endif$
$if(mainfont)$
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
$else$
\setmainfont[Scale=1.0]{Georgia}
\setmainfont[Scale=1.0]{PT Serif}
$endif$
$if(sansfont)$
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
$else$
\setmainfont[Scale=1.0]{PT Sans}
$endif$
$if(monofont)$
\setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$}
$else$
\setmonofont[Scale=0.75]{Pragmata Pro}
\setmonofont[Scale=0.75]{Iosevka Prog}
$endif$
$for(fontfamilies)$
\newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
@ -230,6 +233,9 @@ $endif$
$if(author-meta)$
pdfauthor={$author-meta$},
$endif$
$if(lang)$
pdflang={$lang$},
$endif$
$if(subject)$
pdfsubject={$subject$},
$endif$