-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChineseCharactersWallchart.tex
42 lines (36 loc) · 1.07 KB
/
ChineseCharactersWallchart.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\documentclass{article}
\usepackage{fontspec}
\usepackage{xeCJK}
\usepackage{xpinyin}
\usepackage{xzhuyin}
\setCJKmainfont{WenDingCuGangBiXingKai}
\usepackage[a0paper,landscape]{geometry}
\geometry{hmargin=1.5cm, vmargin=1.5cm}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{ifthen}
\newcommand{\zhchar}[4]{%
\begin{minipage}[c][71pt][c]{65pt}
\centering
\vbox to 28pt{
\begin{tabular}{@{}p{44pt}@{}c@{}}
\fontsize{45pt}{45pt}\selectfont%
\ifthenelse{\equal{#3}{1}}{\color{red}}{}%
\ifthenelse{\equal{#3}{2}}{\color{LimeGreen}}{}%
\ifthenelse{\equal{#3}{3}}{\color{blue}}{}%
\ifthenelse{\equal{#3}{4}}{\color{Magenta}}{}%
\ifthenelse{\equal{#3}{5}}{\color{gray}}{}%
#1 & \fontsize{10pt}{0pt}\selectfont \parbox[t][40pt][c]{0pt}{\zhuyin{#2}{#3}}
\end{tabular}}
\fontsize{10pt}{10pt}\selectfont \pinyin{#2#3} \\
\fontsize{9pt}{9pt}\selectfont #4
\end{minipage}
}
\begin{document}
\input{lines/01-05}
\input{lines/06-10}
\input{lines/11-15}
\input{lines/16-20}
\input{lines/21-25}
\input{lines/26-30}
\input{lines/31-35}
\end{document}