try to apdapt to pdflatex
This commit is contained in:
parent
d5a1dce5fb
commit
372e2dc3e6
@ -419,8 +419,11 @@
|
|||||||
\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
|
\else
|
||||||
% \newcommand\Jd[1]{{\usefont{T1}{j.d.}{m}{n} #1 }
|
\newcommand\newFontCommand[2]{%
|
||||||
|
\expandafter\newcommand\csname #1\endcsname{\usefont{T1}{#2}{m}{n}}}
|
||||||
|
|
||||||
|
\newFontCommand{Jd}{j.d.}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
%--------------------------------------------------------
|
%--------------------------------------------------------
|
||||||
@ -456,7 +459,7 @@
|
|||||||
% Create a macro which can be accessed with the name "\color".
|
% Create a macro which can be accessed with the name "\color".
|
||||||
% This macro make the following text to be colored in color.
|
% This macro make the following text to be colored in color.
|
||||||
\newcommand\newColorCommand[1]{%
|
\newcommand\newColorCommand[1]{%
|
||||||
\expandafter\newcommand\csname #1\endcsname{\color{#1}}}
|
\expandafter\newcommand\csname #1\endcsname{\color{#1}}}
|
||||||
|
|
||||||
% Create some color commands
|
% Create some color commands
|
||||||
\newColorCommand{red}
|
\newColorCommand{red}
|
||||||
|
Loading…
Reference in New Issue
Block a user