New font def to print dominos
This commit is contained in:
parent
1e7340e843
commit
b932e34c43
@ -375,6 +375,7 @@
|
|||||||
\newfontfamily\ChelseaMarket[Ligatures=TeX]{Chelsea Market}
|
\newfontfamily\ChelseaMarket[Ligatures=TeX]{Chelsea Market}
|
||||||
% \newfontfamily\Comic[Ligatures=TeX]{Comic Sans MS}
|
% \newfontfamily\Comic[Ligatures=TeX]{Comic Sans MS}
|
||||||
\newfontfamily\DejaVuSans[Ligatures=TeX]{DejaVu Sans}
|
\newfontfamily\DejaVuSans[Ligatures=TeX]{DejaVu Sans}
|
||||||
|
\newfontfamily\dominofont[Ligatures=TeX]{DejaVu Sans}
|
||||||
\newfontfamily\Delius[Ligatures=TeX]{Delius}
|
\newfontfamily\Delius[Ligatures=TeX]{Delius}
|
||||||
\newfontfamily\DeliusSC[Ligatures=TeX]{Delius Swash Caps}
|
\newfontfamily\DeliusSC[Ligatures=TeX]{Delius Swash Caps}
|
||||||
\newfontfamily\FingerPaint[Ligatures=TeX]{Finger Paint}
|
\newfontfamily\FingerPaint[Ligatures=TeX]{Finger Paint}
|
||||||
@ -399,6 +400,16 @@
|
|||||||
% }
|
% }
|
||||||
%--------------------------------------------------------
|
%--------------------------------------------------------
|
||||||
|
|
||||||
|
%---
|
||||||
|
% Print dominos
|
||||||
|
\newcommand*\d@mino[3]{%
|
||||||
|
{\dominofont\char
|
||||||
|
\numexpr #1 + #2*7 + #3
|
||||||
|
\relax
|
||||||
|
}}
|
||||||
|
\newcommand*\domino{\@ifstar{\d@mino{127075}}{\d@mino{127025}}}
|
||||||
|
%---
|
||||||
|
|
||||||
%--
|
%--
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user