Make it portable

Make your document portable

Sometimes it is desirable to send papers to others without them having to install the class, then include cc-cls-inline.tex . (Alas this increases your file by about 200KB.) Please remove the following changes prior to sending your file to us, it will have no effect here. You have two options:

  1. Simply include cc-cls-inline.tex in your file just before the \documentclass. This has the drawback that your personal texts starts only after many lines irrelevant to you.
  2. Insert your file in the following framework:
  • \newif\ifcc\IfFileExists{cc.cls}{\cctrue}{\ccfalse}\ifcc\csname fi\endcsname
    %%% include your document here %%% (formatted as described in the documentation or %%%  sketched by the template file).
    \endinput\else %%% include cc-cls-inline.tex here. \typeout{Please call latex again.} \makeatletter\expandafter\@@end \fi This has the advantage that the cc stuff is at the end.  The drawback is that you need to call LaTeX once more.