diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/dlfltxb/dlfltxbtocconfig.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/dlfltxb/dlfltxbtocconfig.tex | 60 |
1 files changed, 24 insertions, 36 deletions
diff --git a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbtocconfig.tex b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbtocconfig.tex index e25c8e41624..ee7735b8482 100644 --- a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbtocconfig.tex +++ b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbtocconfig.tex @@ -121,47 +121,35 @@ \begin{document} \title{The \textsf{\jobname} package} -\author{Lars Madsen\thanks{Web: - \url{http://home.imf.au.dk/daleif}\qquad Email: \url{daleif@imf.au.dk}}} +\author{Lars Madsen\thanks{Email: \url{daleif@imf.au.dk}}} \maketitle -\tableofcontents* \setsecnumdepth{part} -\chapter{Introduction} -\label{cha:introduction} - -This package takes care of configuring the two ToCs used in -\textit{Introduktion til \LaTeX}. The package is build for this book -only and does not contain much room for configuration. % Use it for -% inspiration for your own code. - -\chapter{Macros} -\label{cha:macros} - -\markup{spart}\marg{text} this inserts \Arg{text} into the the -\texttt{.toc} file using a special \texttt{spart} style which is used -in the short ToC. This does mean that \markup[nomk]{part} entries has -to be entered twice, but it also enables us to insert special features -into the ToC that does not necessarily has to be present in both. - -\markup{MakeShortToC} prints a short ToC displaying only yhe chapters -(without chapter numbers) and the text inserted using -\markup[nomk]{spart}, the title is typeset using \markup{shortcontentsname}. -\markup{MakeNormalToC} creates a sort of normal -ToC, the title is typeset using \markup[nomk]{contentsname}. -Note that each subsubesction entry is typeset like a runin list, -each separated by -\markup{cftdlfsubsubseccomma}. \markup{preprocessToC} will preprocess -the entire ToC, and calculates the indents for section and subsection -entries. It should be inserted before \markup{MakeNormalToC}. - -\markup{ToCSubsectionIndentsPullBack} this will change the indent in -the ToC for the subsubsection entries, this is very useful if one -wants to have unnumbered entries under a section instead of a -subsection. \markup{ToCSubsectionIndentsBackToNormal} sets the -indentation back to normal. + +\chapter{Contents of this package} + +This package is not really meant for public use. It is used in the +preparation of +\emph{\href{http://www.imf.au.dk/system/latex/bog}{Introduktion til + \LaTeX}} my (Danish) \LaTeX\ user +manual. + +The package takes care of configuring the two main table of contents +used in the book. People should use the code for inspiration (be +aware, it is quite messy) for their own ToC configurations. + +One interesting feature used in this version of the package: In the +latest memoir (as of February 2010) there are some added hooks in the +ToC macros that aren't documented in the memoir user manual. In this +package we use these hooks to measure the widest section numbers and +such in the ToC, save it to the main aux file, and then on the next +run, use it to auto adjust the width of the section number boxes. + +A new release of the \emph{memoir experimental} package will explain +more about how this works. + |