Debian Codegraph @

texmf-dist/tex/latex/genealogytree/gtrlang.chinese.code.tex

raw
1 % !TeX encoding=UTF-8
2 % :encoding=UTF-8:
3 %% The LaTeX package genealogytree - version 2.4.0 (2026/05/06)
4 %% gtrlang.chinese.code.tex: Chinese language-Simplified
5 %%
6 %% -------------------------------------------------------------------------------------------
7 %% Copyright (c) 2013-2026 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
8 %% Translation by Chen Yanzheng <snbcyz at mail dot ustc dot edu dot cn>
9 %% -------------------------------------------------------------------------------------------
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18 %%
19 %% This work has the LPPL maintenance status `author-maintained'.
20 %%
21 %% This work consists of all files listed in README
22 %%
23 \gtr@set@library@version{2.4.0}
24
25 \gtrset{language@/chinese/.code={%
26 \gtrset{symlang/.cd,
27 Born={出生},
28 Bornoutofwedlock={非婚生},
29 Stillborn={死产},
30 Diedonbirthday={出生当日死亡},
31 Baptized={受洗},
32 Engaged={订婚},
33 Married={结婚},
34 Divorced={离婚},
35 Partnership={未婚伴侣},
36 Floruit={在世时期},
37 Died={死亡},
38 Killed={阵亡},
39 Buried={下葬},
40 Funeralurn={火化},
41 Female={女性},
42 Male={男性},
43 Neuter={性别不详/中性}
44 }%
45 \gtrset{%
46 month long/.cd,
47 01/.initial=1月,
48 02/.initial=2月,
49 03/.initial=3月,
50 04/.initial=4月,
51 05/.initial=5月,
52 06/.initial=6月,
53 07/.initial=7月,
54 08/.initial=8月,
55 09/.initial=9月,
56 10/.initial=10月,
57 11/.initial=11月,
58 12/.initial=12月,
59 }%
60 \gtrset{%
61 month short/.cd,
62 01/.initial=1\protect\dot,
63 02/.initial=2\protect\dot,
64 03/.initial=3\protect\dot,
65 04/.initial=4\protect\dot,
66 05/.initial=5\protect\dot,
67 06/.initial=6\protect\dot,
68 07/.initial=7\protect\dot,
69 08/.initial=8\protect\dot,
70 09/.initial=9\protect\dot,
71 10/.initial=10\protect\dot,
72 11/.initial=11\protect\dot,
73 12/.initial=12\protect\dot,
74 }%
75 \gtrset{%
76 set@typical@date@format=yyyy-mm-dd,
77 calendar text for=AD is {公元}{},
78 calendar text for=BC is {公元前}{},
79 calendar text for=GR is {格里高利历}{},
80 calendar text for=JU is {儒略历}{},
81 calendar text for=caAD is {约公元}{},
82 calendar text for=caBC is {约公元前}{},
83 calendar text for=ca is {约}{},
84 date range full={自}{至}{},
85 date range before={}{以前},
86 date range after={}{以后},
87 place text={于}{},
88 }%
89 }}
90 %SPECIAL NOTE:\usepackage{CJK}
91 %\begin{document}
92 %\begin{CJK*}{UTF8}{gbsn}
93 %gbsn IS THE FONT
94 %CONTENT
95 %\end{CJK*}
96 %\end{document}