try to adapt to pdflatex

This commit is contained in:
Jeff Lance 2021-05-27 12:36:36 +02:00
parent d02c69429d
commit d5a1dce5fb
2 changed files with 33 additions and 27 deletions

View File

@ -136,7 +136,9 @@
% %
% Set the default monospaced font % Set the default monospaced font
\setmonofont[StylisticSet=3]{Inconsolatazi4} \ifluatex
\setmonofont[StylisticSet=3]{Inconsolatazi4}
\fi
% tasks % tasks
\settasks{ \settasks{
@ -396,26 +398,30 @@
% %
% %
\newfontfamily\Annie[Ligatures=TeX]{Annie Use Your Telescope} \ifluatex
\newfontfamily\Architects[Ligatures=TeX]{Architects Daughter} \newfontfamily\Annie[Ligatures=TeX]{Annie Use Your Telescope}
\newfontfamily\Bristol[Ligatures=TeX]{Bristol} \newfontfamily\Architects[Ligatures=TeX]{Architects Daughter}
\newfontfamily\ChelseaMarket[Ligatures=TeX]{Chelsea Market} \newfontfamily\Bristol[Ligatures=TeX]{Bristol}
\newfontfamily\DejaVuSans[Ligatures=TeX]{DejaVu Sans} \newfontfamily\ChelseaMarket[Ligatures=TeX]{Chelsea Market}
\newfontfamily\dominofont[Ligatures=TeX]{DejaVu Sans} \newfontfamily\DejaVuSans[Ligatures=TeX]{DejaVu Sans}
\newfontfamily\Delius[Ligatures=TeX]{Delius} \newfontfamily\dominofont[Ligatures=TeX]{DejaVu Sans}
\newfontfamily\DeliusSC[Ligatures=TeX]{Delius Swash Caps} \newfontfamily\Delius[Ligatures=TeX]{Delius}
\newfontfamily\FingerPaint[Ligatures=TeX]{Finger Paint} \newfontfamily\DeliusSC[Ligatures=TeX]{Delius Swash Caps}
\newfontfamily\Handlee[Ligatures=TeX]{Handlee} \newfontfamily\FingerPaint[Ligatures=TeX]{Finger Paint}
\newfontfamily\Jd[Ligatures=TeX]{j.d.} \newfontfamily\Handlee[Ligatures=TeX]{Handlee}
\newfontfamily\Julee[Ligatures=TeX]{Julee} \newfontfamily\Jd[Ligatures=TeX]{j.d.}
\newfontfamily\Morse[Ligatures=TeX]{Morse} \newfontfamily\Julee[Ligatures=TeX]{Julee}
\newfontfamily\NixieOne[Ligatures=TeX]{Nixie One} \newfontfamily\Morse[Ligatures=TeX]{Morse}
\newfontfamily\PenguinAttack[Ligatures=TeX]{PenguinAttack} \newfontfamily\NixieOne[Ligatures=TeX]{Nixie One}
\newfontfamily\PokemonHollow[Ligatures=TeX]{Pokemon Hollow} \newfontfamily\PenguinAttack[Ligatures=TeX]{PenguinAttack}
\newfontfamily\PokemonSolid[Ligatures=TeX]{Pokemon Solid} \newfontfamily\PokemonHollow[Ligatures=TeX]{Pokemon Hollow}
\newfontfamily\Purisa[Ligatures=TeX]{Purisa} \newfontfamily\PokemonSolid[Ligatures=TeX]{Pokemon Solid}
\newfontfamily\ScratchedLetters[Ligatures=TeX]{Scratched Letters} \newfontfamily\Purisa[Ligatures=TeX]{Purisa}
\newfontfamily\Lato[Ligatures=TeX]{Lato} \newfontfamily\ScratchedLetters[Ligatures=TeX]{Scratched Letters}
\newfontfamily\Lato[Ligatures=TeX]{Lato}
% \else
% \newcommand\Jd[1]{{\usefont{T1}{j.d.}{m}{n} #1 }
\fi
%-------------------------------------------------------- %--------------------------------------------------------
% Intent for a more general command. % Intent for a more general command.

View File

@ -125,10 +125,10 @@
% double quoting % double quoting
%% %%
\NewDocumentCommand \og { }{ \RenewDocumentCommand \og { }{
<< <<
} }
\NewDocumentCommand \fg { }{ \RenewDocumentCommand \fg { }{
>> >>
} }
@ -216,9 +216,9 @@
%% %%
\NewDocumentCommand \coord { s m }{ \NewDocumentCommand \coord { s m }{
\IfBooleanTF { #1 } { \IfBooleanTF { #1 } {
\uplet*{#1} \uplet*{#2}
}{ }{
\uplet{#1} \uplet{#2}
} }
} }
@ -324,7 +324,7 @@
} }
} }
} }
\RenewDocumentCommand \C { s g } { \ProvideDocumentCommand \C { s g } {
\IfBooleanTF {#1} { \IfBooleanTF {#1} {
\IfNoValueTF {#2} { \IfNoValueTF {#2} {
\ensuremath{\mathbb{C} \setminus \{0\}} \ensuremath{\mathbb{C} \setminus \{0\}}
@ -349,7 +349,7 @@
} }
}{ }{
\ensuremath{ \ensuremath{
\overrightarrow{#1\vphantom(} \cdot \overrightarrow{#2\vphantom(} \overrightarrow{#2\vphantom(} \cdot \overrightarrow{#3\vphantom(}
} }
} }
} }