% ctex.sty \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{ctex} [2009/10/20 v0.95 ctex macros package] \input{ctex-common-opts.def} \InputIfFileExists{ctexopts.cfg}{}{} \ProcessOptions \input{ctex-common.def} % ctex.cfg should be loaded very last \AtEndOfPackage{% \makeatletter \InputIfFileExists{ctex.cfg}{}{} \makeatother} \endinput