Debian Codegraph @

texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-beamer.def

raw
1 %%
2 %% This is file `ctex-scheme-chinese-beamer.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% ctex.dtx (with options: `scheme,beamer,chinese')
8 %%
9 %% Copyright (C) 2003--2022
10 %% CTEX.ORG and any individual authors listed in the documentation.
11 %% ---------------------------------------------------------------------
12 %%
13 %% This work may be distributed and/or modified under the
14 %% conditions of the LaTeX Project Public License, either
15 %% version 1.3c of this license or (at your option) any later
16 %% version. This version of this license is in
17 %% http://www.latex-project.org/lppl/lppl-1-3c.txt
18 %% and the latest version of this license is in
19 %% http://www.latex-project.org/lppl.txt
20 %% and version 1.3 or later is part of all distributions of
21 %% LaTeX version 2005/12/01 or later.
22 %%
23 %% This work has the LPPL maintenance status "maintained".
24 %%
25 %% ---------------------------------------------------------------------
26 %%
27 \GetIdInfo$Id: ctex.dtx 13a2256 2022-07-14 18:54:09 +0800 Qing Lee <[email protected]> $
28 {Chinese scheme for beamer (CTEX)}
29 \ProvidesExplFile{ctex-scheme-chinese-beamer.def}
30 {\ExplFileDate}{2.5.10}{\ExplFileDescription}
31 \ctex_set:nn { part }
32 {
33 aftertitle = \par ,
34 number = \chinese { part } ,
35 format = \centering ,
36 nameformat = \usebeamerfont { part ~ name }
37 \usebeamercolor [fg] { part ~ name } ,
38 aftername = \vskip 1em \par ,
39 titleformat = \usebeamerfont { part ~ title }
40 }
41 \ctex_set:nn { section }
42 {
43 format = \centering ,
44 number = \insertsectionnumber ,
45 nameformat = \usebeamerfont { section ~ name }
46 \usebeamercolor [fg] { section ~ name } ,
47 aftername = \vskip 1em \par ,
48 titleformat = \usebeamerfont { section ~ title } ,
49 aftertitle = \par
50 }
51 \ctex_set:nn { subsection }
52 {
53 number = \arabic { section } . \arabic { subsection } ,
54 format = \centering ,
55 nameformat = \usebeamerfont { subsection ~ name }
56 \usebeamercolor [fg] { subsection ~ name } ,
57 aftername = \vskip 1em \par ,
58 titleformat = \usebeamerfont { subsection ~ title } ,
59 aftertitle = \par
60 }
61 \ctex_set:n { today = small }
62 \ctex_if_autoindent_touched:F
63 { \ctex_set:n { autoindent = true } }
64 \str_if_eq:onTF { \g__ctex_encoding_tl } { GBK }
65 {
66 \uselanguage { ChineseGBK }
67 \languagealias { chinese } { ChineseGBK }
68 \ctex_file_input:n { ctex-name-gbk.cfg }
69 }
70 {
71 \uselanguage { ChineseUTF8 }
72 \languagealias { chinese } { ChineseUTF8 }
73 \ctex_file_input:n { ctex-name-utf8.cfg }
74 }
75 \clist_put_left:Nn \trans@languagepath { chinese }
76 %%
77 %%
78 %% End of file `ctex-scheme-chinese-beamer.def'.