summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cfg
blob: d7df9098ffea804485d8fcddd97551b9b06fddbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
% $Id: ltxdockit.cfg,v 1.1 2008/10/12 19:50:56 lehman stable $

\ProvidesFile{ltxdockit.cfg}[2008/10/12 v1.1 ltxdockit configuration (DFSG-free)]
\RequirePackage{lmodern}

\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

\newcommand*{\tex}{TeX\xspace}
\newcommand*{\etex}{\mbox{e-TeX}\xspace}
\newcommand*{\latex}{La\kern-0.07em TeX\xspace}
\newcommand*{\bibtex}{Bib\kern-0.07em TeX\xspace}
\newcommand*{\lppl}{\latex Project Public License\xspace}
\newcommand*{\pdf}{\acr{PDF}\xspace}
\newcommand*{\ie}{i.\,e.,\xspace}
\newcommand*{\eg}{e.\,g.,\xspace}

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

% tables

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

% 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\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