summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/ctexcap.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-07-20 18:00:53 +0000
committerKarl Berry <karl@freefriends.org>2009-07-20 18:00:53 +0000
commit160531a5e2d0c9b532fb083d090e1f0c451a52f8 (patch)
tree3cd7622e75a050e7dc06dac94221eb8e999d1053 /Master/texmf-dist/tex/latex/ctex/ctexcap.sty
parent20db2dd2ad3cdd6e3720c1b5d7c4acc2a5de4f24 (diff)
new chinese latex package ctex (5jul09)
git-svn-id: svn://tug.org/texlive/trunk@14341 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/ctexcap.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/ctexcap.sty30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/ctexcap.sty b/Master/texmf-dist/tex/latex/ctex/ctexcap.sty
new file mode 100644
index 00000000000..8ace4ce4137
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ctex/ctexcap.sty
@@ -0,0 +1,30 @@
+% ctexcap.sty
+
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{ctexcap}
+ [2009/06/26 v0.92 ctexcap
+ macros package]
+
+\input{ctex-common-opts.def}
+\input{ctex-caption-opts.def}
+
+\InputIfFileExists{ctexopts.cfg}{}{}
+
+\ProcessOptions
+
+\input{ctex-common.def}
+\input{ctex-caption.def}
+
+\@ifundefined{if@mainmatter}{\let\if@mainmatter\iftrue}{}
+
+\ifCTEX@cls{article}{\input{ctex-article.def}}{}
+\ifCTEX@cls{report}{\input{ctex-report.def}}{}
+\ifCTEX@cls{book}{\input{ctex-book.def}}{}
+
+% ctex.cfg should be loaded very last
+\AtEndOfPackage{%
+ \makeatletter
+ \InputIfFileExists{ctex.cfg}{}{}
+ \makeatother}
+
+\endinput