Add fonts
This commit is contained in:
parent
df9a4d5138
commit
385787e226
BIN
font/Choumei.ttf
Normal file
BIN
font/Choumei.ttf
Normal file
Binary file not shown.
BIN
font/KanjiStrokeOrders.ttf
Normal file
BIN
font/KanjiStrokeOrders.ttf
Normal file
Binary file not shown.
12
kanjiLib.tex
12
kanjiLib.tex
@ -84,7 +84,7 @@
|
||||
% Meaning %
|
||||
% ---------------------------------------------------------------------------- %
|
||||
|
||||
\newtcolorbox{meaningBox}{
|
||||
\newtcolorbox{meaningBox}{ %TODO: Make the box autoshrink horizontally while still making newlines when it's full.
|
||||
enhanced,
|
||||
colback=black!20,
|
||||
left=15pt,
|
||||
@ -155,8 +155,14 @@
|
||||
% Kanji Drawing Box %
|
||||
% ---------------------------------------------------------------------------- %
|
||||
|
||||
\newCJKfontfamily\drawingKanji{Choumei}
|
||||
\newCJKfontfamily\drawingFirstKanji{KanjiStrokeOrders}
|
||||
\newCJKfontfamily\drawingKanji[
|
||||
Path = {./font/},
|
||||
Extension = .ttf,
|
||||
]{Choumei}
|
||||
\newCJKfontfamily\drawingFirstKanji[
|
||||
Path = {./font/},
|
||||
Extension = .ttf,
|
||||
]{KanjiStrokeOrders}
|
||||
|
||||
\newcommand{\kanjiRow}[1]{
|
||||
\resizebox{\textwidth}{!}{
|
||||
|
Loading…
Reference in New Issue
Block a user