%%
%% This is file `classpack.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% classpack.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Copyright © 2009– by Silmaril Consultants
%% 
%% This file was generated from an XML master source.
%% Amendments and corrections should be notified to the
%% maintainer for inclusion in future versions.
%% 
\NeedsTeXFormat{LaTeX2e}[2015/01/01]
\ProvidesPackage{classpack}[2020/05/19 v1.19
  Macros for ClassPack documentation]
%%
%% Packages required for the class or package
%%
%% Provide for graphics (PNG, JPG, or PDF format (only) for pdflatex; EPS format (only) for standard \LaTeX{}).
\RequirePackage{graphicx}%
%% Additional column formatting types for tables.
\RequirePackage{array}%
%% Handling of URI formatting.
\RequirePackage{url}%
%% Adds more flexibiltiy to marginal notes.
\RequirePackage[fulladjust]{marginnote}%
%%
%% ******************************************************************
%%
%% Index settings
\@ifundefined{c@IndexColumns}{}{\setcounter{IndexColumns}{2}}
\setlength{\columnsep}{3pc}
%%
%% ******************************************************************
%%
%% Annotation settings
\def\MacroFont{\fontencoding\encodingdefault
  \ttfamily\fontseries{m}\fontshape\updefault
  \small\selectfont\color{DarkBlue}}
\newlength{\CPKrevmarg}
\setlength{\CPKrevmarg}{25mm}
\newcommand{\CPKrunningecho}[1]{\leavevmode
  \marginnote[\sloppy\raggedleft\color{LightGrey}\hspace{0pt}#1]%
             {\sloppy\raggedright\color{LightGrey}\hspace{0pt}#1}%
}
\let\marginfont\ttfamily
%%
%% ******************************************************************
%%
%% Table of Contents
\renewcommand*\l@subsection{%
  \@dottedtocline{2}{1.5em}{2.7em}}
\renewcommand*\l@subsubsection{%
  \@dottedtocline{3}{4.2em}{3.6em}}
\renewcommand{\@pnumwidth}{3em}
\renewcommand{\@tocrmarg}{4em plus1fil}
%%
%% ******************************************************************
%%
%% Lower-level sectioning
\renewcommand\subsubsection{%
  \@startsection{subsubsection}{3}{\z@}%
    {-1ex\@plus -.25ex \@minus -.25ex}%
    {1ex \@plus .25ex}%
    {\sffamily\normalsize\bfseries}}
%%
%% ******************************************************************
%%
%% Appendix settings
\renewcommand\appendix{\par
  \setcounter{section}{0}%
  \setcounter{subsection}{0}%
  \gdef\thesection{\@Alph\c@section}}
%%
%% ******************************************************************
%%
%% TeX and other logos
\def\ConTeXt{C\kern-.0333emon\-\kern-.0667em\TeX
  \kern-.0333emt}
\def\tubreflect#1{%
  \@ifundefined{reflectbox}{%
    \PackageError{classpack}%
      {A graphics package must be loaded for \string\XeTeX}%
      {Add the graphicx package to your Preamble}%
  }{% otherwise OK
    \ifdim \fontdimen1\font>0pt
      \raise 1.75ex \hbox{\kern.1em
        \rotatebox{180}{#1}}\kern-.1em
    \else
      \reflectbox{#1}%
    \fi
  }%
}
\def\tubhideheight#1{\setbox0=\hbox{#1}%
  \ht0=0pt \dp0=0pt \box0 }
\DeclareRobustCommand\Xe[1]{\leavevmode
  \tubhideheight{\hbox{X%
    \setbox0=\hbox{\TeX}\setbox1=\hbox{E}%
    \lower\dp0\hbox{\raise\dp1\hbox{%
      \kern-.125em\tubreflect{E}}}%
    \kern-.1667em #1}}}
\def\XeTeX{\Xe\TeX}
\def\XeLaTeX{\Xe{\,\LaTeX}}
\DeclareRobustCommand\SMC{%
  \ifx\@currsize\normalsize\small\else
   \ifx\@currsize\small\footnotesize\else
    \ifx\@currsize\footnotesize\scriptsize\else
     \ifx\@currsize\large\normalsize\else
      \ifx\@currsize\Large\large\else
       \ifx\@currsize\LARGE\Large\else
        \ifx\@currsize\scriptsize\tiny\else
         \ifx\@currsize\tiny\tiny\else
          \ifx\@currsize\huge\LARGE\else
           \ifx\@currsize\Huge\huge\else
            \small\SMC@unknown@warning
 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
}
\newcommand\SMC@unknown@warning{\PackageError{classpack}%
  {\string\SMC: nonstandard text font size command -- using
  \string\small}%
  {Check the font size or scaling for \the\@currsize}}
\newcommand\textSMC[1]{{\SMC #1}}
    \def\Bib{%
  \ifdim \fontdimen1\font>0pt
     B{\SMC\SMC IB}%
  \else
     \textsc{Bib}%
  \fi
}
\def\BibTeX{\Bib\kern-.08em \TeX}
\let\BiBTeX\BibTeX
\let\BIBTeX\BibTeX
%%
%% ******************************************************************
%%
%% Formatting additions
\newcommand{\CPKvstrut}{\vrule height1.2em depth.6667ex width0pt}
\def\CPKmenusep{\thinspace$\rightarrow$\thinspace\allowbreak}
\newcommand{\CPKprestrut}{\vrule height1em width0pt}
\newcommand{\CPKpoststrut}{\vrule depth.5ex width0pt}
\hyphenation{ele-ment ele-ments attri-bute attri-butes
  docu-ment docu-ments primi-tive helico-pter}
\renewcommand*\descriptionlabel[1]{%
  \hspace\labelsep\sffamily\bfseries #1}
\newcounter{CPKcoref}

\endinput
%%
%% End of file `classpack.sty'.
