\ProvidesFile{ltxdockit.cfg}
%[ltxdockit configuration]

\catcode`\"=\active
\AtEndPreamble{%
  \@ifpackageloaded{babel}
    {\iflanguage{american}
       {\expandafter\initiate@active@char\expandafter{\string"}%
	\declare@shorthand{american}{"=}{\penalty\@M-\hskip\z@skip}%
	\addto\extrasamerican{\languageshorthands{american}\bbl@activate{"}}%
	\addto\noextrasamerican{\bbl@deactivate{"}}}
       {}}
    {}}
\catcode`\"=12

\newrobustcmd*{\tex}{TeX\xspace}
\newrobustcmd*{\etex}{\mbox{e-TeX}\xspace}
\newrobustcmd*{\pdftex}{pdf\-\tex}
\newrobustcmd*{\xetex}{Xe\-\tex}
\newrobustcmd*{\luatex}{Lua\-\tex}
\newrobustcmd*{\latex}{La\kern-0.07em TeX\xspace}
\newrobustcmd*{\pdflatex}{pdf\-\latex}
\newrobustcmd*{\xelatex}{Xe\-\latex}
\newrobustcmd*{\lualatex}{Lua\-\latex}
\newrobustcmd*{\bibtex}{Bib\kern-0.07em TeX\xspace}
\newrobustcmd*{\lppl}{\latex Project Public License\xspace}
\newrobustcmd*{\pdf}{\acr{PDF}\xspace}
\newrobustcmd*{\utf}{\mbox{\acr{UTF}-8}\xspace}
\newcommand*{\ie}{i.\,e.,\xspace}
\newcommand*{\eg}{e.\,g.,\xspace}

\pdfstringdefDisableCommands{%
  \def\tex{TeX\xspace}%
  \def\etex{e-TeX\xspace}%
  \def\xetex{XeTeX\xspace}%
  \def\latex{LaTeX\xspace}%
  \def\xelatex{XeLaTeX\xspace}%
  \def\bibtex{BibTeX\xspace}%
  \def\lppl{LaTeX Project Public License\xspace}%
  \def\pdf{PDF\xspace}%
  \def\utf{UTF-8\xspace}%
  \def\ie{i.e.,\xspace}%
  \def\eg{e.g.,\xspace}%
}

% tables

\newcommand*{\tablesetup}{%
  \let\verbatim@font\displayverbfont
  \small}

% layout

\setcounter{totalnumber}{1}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{2}
\AtBeginToc{\setcounter{tocdepth}{2}}
\AtEndToc{\setcounter{tocdepth}{5}}
\addtolength{\oddsidemargin}{1cm}
\setlength{\columnsep}{2em}
\setlength{\multicolsep}{0pt}
\clubpenalty6000\relax
\widowpenalty\@M

\renewcommand*{\labelenumi}{\theenumi.}
\renewcommand*{\labelenumii}{\theenumii)}

\renewcommand*{\verbatimfont}{\ttfamily}
\renewcommand*{\displayverbfont}{\ttfamily}
\renewcommand*{\marglistfont}{\spotcolor\sffamily}
\renewcommand*{\margnotefont}{\sffamily\small}
\renewcommand*{\optionlistfont}{\spotcolor\sffamily\displayverbfont}
\renewcommand*{\ltxsyntaxfont}{\ttfamily}
\renewcommand*{\ltxsyntaxlabelfont}{\spotcolor\displayverbfont}
\renewcommand*{\changelogfont}{\normalfont}
\renewcommand*{\changeloglabelfont}{\spotcolor\sffamily\bfseries}

% no-ops

\providecommand*{\textln}[1]{#1}

\endinput
