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
\ifluatex
\setmonofont[StylisticSet=3]{Inconsolatazi4} \setmonofont[StylisticSet=3]{Inconsolatazi4}
\fi
% tasks % tasks
\settasks{ \settasks{
@ -396,6 +398,7 @@
% %
% %
\ifluatex
\newfontfamily\Annie[Ligatures=TeX]{Annie Use Your Telescope} \newfontfamily\Annie[Ligatures=TeX]{Annie Use Your Telescope}
\newfontfamily\Architects[Ligatures=TeX]{Architects Daughter} \newfontfamily\Architects[Ligatures=TeX]{Architects Daughter}
\newfontfamily\Bristol[Ligatures=TeX]{Bristol} \newfontfamily\Bristol[Ligatures=TeX]{Bristol}
@ -416,6 +419,9 @@
\newfontfamily\Purisa[Ligatures=TeX]{Purisa} \newfontfamily\Purisa[Ligatures=TeX]{Purisa}
\newfontfamily\ScratchedLetters[Ligatures=TeX]{Scratched Letters} \newfontfamily\ScratchedLetters[Ligatures=TeX]{Scratched Letters}
\newfontfamily\Lato[Ligatures=TeX]{Lato} \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(}
} }
} }
} }