diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/opt/ctex-class-opts.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/opt/ctex-class-opts.def | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/opt/ctex-class-opts.def b/Master/texmf-dist/tex/latex/ctex/opt/ctex-class-opts.def new file mode 100644 index 00000000000..7e43247b92e --- /dev/null +++ b/Master/texmf-dist/tex/latex/ctex/opt/ctex-class-opts.def @@ -0,0 +1,26 @@ +% ctex-class.opt: options for ctex class files +% vim:ft=tex + +% font size + +\newif\ifCTEX@sfoursize \CTEX@sfoursizefalse +\DeclareOption{cs4size}{\CTEX@sfoursizetrue\CTEX@fivesizefalse} +\newif\ifCTEX@fivesize \CTEX@fivesizetrue +\DeclareOption{c5size}{\CTEX@fivesizetrue\CTEX@sfoursizefalse} + +\DeclareOption{10pt}{% + \CTEX@sfoursizefalse\CTEX@fivesizefalse% + \PassOptionsToClass{\CurrentOption}% + {\CTEX@classtoload}} +\DeclareOption{11pt}{% + \CTEX@sfoursizefalse\CTEX@fivesizefalse% + \PassOptionsToClass{\CurrentOption}% + {\CTEX@classtoload}} +\DeclareOption{12pt}{% + \CTEX@sfoursizefalse\CTEX@fivesizefalse% + \PassOptionsToClass{\CurrentOption}% + {\CTEX@classtoload}} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}% + {\CTEX@classtoload}} + +\endinput |