diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/examples')
71 files changed, 7278 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.pdf Binary files differnew file mode 100644 index 00000000000..3ddefe386a2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.tex new file mode 100644 index 00000000000..84ee7856763 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.tex @@ -0,0 +1,187 @@ +%% +%% This is file `mtc-2c.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-2c') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[12pt,a4paper]% + {report} +\ProvidesFile{mtc-2c.tex}% + [2007/01/04] +\usepackage{multicol} +\usepackage{lipsum} +\usepackage% + [tight,latin,listfiles]{minitoc} +\usepackage[latin]{babel} +\setlength{\mtcindent}{0pt} +\begin{document} +\dominitoc \tableofcontents +\chapter{Primum capitulum} +\begin{multicols}{2}[\minitoc] +\section{Prima sectio} +\lipsum[1-2] +\section{Secunda sectio} +\lipsum[3-4] +\end{multicols} +\chapter{Secundum capitulum} +\begin{multicols}{2}[\minitoc] +\section{Prima sectio} +\lipsum[5-6] +\section{Secunda sectio} +\lipsum[7-8] +\section{Tertia sectio} +\lipsum[9-10] +\end{multicols} +\begin{multicols}{2} +\chapter{Tertium capitulum} +\minitoc +\section{Prima sectio} +\lipsum[11-12] +\section{Secunda sectio} +\lipsum[13-14] +\section{Tertia sectio} +\lipsum[15-16] +\end{multicols} +\chapter{Quadrum capitulum} +\begin{multicols}{2} +\minitoc +\section{Prima sectio} +\lipsum[16-17] +\section{Secunda sectio} +\lipsum[18-19] +\section{Tertia sectio} +\lipsum[20-21] +\end{multicols} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-2c.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.pdf Binary files differnew file mode 100644 index 00000000000..57ca71ca6d7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex new file mode 100644 index 00000000000..1b2bcc00e2c --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex @@ -0,0 +1,174 @@ +%% +%% This is file `mtc-2nd.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-2nd') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +%% Test de french2.mld: +%% « seconde » ou « deuxième » partie? +%% compilez 3 fois. +\documentclass{report} +\ProvidesFile{mtc-2nd.tex}% + [2007/01/04] +\usepackage[french2,tight,listfiles]{minitoc} +\usepackage[french]{babel} +\usepackage{franc,frnew} +\usepackage[OT1,TS1,T1]{fontenc} +\usepackage[latin1]{inputenc} +\usepackage{mypatches} +\begin{document} +\ifmtcsecondpart +Il n'y a que 2 parties: seconde. +\else +Il y a une partie ou plus de deux parties: deuxième. +\fi +\clearpage +\doparttoc +\faketableofcontents +\part{P1} +\parttoc +\chapter{P1C1} +\chapter{P1C2} +\part{P2} +\parttoc +\chapter{P2C1} +\chapter{P2C2} +%% Commentez la ligne suivante puis recompilez 2 ou 3 fois. +\end{document} +\part{P3} +\parttoc +\chapter{P3C1} +\chapter{P3C2} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-2nd.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.pdf Binary files differnew file mode 100644 index 00000000000..372577c4f91 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.tex new file mode 100644 index 00000000000..74a7efe7bd9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.tex @@ -0,0 +1,230 @@ +%% +%% This is file `mtc-3co.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-3co') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[oneside]{book} +\ProvidesFile{mtc-3co.tex}% + [2007/02/19] +\usepackage[a3paper]{geometry} +\usepackage{lipsum} +\usepackage{multicol} +\usepackage[toc]{multitoc} +\renewcommand{\multicolumntoc}{3} +%%%%%%%%%%%%%%%%%%%% +\usepackage[tight]{minitoc} +\setlength{\mtcindent}{0pt} +\mtcsetformat{minitoc}{tocrightmargin}{2.55em plus 1fil} +\newcommand{\multicolumnmtc}{3} +\makeatletter +\let\SV@mtc@verse\mtc@verse +\let\SV@endmtc@verse\endmtc@verse +\def\mtc@verse#1{\SV@mtc@verse#1\removelastskip% + \begin{multicols}{\multicolumnmtc}\raggedcolumns\leavevmode\unskip + \vskip -1.5ex \vskip -1\baselineskip} +\def\endmtc@verse{\end{multicols}\SV@endmtc@verse} +\makeatother +%%%%%%%%%%%%%%%%%%%% +\begin{document} +\dominitoc +\tableofcontents +\chapter{First chapter} +\minitoc +\begin{multicols}{2} +\section{First section} \lipsum[\arabic{section}] +\section{Second section} \lipsum[\arabic{section}] +\section{Third section} \lipsum[\arabic{section}] +\section{Fourth section} \lipsum[\arabic{section}] +\section{Fifth section} \lipsum[\arabic{section}] +\section{Sixth section} \lipsum[\arabic{section}] +\section{Seventh section} \lipsum[\arabic{section}] +\section{Eighth section} \lipsum[\arabic{section}] +\section{Ninth section} \lipsum[\arabic{section}] +\section{Tenth section} \lipsum[\arabic{section}] +\section{Eleventh section} \lipsum[\arabic{section}] +\section{Twelfth section} \lipsum[\arabic{section}] +\section{Thirteenth section} \lipsum[\arabic{section}] +\section{Fourteenth section} \lipsum[\arabic{section}] +\section{Fifteenth section} \lipsum[\arabic{section}] +\section{Sixteenth section} \lipsum[\arabic{section}] +\section{Seventeenth section} \lipsum[\arabic{section}] +\section{Eighteenth section} \lipsum[\arabic{section}] +\section{Nineteenth section} \lipsum[\arabic{section}] +\section{Twentieth section} \lipsum[\arabic{section}] +\section{Twenty-first section} \lipsum[\arabic{section}] +\section{Twenty-second section} \lipsum[\arabic{section}] +\section{Twenty-third section} \lipsum[\arabic{section}] +\section{Twenty-fourth section} \lipsum[\arabic{section}] +\subsection{A very long subsection title, for the fun in +a multicolumn table of contents} \lipsum[\arabic{section}] +\section{Twenty-fifth section} \lipsum[\arabic{section}] +\section{Twenty-sixth section} \lipsum[\arabic{section}] +\section{Twenty-seventh section} \lipsum[\arabic{section}] +\section{Twenty-eighth section} \lipsum[\arabic{section}] +\section{Twenty-ninth section} \lipsum[\arabic{section}] +\section{Thirtieth section} \lipsum[\arabic{section}] +\section{Thirty-first section} \lipsum[\arabic{section}] +\section{Thirty-second section} \lipsum[\arabic{section}] +\section{Thirty-third section} \lipsum[\arabic{section}] +\section{Thirty-fourth section} \lipsum[\arabic{section}] +\section{Thirty-fifth section} \lipsum[\arabic{section}] +\section{Thirty-sixth section} \lipsum[\arabic{section}] +\section{Thirty-seventh section} \lipsum[\arabic{section}] +\section{Thirty-eighth section} \lipsum[\arabic{section}] +\section{Thirty-ninth section} \lipsum[\arabic{section}] +\section{Fortieth section} \lipsum[\arabic{section}] +\section{Forty-first section} \lipsum[\arabic{section}] +\section{Forty-second section} \lipsum[\arabic{section}] +\section{Forty-third section} \lipsum[\arabic{section}] +\section{Forty-fourth section} \lipsum[\arabic{section}] +\section{Forty-fifth section} \lipsum[\arabic{section}] +\section{Forty-sixth section} \lipsum[\arabic{section}] +\section{Forty-seventh section} \lipsum[\arabic{section}] +\section{Forty-eighth section} \lipsum[\arabic{section}] +\section{Forty-ninth section} \lipsum[\arabic{section}] +\section{Fiftieth section} \lipsum[\arabic{section}] +\section{Fifty-first section} \lipsum[\arabic{section}] +\section{Fifty-second section} \lipsum[\arabic{section}] +\section{Fifty-third section} \lipsum[\arabic{section}] +\section{Fifty-fourth section} \lipsum[\arabic{section}] +\section{Fifty-fifth section} \lipsum[\arabic{section}] +\section{Fifty-sixth section} \lipsum[\arabic{section}] +\section{Fifty-seventh section} \lipsum[\arabic{section}] +\section{Fifty-eighth section} \lipsum[\arabic{section}] +\section{Fifty-ninth section} \lipsum[\arabic{section}] +\end{multicols} +\clearpage +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-3co.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.bib b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.bib new file mode 100644 index 00000000000..d23a9f9df89 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.bib @@ -0,0 +1,131 @@ +@MISC{minitoc, + TITLE="The {\textsf{minitoc}} package", + AUTHOR="Drucbert, Jean-Pierre F.", + NOTE="{\url{http://mirror.ctan.org/macros/latex/contrib/minitoc/minitoc.pdf}}", + MONTH=jul, + YEAR=2008} + +@MISC{minitoc-fr, + TITLE="Le paquetage {\textsf{minitoc}}", + AUTHOR="Drucbert, Jean-Pierre F.", + NOTE="{\url{http://mirror.ctan.org/macros/latex/contrib/minitoc/minitoc-fr.pdf}}", + MONTH=jul, + YEAR=2008} + +@MISC{shorttoc, + TITLE="The {\textsf{shorttoc}} package", + AUTHOR="Drucbert, Jean-Pierre F.", + NOTE="{\url{http://mirror.ctan.org/macros/latex/contrib/shorttoc/shorttoc.pdf}}", + MONTH=aug, + YEAR=2002} + +@BOOK{dark, + TITLE="{Against a Dark Background}", + AUTHOR="Banks, Iain Menzies", + PUBLISHER="Bantam Books", + ISBN="0553292240 (pb)", + YEAR=1993} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.pdf Binary files differnew file mode 100644 index 00000000000..77a547f8fbd --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.tex new file mode 100644 index 00000000000..60702f27dd3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.tex @@ -0,0 +1,271 @@ +%% +%% This is file `mtc-add.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-add') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[12pt,a4paper]{report} +%% \documentclass[12pt,a4paper]{book} +\ProvidesFile{mtc-add.tex}% + [2007/01/04] +\usepackage{url} +\usepackage{tocbibind} +\usepackage{makeidx} +\makeatletter +\newif\ifscan@allowed +\scan@allowedtrue +\makeatother +\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil}% +\def\pfill{\unskip~\dotfill\penalty500\strut\nobreak + \dotfil~\ignorespaces}% +\usepackage[tight,hints,listfiles]{minitoc} +%% \usepackage{mtcoff} +\makeindex +\begin{document} +\dominitoc \dominilof \dominilot +\tableofcontents \mtcaddchapter +\listoffigures \mtcaddchapter +\listoftables \mtcaddchapter +\chapter{First chapter}\index{chapter!normal} +\minitoc \mtcskip +\minilof \mtcskip +\minilot +\section{First section} + +\begin{figure}[tp] \caption{First figure} \end{figure} +\begin{table}[tp] \caption{First table} \end{table} + +\section{Second section} +A small nice citation from~\cite{dark}:\\ +\index{small}\index{citation}\index{nice}\index{A}\index{a}% +\index{and}\index{bird}\index{But}\index{cannot}% +\index{claim}\index{great}\index{he}\index{I}% +\index{imagine}\index{it}\index{know}\index{land}% +\index{on}\index{once}\index{that}\index{to}\index{tree}% +\index{would}\index{yes}% +\textsf{A bird cannot land once on a great tree and claim to know it. +But I imagine that he would, yes.}\\ +\hbox{}\hfill +Iain~M.~\textsc{Banks}~(1993),~\textsl{Against~a~dark~background.}% +\index{Iain}\index{Banks}\index{Against}\index{dark}\index{background} + +\begin{figure}[tp] \caption{Second figure} \end{figure} +\begin{table} \caption{Second table} \end{table} +\chapter*{Second chapter, starred} +\index{chapter!starred} +%% UNCOMMENT ONE AND ONLY ONE OF THE 3 FOLLOWING LINES +\mtcaddchapter[Second chapter, starred] % OK +%% \mtcaddchapter[~] % produces a (strange) correct result. OK +%% \addcontentsline{toc}{xchapter}{} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% \mtcaddchapter[] % BAD SOLUTION +%% \mtcaddchapter % BAD SOLUTION +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\index{tests} + +This is a starred chapter; you can test here variations on +the \verb|\mtcaddchapter| command. Just uncomment one (and +only one) of the \verb|\mtcaddchapter| commands after +\verb|\chapter*| in the source code of \texttt{mtc-add.tex}. +For each case, look at the \index{Table of Contents}Table of Contents +and at this chapter. +\index{a}\index{added}\index{after}\index{also}\index{and}% +\index{at}\index{can}\index{case}\index{chapter}\index{code}% +\index{command}\index{commands}\index{Contents}\index{each}% +\index{entries}\index{For}\index{here}\index{I}\index{in}% +\index{index}\index{is}\index{Just}\index{just}\index{look}% +\index{lot}\index{of}\index{on}\index{one}\index{only}% +\index{source}\index{starred}\index{Table}\index{test}% +\index{the}\index{This}\index{this}\index{to}\index{uncomment}% +\index{variations}\index{you}% +I also added a lot of index entries, just to test. + +\chapter{Third chapter} +\index{chapter!normal} +\minitoc \mtcskip +\minilof \mtcskip +\minilot +\section{Third section} + +\begin{figure} \caption{Third figure} \end{figure} +\begin{table} \caption{Third table} \end{table} + +\section{Fourth section} + +\begin{figure} \caption{Fourth figure} \end{figure} +\begin{table} \caption{Fourth table} \end{table} +\nocite* +\def\noopsort#1{\relax} +\bibliographystyle{plain} +\bibliography{mtc-add} +\adjustmtc +\printindex +\mtcfixindex % use this OR the 3 following lines +%% \addcontentsline{lof}{xchapter}{} +%% \addcontentsline{lot}{xchapter}{} +%% \mtcaddchapter +%% + +\appendix +\chapter{App.~1} +\index{chapter!appendix} +\minitoc \mtcskip +\minilof \mtcskip +\minilot +\section{Fifth section} + +\begin{figure} \caption{Fifth figure} \end{figure} +\begin{table} \caption{Fifth table} \end{table} + +\section{Sixth section} + +\begin{figure} \caption{Sixth figure} \end{figure} +\begin{table} \caption{Sixth table} \end{table} +\chapter{App.~2} +\index{chapter!appendix} +%% contains no tables but asks for a minilot! No minilot printed. +\minitoc \mtcskip +\minilof \mtcskip +\minilot +\section{Seventh section} +\begin{figure} \caption{Seventh figure} \end{figure} +\begin{figure} \caption{Eighth figure} \end{figure} + +\section{Eighth section} + +\begin{figure} \caption{Ninth figure} \end{figure} +\begin{figure} \caption{Eleventh figure} \end{figure} + +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-add.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.pdf Binary files differnew file mode 100644 index 00000000000..475da993d45 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.tex new file mode 100644 index 00000000000..9f2515d3953 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.tex @@ -0,0 +1,335 @@ +%% +%% This is file `mtc-ads.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-ads') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[oneside,12pt,a4paper]{article} +\ProvidesFile{mtc-ads.tex}% + [2007/01/04] +\usepackage{url,tocbibind,makeidx} +\makeatletter \newif\ifscan@allowed \scan@allowedtrue \makeatother +\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil}% +\def\pfill{\unskip~\dotfill\penalty500\strut\nobreak + \dotfil~\ignorespaces}% +\usepackage[tight,hints,insection]{minitoc} +%% \usepackage{mtcoff} +\makeindex +\begin{document} +\doparttoc \dopartlof \dopartlot +\dosecttoc \dosectlof \dosectlot +\setcounter{tocdepth}{6} +\setcounter{parttocdepth}{6} +\setcounter{secttocdepth}{6} +\tableofcontents \mtcaddsection +\listoffigures \mtcaddsection +\listoftables \mtcaddsection +\part{Part~1} +\parttoc \mtcskip \partlof \mtcskip \partlot + +\section{First section} +\index{section!normal} +\secttoc \mtcskip \sectlof \mtcskip \sectlot +\subsection{First subsection} + +\begin{figure}[tp] \caption{First figure} \end{figure} +\begin{table}[tp] \caption{First table} \end{table} + +\subsection{Second subsection} +A small nice citation from~\cite{dark}:\\ +\index{small}\index{citation}\index{nice}\index{A}% +\index{a}\index{and}\index{bird}\index{But}% +\index{cannot}\index{claim}\index{great}\index{he}% +\index{I}\index{imagine}\index{it}\index{know}% +\index{land}\index{on}\index{once}\index{that}% +\index{to}\index{tree}\index{would}\index{yes}% +A bird cannot land once on a great tree and claim to know it. +But I imagine that he would, yes.\\ +\hbox{}\hfill Iain~M.~\textsc{Banks} (1993), \textsl{Against a dark background.}% +\index{Iain}\index{Banks}\index{Against}\index{dark}\index{background} +\begin{figure}[tp] \caption{Second figure} \end{figure} +\begin{table} \caption{Second table} \end{table} +\section*{Second section, starred} +\index{section!starred} +%% UNCOMMENT ONE AND ONLY ONE OF THE 4 FOLLOWING LINES +\mtcaddsection[Second section, starred] % OK +%% \mtcaddsection[] % BAD +%% \mtcaddsection[~] % produces a (strange) correct result. +%% \mtcaddsection % BAD +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\index{tests} + +This is a starred section; you can test here variations on +the \verb|\mtcaddsection| command. Just uncomment one (and +only one) of the \verb|\mtcaddsection| commands after +\verb|\section*| in the source code of \texttt{mtc-add.tex}. +For each case, look at the \index{Table of Contents}Table of Contents +and at this section. +\index{a}\index{added}\index{after}\index{also}\index{and}% +\index{at}\index{can}\index{case}\index{section}% +\index{code}\index{command}\index{commands}% +\index{Contents}\index{each}\index{entries}\index{For}% +\index{here}\index{I}\index{in}\index{index}\index{is}% +\index{Just}\index{just}\index{look}\index{lot}% +\index{of}\index{on}\index{one}\index{only}\index{source}% +\index{starred}\index{Table}\index{test}\index{the}% +\index{This}\index{this}\index{to}\index{uncomment}% +\index{variations}\index{you}% +I also added a lot of index entries, just to test. + +\section{Third section} +\index{section!normal} +\secttoc \mtcskip \sectlof \mtcskip \sectlot +\subsection{Third subsection} + +\begin{figure} \caption{Third figure} \end{figure} +\begin{table} \caption{Third table} \end{table} + +\subsection{Fourth subsection} + +\begin{figure} \caption{Fourth figure} \end{figure} +\begin{table} \caption{Fourth table} \end{table} + +\subsubsection{Even a sub-sub-section!} +\subsubsection{And yet another one} + +\part{Part~2} +\parttoc \mtcskip \partlof \mtcskip \partlot + +\section{Fourth section} +\index{section!normal} +\secttoc \mtcskip \sectlof \mtcskip \sectlot +\subsection{Fifth subsection} + +\begin{figure}[tp] \caption{Fifth figure} \end{figure} +\begin{table}[tp] \caption{Fifth table} \end{table} + +\subsection{Sixth subsection} +A small nice citation from~\cite{dark}:\\ +\index{small}\index{citation}\index{nice}\index{A}% +\index{a}\index{and}\index{bird}\index{But}% +\index{cannot}\index{claim}\index{great}\index{he}% +\index{I}\index{imagine}\index{it}\index{know}% +\index{land}\index{on}\index{once}\index{that}% +\index{to}\index{tree}\index{would}\index{yes}% +A bird cannot land once on a great tree and claim to know it. +But I imagine that he would, yes.\\ +\hbox{}\hfill +Iain~M.~\textsc{Banks} (1993), \textsl{Against a dark background.}% +\index{Iain}\index{Banks}\index{Against}\index{dark}\index{background} + +\begin{figure}[tp] \caption{Sixth figure} \end{figure} +\begin{table} \caption{Sixth table} \end{table} + +\section*{Fifth section, starred} +\index{section!starred} +%% UNCOMMENT ONE AND ONLY ONE OF THE 4 FOLLOWING LINES +\mtcaddsection[Fifth section, starred] % OK +%% \mtcaddsection[] % OK +%% \mtcaddsection[~] % produces a (strange) correct result. +%% \mtcaddsection % OK +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\index{tests} + +This is a starred section; you can test here variations on +the \verb|\mtcaddsection| command. Just uncomment one (and +only one) of the \verb|\mtcaddsection| commands after +\verb|\section*| in the source code of \texttt{mtc-add.tex}. +For each case, look at the \index{Table of Contents}Table of Contents +and at this section.\index{a}% +\index{added}\index{after}\index{also}\index{and}% +\index{at}\index{can}\index{case}\index{section}% +\index{code}\index{command}\index{commands}\index{Contents}% +\index{each}\index{entries}\index{For}\index{here}% +\index{I}\index{in}\index{index}\index{is}% +\index{Just}\index{just}\index{look}\index{lot}% +\index{of}\index{on}\index{one}\index{only}% +\index{source}\index{starred}\index{Table}\index{test}% +\index{the}\index{This}\index{this}\index{to}% +\index{uncomment}\index{variations}\index{you}% +I also added a lot of index entries, just to test. + +\section{Sixth section} +\index{section!normal} +\secttoc \mtcskip \sectlof \mtcskip \sectlot +\subsection{Seventh subsection} + +\begin{figure} \caption{Seventh figure} \end{figure} +\begin{table} \caption{Seventh table} \end{table} + +\subsection{Eighth subsection} + +\begin{figure} \caption{Eighth figure} \end{figure} +\begin{table} \caption{Eighth table} \end{table} +\nocite* +\def\noopsort#1{\relax} +\bibliographystyle{plain} +\bibliography{mtc-add} +\adjuststc +\printindex +\mtcfixindex % use this OR the 3 following lines +%% \addcontentsline{lof}{xsect}{} +%% \addcontentsline{lot}{xsect}{} +%% \mtcaddsection + +\appendix +\section{App.~1} +\index{section!appendix} +\secttoc \mtcskip \sectlof \mtcskip \sectlot +\subsection{Ninth subsection} + +\begin{figure} \caption{Ninth figure} \end{figure} +\begin{table} \caption{Ninth table} \end{table} + +\subsection{Tenth subsection} + +\begin{figure} \caption{Tenth figure} \end{figure} +\begin{table} \caption{Tenth table} \end{table} + +\section{App.~2} +\index{section!appendix} +%% contains no tables but asks for a sectlot! No sectlot printed. +\secttoc \mtcskip \sectlof \mtcskip \sectlot +\subsection{Eleventh subsection} + +\begin{figure} \caption{Eleventh figure} \end{figure} +\begin{figure} \caption{Twelfth figure} \end{figure} + +\subsection{Twelfth subsection} + +\begin{figure} \caption{Thirdteenth figure} \end{figure} +\begin{figure} \caption{Fourteenth figure} \end{figure} + +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-ads.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.pdf Binary files differnew file mode 100644 index 00000000000..bb899204e50 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.tex new file mode 100644 index 00000000000..5c48acc778d --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.tex @@ -0,0 +1,178 @@ +%% +%% This is file `mtc-amm.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-amm') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[oneside]{memoir} +\ProvidesFile{mtc-amm.tex}% + [2007/08/29] +\usepackage{lipsum} % filling text +\usepackage{hyperref} +\usepackage{memhfixc} +\usepackage[tight]{minitoc} +\begin{document} +\dominitoc \tableofcontents +\adjustmtc +\chapter{First chapter} +\minitoc +\lipsum[1] +\section{First section} +\lipsum[2] +\begin{appendices} +\addappheadtotoc +\adjustmtc %correction! +\chapter{Afterthoughts} +\minitoc +\lipsum[3] +Afterthoughts appendix +\section{Further remarks} +\lipsum[4] +\chapter{Last wills} +\minitoc +\section{Testament} +\lipsum[5] +\end{appendices} +\chapter{Conclusion} +\minitoc +\section{Bye} +\lipsum[6] +\chapter{Back from Hell} +\minitoc +\section{Not dead yet!} +\lipsum[7] +\section{I will survive} +\lipsum[8] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-amm.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.pdf Binary files differnew file mode 100644 index 00000000000..b72bb8880b0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.tex new file mode 100644 index 00000000000..6e9aeda6a85 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.tex @@ -0,0 +1,177 @@ +%% +%% This is file `mtc-apx.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-apx') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[oneside]{book} +\ProvidesFile{mtc-apx.tex}% + [2007/03/22]% +\usepackage{lipsum} % provides filling text +\usepackage{tocbibind} % adds some entries in the main TOC. +\usepackage[tight,listfiles]{minitoc} +\setcounter{minitocdepth}{3} \setcounter{parttocdepth}{3} +\begin{document} +\doparttoc \dominitoc % prepare the mini-tables +\tableofcontents +\mtcaddchapter % because tocbibind adds a chapter entry in the TOC +\chapter{First} +\minitoc +First chapter +\section{First section} \lipsum[1] +\section{Second section} \lipsum[2] +\chapter{Second} +\minitoc +Second +\section{First section of second chapter} \lipsum[3] +\section{Second section of second chapter} \lipsum[4] +\appendix % begins the appendices +\addcontentsline{toc}{part}{Appendices} % adds a part entry in the TOC +\adjustptc % fixes the parttoc counter ptc +\mtcsettitle{parttoc}{List of Appendices} % changes the parttoc title +\parttoc % adds a partial toc for the appendices +\begin{mtchideinmaintoc}[-1] % hides the details of the appendices in the main TOC, +\chapter{First appendix} +\minitoc +First appendix +\section{First section} \lipsum[5] +\section{Second section} \lipsum[6] +\chapter{Second appendix} +\minitoc +Second appendix +\section{First section of second appendix} \lipsum[7] +\section{Second section of second appendix} \lipsum[8] +\end{mtchideinmaintoc} % end of hiding +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-apx.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.pdf Binary files differnew file mode 100644 index 00000000000..0c16690d8fd --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex new file mode 100644 index 00000000000..22b58b65d9b --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex @@ -0,0 +1,317 @@ +%% +%% This is file `mtc-art.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-art') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +%% mtc-art.tex +%% This file contains a set of tests for minitoc +%% package. You can alter most of parameters to test. +%% article (\section must be defined) +\documentclass[12pt,a4paper]{article} +\ProvidesFile{mtc-art.tex}% + [2007/06/06] +\usepackage{lipsum} % provides filling text +%% \usepackage{hyperref} % If used, load it BEFORE minitoc +\usepackage[tight,insection]{minitoc} +\setcounter{secnumdepth}{5} % depth of numbering of sectionning commands +\setcounter{tocdepth}{3} % depth of table of contents +\setlength{\stcindent}{24pt} % indentation of secttocs, default +%% % font for secttocs, default +\renewcommand{\stcfont}{\small\rmfamily\upshape\mdseries}% +%% % font for secttocs, subsections +%% \renewcommand{\stcSSfont}{\small\sf}% +%% % you can make experiments with +%% % \stcSSSfont, \stcPfont and \stcSPfont +%% % but it is ``fontomania''... +\raggedbottom % or \flushbottom, at your choice +%%% TEST: uncomment the next line to test +%%% resetting section number in each part +%%% \makeatletter \@addtoreset{section}{part} \makeatother +%%% END TEST +\begin{document} +\dosecttoc +\dosectlof[c] % center titles of the sectlofs +\dosectlot +\doparttoc % test of parttoc/partlof stuff +\dopartlof % added in version #15 +\dopartlot % added in version #15 +\faketableofcontents % or \tableofcontents +\fakelistoffigures % to check compatibility +\fakelistoftables % to check compatibility +\part{First Part} \parttoc \partlof[r] \partlot +\twocolumn\sloppy % the secttoc in twocolumn layout is ugly, + % but works. Ideas to make it better? +\section{AAAAA} % a section with a lot of sections +\secttoc[r] % secttoc title on the right +\mtcskip \sectlof %ADDED +\lipsum[1] +\subsection{S1} \lipsum[2] +\subsection{S2} \lipsum[3] +\subsection{S3} \lipsum[4] +\subsection*{S4} +%% \addcontentsline{toc}{starsubsection}{*S4*} +\lipsum[5] +\subsection{S5} \lipsum[6] +\subsection{S6} \lipsum[7] +\subsection{S7} \lipsum[8] +\subsection{S8} \lipsum[9] +\subsection{S9} \lipsum[10] +\subsection{S10} \lipsum[11] +\subsection{S11} \lipsum[12] +\subsection{S12} \lipsum[13] +\subsection{S13} \lipsum[14] +\subsection{S14} \lipsum[15] +\subsection{S15} \lipsum[16] +\subsection{S16} \lipsum[17] +\subsection{S17} \lipsum[18] +\subsection{S18} \lipsum[19] +\subsection{S19} \lipsum[20] +\subsection{S20} \lipsum[21] +\subsection{S21} \lipsum[22] +\subsection{S22} \lipsum[23] +\subsection{S23} \lipsum[24] +\subsection{S24} \lipsum[25] +\subsection{S25} \lipsum[26] +\subsection{S26} \lipsum[27] +\subsection{S27} \lipsum[28] +\subsection{S28} \lipsum[29] +\subsection{S29} \lipsum[30] +\subsection{S30} \lipsum[31] +\onecolumn\fussy % back to one column +\section{BBBBB} +\secttoc +\mtcskip % put some skip here +\sectlof % a sectlof +\lipsum[32] +\subsection{T1} \lipsum[33] +\begin{figure}[t] % tests compatibility with floating bodies +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) \end{picture} +\caption{F1} % (I have not tested tables, but it is similar) +\end{figure} +\FloatBarrier +\subsubsection[tt1]{TT1} % tests optional arg. of a sectionning command +\lipsum[34] +\paragraph{TTT1} \lipsum[35] +\subparagraph{TTTT1} \lipsum[36] +\begin{figure}[t] +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) \end{picture} +\caption[f2]{F2} % tests optional arg. of a caption +\end{figure} +\FloatBarrier +\subsection{T2} \lipsum[37] +\section*{CCCCC} % tests a pseudo-section. should have no secttoc +%% \addstarredsection{CCCCC} +\mtcaddsection[CCCCC] +\secttoc \mtcskip \sectlof %ADDED +\lipsum[38] +\subsection{U1} \lipsum[39] +\subsubsection{UU1} \lipsum[40] +\paragraph{UUU1} \lipsum[41] +\subparagraph{UUUU1} \lipsum[42] +\subsection{U2} \lipsum[43] +\part{Second Part} +\parttoc +\partlof[c] +\partlot +%% % the following section should have no secttoc, +\section{DDDDD} % but if you uncomment \secttoc, +%% \secttoc +\mtcskip \sectlof %ADDED +\lipsum[44] +\subsection{V1} \lipsum[45] +\subsubsection{VV1} \lipsum[46] +\paragraph{VVV1} \lipsum[47] +\subparagraph{VVVV1} \lipsum[48] +\begin{figure}[t] % tests compatibility with floating bodies +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) \end{picture} +\caption{F3} % (I have not tested tables, but it is similar) +\end{figure} +\FloatBarrier +\lipsum[49] \subsection{V2} \lipsum[50] +\section{EEEEE} % this section should have a secttoc +{% % left brace, see below +\setcounter{secttocdepth}{3} % depth of sect table of contents; + % try with different values. +\secttoc +\mtcskip \sectlof %ADDED +} % right brace +%% this pair of braces is used to keep local the change on secttocdepth. +\lipsum[51] +\subsection{W1} % with the given depth +\lipsum[52] +\subsubsection{WW1} \lipsum[53] +\paragraph{WWW1} \lipsum[54] +\begin{figure}[t] % tests compatibility with floating bodies +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) \end{picture} +\caption{F4} % (I have not tested tables, but it is similar) +\end{figure} +\FloatBarrier +bla bla bla bla bla bla bla bla bla bla bla +\subparagraph{WWWW1} \lipsum[55] +\subsection{W2} \lipsum[56] +\chapter*{} +\part{Appendices} +\parttoc \mtcskip +\partlof \mtcskip +\partlot +\FloatBarrier +\appendix +\section{Comments} \lipsum[57] +\secttoc +\mtcskip \sectlof %ADDED +\subsection{C1} \lipsum[58] +\subsection{C2} \lipsum[59] +\subsection{C3} \lipsum[60] +\begin{figure}[hb] % tests compatibility with floating bodies +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) \end{picture} +\caption{F5} % (I have not tested tables, but it is similar) +\end{figure} +\FloatBarrier +\subsection{C4} \lipsum[61] +\FloatBarrier +\section{Evolution} +\secttoc +\sectlof % empty +\sectlot % empty +\lipsum[62] +\subsection{D1} \lipsum[63] \subsection{D2} \lipsum[64] +\subsection{D3} \lipsum[65] \subsection{D4} \lipsum[66] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-art.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.pdf Binary files differnew file mode 100644 index 00000000000..c270b13b0f9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.tex new file mode 100644 index 00000000000..ad4a12e3f8f --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.tex @@ -0,0 +1,344 @@ +%% +%% This is file `mtc-bk.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-bk') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +%%%%%%%%%%%%%%%%%%%%% A example file (differs from previous versions) +%% mtc-bk.tex +%% This file contains a set of tests for minitoc package file. +%% You can alter most of parameters to test. +%% Class: book/report (\chapter must be defined). +%% You can use a copy of this file to play with minitoc commands and parameters. +\documentclass[12pt,a4paper]{report} % the report class uses less pages +%% \documentclass[12pt,a4paper]{book} +\ProvidesFile{mtc-bk.tex}% + [2007/06/06] +\usepackage{lipsum} % provides filling text +%% \usepackage{hyperref} % if used, load it BEFORE minitoc +%% \usepackage{mtcoff} +\usepackage[tight]{minitoc} % tight option make shorter mini-tables +\setcounter{secnumdepth}{5} % depth of numbering of sectionning commands +\setcounter{tocdepth}{3} % depth of table of contents +\setlength{\mtcindent}{24pt} % indentation of minitocs, default +\renewcommand{\mtcfont}{\small\rm} % font for minitocs, default +\renewcommand{\mtcSfont}{\small\bf} % font for minitocs, sections, default +%% \renewcommand{\mtcSSfont}{\small\sf} % font for minitocs, subsections +%% you can make experiments with \mtcSSSfont, \mtcPfont and \mtcSPfont +%% but it is ``fontomania''... +\raggedbottom % or \flushbottom, at your choice +%%% TEST: uncomment the next line to test resetting chapter number in each part +%% \makeatletter \@addtoreset{chapter}{part} \makeatother +%%% END TEST +\begin{document} +\mtcpagenumbers +\noptcrule +%% \nomtcrule % suppresses minitoc rules +%% \nomtcpagenumbers % suppresses minitoc page numbers +%% \nomlfpagenumbers % ---------- minilof ---- ------- +%% \nomltpagenumbers % ---------- minilot ---- ------- +\dominitoc +\dominilof[c] % centers title of minilof's +\dominilot +\doparttoc % test of parttoc/partlof stuff +\dopartlof % added in version #15 +\dopartlot % added in version #15 +\tableofcontents % or \faketableofcontents +\listoffigures % or \fakelistoffigures +\fakelistoftables % or \listoftables +%% \addtocounter{chapter}{-1} % to begin with Chapter 0 +\part{First Part} +\parttoc \partlof[r] \partlot[r] +\twocolumn\sloppy % the minitoc in twocolumn layout is ugly, +\chapter{AAAAA} % a chapter with a lot of sections +\minitoc[r] % minitoc title on the right +\lipsum[1] +\section{S1} \lipsum[2] +\section{S2} \lipsum[3] +\section{S3} \lipsum[4] +\section*{S4} +\addcontentsline{toc}{section}{\protect\numberline{}{S4}} +\lipsum[5] +\section{S5} \lipsum[6] +\section{S6} \lipsum[6] +\section{S7} \lipsum[7] +\section{S8} \lipsum[9] +\section{S9} \lipsum[10] +\section{S10} \lipsum[11] +\section{S11} \lipsum[12] +\section{S12} \lipsum[13] +\section{S13} \lipsum[14] +\section{S14} \lipsum[15] +\section{S15} \lipsum[16] +\section{S16} \lipsum[17] +\section{S17} \lipsum[18] +\section{S18} \lipsum[19] +\section{S19} \lipsum[20] +\section{S20} \lipsum[21] +\section{S21} \lipsum[22] +\section{S22} \lipsum[23] +\section{S23} \lipsum[24] +\section{S24} \lipsum[25] +\section{S25} \lipsum[26] +\section{S26} \lipsum[27] +\section{S27} \lipsum[28] +\section{S28} \lipsum[29] +\section{S29} \lipsum[30] +\section{S30} \lipsum[31] +\subsection{SS1} \lipsum[32] +\section{S31} \lipsum[33] +\onecolumn\fussy % back to one column +\chapter{BBBBB} +\minitoc +\mtcskip % put some skip here +\minilof % a minilof +\mtcskip % put some skip here +\minilot % a minilot +\lipsum[34] +\section{T1} \lipsum[35] +\begin{figure}[t] % tests compatibility with floating bodies +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) +\end{picture} +\caption{F1} % (tables are similar) +\end{figure} +\begin{table}[b] % tests compatibility with floating bodies +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) +\end{picture} +\caption{T1} % (tables are similar) +\end{table} +\clearpage +\subsection[tt1]{TT1} % tests optional arg. of a sectionning command +\lipsum[36] +\subsubsection{TTT1} \lipsum[37] +\paragraph{TTTT1} \lipsum[38] +\begin{figure} +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) +\end{picture} +\caption[f2]{F2} % tests optional arg. of a caption +\end{figure} +\section{T2} \lipsum[39] +\chapter*{CCCCC} % tests a pseudo-chapter; could have a minitoc. +\addstarredchapter{CCCCC} +\lipsum[40] +\section*{U1} +\addcontentsline{toc}{section}{U1} +\lipsum[41] +\subsection*{UU1} +\addcontentsline{toc}{subsection}{UU1} +\lipsum[42] +\subsubsection*{UUU1} +\addcontentsline{toc}{subsubsection}{UUU1} +\lipsum[43] +\paragraph*{UUUU1} +\addcontentsline{toc}{paragraph}{UUUU1} +\lipsum[44] +\section*{U2} +\addcontentsline{toc}{section}{U2} +\lipsum[45] +\part{Second Part} +\parttoc +\partlof[c] +%% % the following chapter should have no minitoc, +\chapter{DDDDD} % but if you uncomment \minitoc, +%% \minitoc % the minitoc appears +\lipsum[46] +\section{V1} \lipsum[47] +\subsection{VV1} \lipsum[48] +\subsubsection{VVV1} \lipsum[49] +\paragraph{VVVV1} \lipsum[50] +\begin{figure}[t] % tests compatibility with floating bodies +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) +\end{picture} +\caption{F3} % (I have not tested tables, but it is similar) +\end{figure} +\lipsum[51] +\section{V2} \lipsum[52] +\chapter{EEEEE} % this chapter should have a minitoc +{% % left brace, see below +\setcounter{minitocdepth}{3} % depth of mini table of contents; + % try with different values. +\minitoc +} % right brace +%% this pair of braces is used to keep local the change +%% on minitocdepth. +\lipsum[53] +\section{W1} % with the given depth +\lipsum[54] +\subsection{WW1} \lipsum[55] +\subsubsection{WWW1} \lipsum[56] +\begin{figure}[t] % tests compatibility with floating bodies +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) +\end{picture} +\caption{F4} % (I have not tested tables here, but it is similar) +\end{figure} +\lipsum[57] +\paragraph{WWWW1} \lipsum[58] +\subparagraph{WWWWW1} \lipsum[59] +\section{W2} \lipsum[60] +\appendix +\part{Appendices} +\parttoc +\begin{mtchideinmaintoc}[-1] +\chapter{Comments} +\minitoc +\section{C1} \lipsum[61] +\section{C2} \lipsum[62] +\section{C3} \lipsum[63] +\begin{figure}[t] % tests compatibility with floating bodies +\setlength{\unitlength}{1mm} +\begin{picture}(100,50) +\end{picture} +\caption{F5} % (I have not tested tables, but it is similar) +\end{figure} +\section{C4} +\chapter{Evolution} +\minitoc +\minilof %Empty => invisible +\minilot %Empty => invisible +\section{D1} \lipsum[64] +\section{D2} \lipsum[65] +\section{D3} \lipsum[66] +\section{D4} \lipsum[67] +%% this line closes the omitted part +\addtocontents{toc}{\protect\partbegin} +%% this line restore the depth in the main TOC +\end{mtchideinmaintoc} +\lipsum[68] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-bk.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.pdf Binary files differnew file mode 100644 index 00000000000..128a5a97a29 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.tex new file mode 100644 index 00000000000..e8f51fe00f7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.tex @@ -0,0 +1,305 @@ +%% +%% This is file `mtc-bo.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-bo') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[10pt]{book} +\ProvidesFile{mtc-bo.tex}% + [2007/04/17] +\usepackage[paperwidth=8.5in,paperheight=11in,% + lmargin=1.25in,rmargin=1.25in,tmargin=1in,bmargin=1in]{geometry} +\usepackage{multicol} +\usepackage{color} +\usepackage{tocloft} +\setlength{\cftsecindent}{0cm} +\setlength{\cftsecnumwidth}{15 pt} +\setlength{\cftsubsecindent}{\cftsecindent} +\addtolength{\cftsubsecindent}{\cftsecnumwidth} +\setlength{\cftsubsecnumwidth}{20 pt} +\setlength{\cftsubsubsecindent}{\cftsubsecindent} +\addtolength{\cftsubsubsecindent}{\cftsubsecnumwidth} +\cftpagenumbersoff{sec} +\cftpagenumbersoff{subsec} +\usepackage[francais,tight]{minitoc} +\usepackage{hyperref} +\setlength{\mtcindent}{0pt} +\nomtcrule % pas de filets en haut et en bas de la mini-tdm +\nomtcpagenumbers % pas de numéro de pages +\renewcommand{\mtctitle}{Contenu de la rencontre} +\usepackage[francais]{babel} +\usepackage{franc,frnew} +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} +\usepackage{mypatches} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\makeatletter +\def\@makechapterhead#1{% + \vspace*{10\p@}% + {\parindent \z@ \raggedleft \normalfont + \interlinepenalty\@M + \ifnum \c@secnumdepth >\m@ne + \Huge\bfseries\sffamily Rencontre \thechapter\\% \quad + \fi + \Huge\bfseries\sffamily #1\par\nobreak + \vskip 10\p@ +}} +\def\@makeschapterhead#1{% + \vspace*{10\p@}% + {\parindent \z@ \raggedright \normalfont + \interlinepenalty\@M + \Huge \sffamily #1\par\nobreak + \vskip 10\p@ +}} \makeatother +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newenvironment{pageUn}[6]{% +\parindent = 0.0in +\rule{\linewidth}{1pt} +\begin{multicols}{2} + {\large \bfseries Math. pour médecine nucléaire\\ + \textit{(#2)}} + \vfill\columnbreak + \raggedleft\bfseries Automne 2003\\ + #1 +\end{multicols} +\vspace{-18pt} +\rule{\linewidth}{1pt} + +\setlength{\columnseprule}{.3pt} \setlength{\columnsep}{1cm} +\begin{multicols}{2}% + +\colorbox[cmyk]{.1,0,0,0}{% + \parbox{\linewidth}{% + \setcounter{minitocdepth}{3}% + \minitoc% + }} + +\mtcskip + + +{\large \bfseries Documents distribués} +\begin{itemize} \renewcommand{\labelitemi}{$\star$} #3 \end{itemize} + + +\vspace{12pt}{\large \bfseries Messages} +\begin{itemize} \renewcommand{\labelitemi}{$\star$}#4\end{itemize} + +\vspace{12pt}{\large \bfseries Lecture}\vspace{-6pt} \par#5 \par + +\vspace{12pt}{\large \bfseries Exercices}\vspace{-6pt}\par#6\par + +\end{multicols}% +} +{\hrule} + + +\parskip = 0.1in + +%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%% +\renewcommand{\thesection}{\Alph{section}} + +%%%%%%%%%% +%%%%%%%%%% +\begin{document} +\dominitoc \faketableofcontents +\chapter{Première étape (début)} +\begin{pageUn} + {%1 Date du cours + lundi 25 août + } + {%2 Durée du cours + 2 périodes + } + {%3 Liste des documents à~distribuer + \item Plan de cours + \item Fiche d'identification + \item Grille horaire + \item Feuilles d'exercices supplémentaires + } + {%4 Ne pas oublier + \item Acheter le livre de référence + \item Apporter une disquette + } + {%5 Lecture + Lire les pages ppp à~ppp et ppp à~ppp + } + {%6 Exercice + Faire les exercices nnn de la page ppp + } +\end{pageUn} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Titre de la section} % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +Texte dans la section + +%% +\subsection{Une sous-section} +%% +Bla bla bla + +%% +\subsection{Une autre sous-section} +%% +Bla bla bla + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Titre d'une autre section} % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +Texte dans la section + +%% +\subsection{Une sous-section} +%% +Bla bla bla + +%% +\subsection{Une autre sous-section} +%% +Bla bla bla + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Encore une autre section} % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +Texte dans la section + +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-bo.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.pdf Binary files differnew file mode 100644 index 00000000000..39adcbe254b --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.tex new file mode 100644 index 00000000000..20bb279947e --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.tex @@ -0,0 +1,187 @@ +%% +%% This is file `mtc-ch0.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-ch0') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[12pt,a4paper]{report} +\ProvidesFile{mtc-ch0.tex}% + [2007/01/04] +\usepackage[tight,english]{minitoc} +\begin{document} +\dominitoc \tableofcontents +\chapter*{Chapter One (starred)} +\mtcaddchapter[Fake chapter one] +\minitoc +\section{Chap 1, section 1} +That's right, folks -- we're close to the release of Firefox and +Thunderbird~1.0 and, just like our last 1.0~release, we want to organize +worldwide parties to celebrate. + +Thanks to Dominik 'Aeneas' Schnitzer, we have an all-new and improved +Mozilla Party Webtool~2.0. You can create your own party, or sign up for +one already in progress -- and, in an improvement on Webtool~1.0, +organizers can now edit and update party details. The tool allows you to +organize a celebration in any of 243~countries, principalities, +dominions and islands around the world. Never let it be said that we do +things by halves around here. + +\subsection{Chap 1, section 1, subsection 1} +That's right, folks -- we're close to the release of Firefox and +Thunderbird~1.0 and, just like our last 1.0~release, we want to organize +worldwide parties to celebrate. + +Thanks to Dominik 'Aeneas' Schnitzer, we have an all-new and improved +Mozilla Party Webtool~2.0. You can create your own party, or sign up for +one already in progress -- and, in an improvement on Webtool~1.0, +organizers can now edit and update party details. The tool allows you to +organize a celebration in any of 243~countries, principalities, +dominions and islands around the world. Never let it be said that we do +things by halves around here. +\chapter{Chapter Two (numbered one)} +\minitoc +\section{Chapter 2, section 1} +That's right, folks -- we're close to the release of Firefox and +Thunderbird 1.0 and, just like our last 1.0~release, we want to organize +worldwide parties to celebrate. + +Thanks to Dominik 'Aeneas' Schnitzer, we have an all-new and improved +Mozilla Party Webtool~2.0. You can create your own party, or sign up for +one already in progress -- and, in an improvement on Webtool~1.0, +organizers can now edit and update party details. The tool allows you to +organize a celebration in any of 243~countries, principalities, +dominions and islands around the world. Never let it be said that we do +things by halves around here. +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-ch0.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.pdf Binary files differnew file mode 100644 index 00000000000..cb979d8094c --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.tex new file mode 100644 index 00000000000..51d0d0e0ada --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.tex @@ -0,0 +1,194 @@ +%% +%% This is file `mtc-cri.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-cri') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[12pt,a4paper]% + {report} +\ProvidesFile{mtc-cri.tex}% + [2007/01/04] +\usepackage[francais]{babel} +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} +\usepackage% + [french2,tight]% + {minitoc} + +\mtcsetdepth{parttoc}{2} + +\begin{document} +\doparttoc \dominitoc +\tableofcontents +\part*{Présentation générale} +\mtcaddpart[Présentation générale] +\adjustptc[-2] +\parttoc + +Texte de la +présentation générale\ldots + +\chapter*{Les auteurs} +\mtcaddchapter[Les auteurs] +Présentation des auteurs\ldots + +\chapter*{Les lecteurs} +\mtcaddchapter[Les lecteurs] +Présentation des lecteurs\ldots + +\part{Première partie} +\parttoc +\chapter*{Introduction} +\mtcaddchapter[Introduction] +\chapter{Premier chapitre} +\minitoc +\section{Première section~A} +\section{Deuxième section~A} +\chapter{Deuxième chapitre} +\minitoc +\section{Première section~B} +\section{Deuxième section~B} + +\part{Deuxième partie} +\parttoc +\chapter{Premier chapitre} +\minitoc +\section{Première section~C} +\section{Deuxième section~C} +\chapter{Deuxième chapitre} +\minitoc +\section{Première section~D} +\section{Deuxième section~D} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-cri.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.pdf Binary files differnew file mode 100644 index 00000000000..a31d91ab452 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.tex new file mode 100644 index 00000000000..7e13cc7fdfb --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.tex @@ -0,0 +1,155 @@ +%% +%% This is file `mtc-fko.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-fko') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[german,a4paper,oneside]{scrbook} +\ProvidesFile{mtc-fko.tex}% + [2007/02/19] +\usepackage[germanb]{babel} +\usepackage[tight]{minitoc} +\setlength{\mtcindent}{0pt} % optional +\mtcsetfont{minitoc}{section}{\sectfont\small} +\mtcsettitlefont{minitoc}{\sectfont\large} +\mtcsettitle{minitoc}{Inhalt} +\begin{document} +\dominitoc \tableofcontents +\chapter{Ein serifenloses Kapitel} +\minitoc % Aufruf Minitoc +\section{Dieser Text ist in minitoc serifenlos} +Auch der Text \glqq Inhaltsangabe\grqq\ will +so wie koma es definiert. +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-fko.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.pdf Binary files differnew file mode 100644 index 00000000000..b89fa473873 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.tex new file mode 100644 index 00000000000..7fa763649ae --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.tex @@ -0,0 +1,164 @@ +%% +%% This is file `mtc-fo1.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-fo1') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass{report} +\ProvidesFile{mtc-fo1.tex}% + [2007/01/04] +\usepackage{lipsum} +\usepackage{txfonts} +\usepackage[tight]{minitoc} +\begin{document} +\doparttoc \dominitoc \tableofcontents +\part{Introduction} \clearpage +\parttoc \clearpage +\mtcsetfont{parttoc}{chapter}{\normalsize\rmfamily\upshape\bfseries} +\parttoc \clearpage +\mtcsetfont{parttoc}{chapter}{\normalsize\ttfamily\upshape\bfseries} +\parttoc \clearpage +\mtcsetfont{parttoc}{*}{\normalsize\ttfamily\upshape\mdseries} +\parttoc \clearpage +\chapter{A very short chapter} +\minitoc +\lipsum[1] +\section{First section} \lipsum[2] +\subsection{Alpha} \lipsum[3] +\subsection{Beta} \lipsum[4] +\section{Second section} \lipsum[5] +\subsection{Gamma} \lipsum[6] +\subsection{Delta} \lipsum[7] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-fo1.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.pdf Binary files differnew file mode 100644 index 00000000000..a279f03bdd8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.tex new file mode 100644 index 00000000000..84866d7fbf3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.tex @@ -0,0 +1,172 @@ +%% +%% This is file `mtc-fo2.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-fo2') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass{report} +\ProvidesFile{mtc-fo2.tex}% + [2007/01/04] +\usepackage{lipsum} +\usepackage{txfonts} +\usepackage[tight]{minitoc} + \def\ptcSSfont{\ptcfont} % (subsections) + \def\ptcSSSfont{\ptcfont} % (subsubsections) + \def\ptcPfont{\ptcfont} % (paragraphs) + \def\ptcSPfont{\ptcfont} % (subparagraphs) + \def\plffont{\ptcfont} % (figures) + \def\plfSfont{\ptcfont} % (subfigures) + \def\pltfont{\ptcfont} % (tables) + \def\pltSfont{\ptcfont} % (subtables) +\begin{document} +\doparttoc \dominitoc +\tableofcontents +\part{Introduction} +\clearpage +\parttoc \clearpage +\mtcsetfont{parttoc}{chapter}{\normalsize\rmfamily\upshape\bfseries} +\parttoc \clearpage +\mtcsetfont{parttoc}{chapter}{\normalsize\ttfamily\upshape\bfseries} +\parttoc \clearpage +\mtcsetfont{parttoc}{*}{\normalsize\ttfamily\upshape\mdseries} +\parttoc \clearpage +\chapter{A very short chapter} +\minitoc +\lipsum[1] +\section{First section} \lipsum[2] +\subsection{Alpha} \lipsum[3] \subsection{Beta} \lipsum[4] +\section{Second section} \lipsum[5] +\subsection{Gamma} \lipsum[6] \subsection{Delta} \lipsum[7] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-fo2.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.pdf Binary files differnew file mode 100644 index 00000000000..96172bca7ff --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.tex new file mode 100644 index 00000000000..c91e2f5d8ea --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.tex @@ -0,0 +1,159 @@ +%% +%% This is file `mtc-gap.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-gap') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[a4paper,oneside,12pt]{book} +\ProvidesFile{mtc-gap.tex}[2007/01/04]% +\usepackage{txfonts,vruler} % vertical graduation to note positions (Zhuhan Jiang) +\usepackage[english2,tight,listfiles]{minitoc} +\begin{document} +\setvruler[1cm][0][10][3][0][0pt][0pt][0pt][] % with vruler package +\doparttoc \faketableofcontents +\part{First part} +\parttoc +\chapter{First chapter of first part} \chapter{Second chapter of first part} +\part{Second part} +\renewcommand{\mtcgapbeforeheads}{100pt} +\renewcommand{\mtcgapafterheads}{80pt} +\parttoc +\chapter{First chapter of second part} \chapter{Second chapter of second part} +\part{Third part} +\renewcommand{\mtcgapbeforeheads}{20pt} +\renewcommand{\mtcgapafterheads}{10pt} +\parttoc +\chapter{First chapter of third part} \chapter{Second chapter of third part} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-gap.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.pdf Binary files differnew file mode 100644 index 00000000000..51fb3401df0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.tex new file mode 100644 index 00000000000..794c8c55815 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.tex @@ -0,0 +1,195 @@ +%% +%% This is file `mtc-hi1.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-hi1') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass{report} +\ProvidesFile{mtc-hi1.tex}% + [2007/01/04]% +\usepackage% + [tight,listfiles]{minitoc} +\begin{document} +\dominilof \listoffigures +\dominilot \listoftables +\chapter{First} +\minilof \minilot +\begin{figure} +\caption{AAAA1} +\end{figure} +\begin{figure} +\caption{AAAA2} +\end{figure} +\begin{table} +\caption{TAAAA1} +\end{table} +\begin{table} +\caption{TAAAA2} +\end{table} +\chapter{Second} +\minilof \minilot +%%---------------------- +\begin{mtchideinmainlof} +\begin{mtchideinmainlot} +\begin{figure} +\caption{BBBB1} +\end{figure} +\begin{figure} +\caption{BBBB2} +\end{figure} +\begin{table} +\caption{TBBBB1} +\end{table} +\begin{table} +\caption{TBBBB2} +\end{table} +\chapter{Third} +\end{mtchideinmainlot} +\end{mtchideinmainlof} +%%---------------------- +\minilof \minilot +\begin{figure} +\caption{CCCC1} +\end{figure} +\begin{figure} +\caption{CCCC2} +\end{figure} +\begin{table} +\caption{TCCCC1} +\end{table} +\begin{table} +\caption{TCCCC2} +\end{table} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-hi1.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.pdf Binary files differnew file mode 100644 index 00000000000..5f5bda0ab98 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.tex new file mode 100644 index 00000000000..fde601b85bd --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.tex @@ -0,0 +1,193 @@ +%% +%% This is file `mtc-hi2.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-hi2') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass{report} +\ProvidesFile{mtc-hi2.tex}% + [2007/01/04] +\usepackage% + [tight,listfiles]{minitoc} +\begin{document} +\dominilof \listoffigures +\dominilot \listoftables +\chapter{First} +\minilof \minilot +\begin{figure} +\caption{AAAA1} +\end{figure} +\begin{figure} +\caption{AAAA2} +\end{figure} +\begin{table} +\caption{TAAAA1} +\end{table} +\begin{table} +\caption{TAAAA2} +\end{table} +\chapter{Second} +\minilof \minilot +\begin{figure} +\mtchideinmainlof % <-- +\caption{BBBB1} +\end{figure} +\begin{figure} +\caption{BBBB2} +\endmtchideinmainlof % <-- +\end{figure} +\begin{table} +\mtchideinmainlot % <-- +\caption{TBBBB1} +\end{table} +\begin{table} +\caption{TBBBB2} +\endmtchideinmainlot % <-- +\end{table} +\chapter{Third} +\minilof \minilot +\begin{figure} +\caption{CCCC1} +\end{figure} +\begin{figure} +\caption{CCCC2} +\end{figure} +\begin{table} +\caption{TCCCC1} +\end{table} +\begin{table} +\caption{TCCCC2} +\end{table} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-hi2.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.pdf Binary files differnew file mode 100644 index 00000000000..1b75167ebb0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.tex new file mode 100644 index 00000000000..02ff9d6f7a0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.tex @@ -0,0 +1,186 @@ +%% +%% This is file `mtc-hia.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-hia') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass% + [oneside,a4paper]{article} +\ProvidesFile{mtc-hia.tex}% + [2007/01/04] +\usepackage{lipsum} +\usepackage% + [tight,insection]% + {minitoc} +\dosectlot +\begin{document} +\listoftables +\section{First section} +\sectlot +\lipsum[1] +\begin{table}[hb] +\caption{My first visible table} +\end{table} +\lipsum[2] +\begin{table}[ht] +\caption{A second visible table} +\end{table} +\lipsum[3] +\begin{table}[hb] +\mtchideinmainlot +\caption{My first hidden table} +\end{table} +\lipsum[4-6] +\begin{table}[ht] +\caption{A second hidden table} +\end{table} +\lipsum[7] +\section{Second section} +\sectlot +\lipsum[8] +\begin{table}[hb] +\caption{My last hidden table} +\endmtchideinmainlot +\end{table} +\lipsum[9] +\begin{table}[ht] +\caption{A third visible table} +\end{table} +\lipsum[10] +\begin{table}[hb] +\caption{A fourth visible table} +\end{table} +\lipsum[11] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-hia.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.pdf Binary files differnew file mode 100644 index 00000000000..9fa184b6fa1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.tex new file mode 100644 index 00000000000..f1ce90e2437 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.tex @@ -0,0 +1,183 @@ +%% +%% This is file `mtc-hir.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-hir') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[a4paper]{report} +\ProvidesFile{mtc-hir.tex}% + [2007/01/04] +\usepackage{lipsum} +\usepackage[tight]{minitoc} +\dominilot +\begin{document} +\listoftables +\chapter{First chapter} +\minilot +\lipsum[1] +\begin{table}[hb] +\caption{My first visible table} +\end{table} +\lipsum[2] +\begin{table}[ht] +\caption{A second visible table} +\end{table} +\lipsum[3] +\begin{table}[hb] +\mtchideinmainlot % <-- +\caption{My first hidden table} +\end{table} +\lipsum[4-6] +\begin{table}[ht] +\caption{A second hidden table} +\end{table} +\lipsum[7] +\chapter{Second chapter} +\minilot +\lipsum[8] +\begin{table}[hb] +\caption{My last hidden table} +\endmtchideinmainlot % <-- +\end{table} +\lipsum[9] +\begin{table}[ht] +\caption{A third visible table} +\end{table} +\lipsum[10] +\begin{table}[hb] +\caption{A fourth visible table} +\end{table} +\lipsum[11] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-hir.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.pdf Binary files differnew file mode 100644 index 00000000000..fc40963dbc5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.tex new file mode 100644 index 00000000000..7e3f8c24f72 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.tex @@ -0,0 +1,177 @@ +%% +%% This is file `mtc-hop.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-hop') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[oneside,12pt]{scrbook} +\ProvidesFile{mtc-hop.tex}% + [2007/01/04] +\usepackage{lipsum} +\usepackage[hints]{minitoc} +\begin{document} +\dominitoc \tableofcontents +\dominilof \fakelistoffigures +\part*{Part 1: Strategic Marketing} +\mtcaddpart[Part 1: Strategic Marketing] +\chapter{Chapter 1} +\minitoc \minilof +\section{Section one of first chapter} \lipsum[1] +\begin{figure} + \centering Test + \caption{Picture one of first chapter} +\end{figure} + +\section{Section two of first chapter} \lipsum[2] +\begin{figure} + \centering Test + \caption{Picture two of first chapter} +\end{figure} + +\chapter{Chapter 2} +\minitoc \minilof + +\section{Section one of second chapter} \lipsum[3] +\begin{figure} + \centering Test + \caption{Picture one of second chapter} +\end{figure} +\cleardoublepage +\section{Section two of second chapter} \lipsum[4] +\begin{figure} + \centering Test + \caption{Picture two of second chapter} +\end{figure} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-hop.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.pdf Binary files differnew file mode 100644 index 00000000000..dccc9c6f6a4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.tex new file mode 100644 index 00000000000..168e691789a --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.tex @@ -0,0 +1,306 @@ +%% +%% This is file `mtc-liv.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-liv') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[10pt,twoside,openright]{book} +\ProvidesFile{mtc-liv.tex}% + [2007/01/04] +\makeatletter +\def\ps@chapterverso{\ps@empty}% +\def\cleardoublepage{\clearpage + \if@twoside + \ifodd\c@page\else + \null\thispagestyle{chapterverso}\newpage + \if@twocolumn\null\newpage\fi + \fi + \fi + }% +\def\ps@chapterverso{\ps@empty}% +\makeatother +\usepackage[latin1]{inputenc} +\usepackage[TS1,T1]{fontenc} +\usepackage{tocloft} +\usepackage{sectsty} +\usepackage[french,undotted,tight]{minitoc} +\usepackage[english,francais]{babel} +\usepackage{franc,frnew,mypatches} +\providecommand{\fup}{\textsuperscript} +\addtolength{\cftsubsecindent}{1em} % for tocloft +\cftsetrmarg{2.55em plus 1fil} % to avoid hyphenations in the ToC (tocloft). +\setcounter{tocdepth}{3} +\setcounter{secnumdepth}{1} +\setcounter{minitocdepth}{4} +\chapterfont{\huge\bfseries\sffamily} % for sectsty +\renewcommand{\thesection}{\arabic{section}} +\sectionfont{\Large\raggedright} % for sectsty (to avoid hyphenations in section titles) +\title{Systèmes d'occultation} \author{Laurent~\textsc{Bloch}} +\begin{document} + +\maketitle + +\dominitoc \tableofcontents + +\chapter{Définition et contrôle du travail à~faire}% +\label{chap+controle} +\minitoc + +\section{Le modèle de la grande industrie et le taylorisme}% +\index{taylorisme} +C'est au \textsc{xviii}\fup{e}~siècle que la vision du travail comme +marchandise est vraiment devenue dominante, pour s'imposer au +\textsc{xix}\fup{e}~siècle dans l'organisation type de la grande usine +industrielle. + +\subsection*{Après l'usine, le centre d'appel}\index{centre d'appel} +\addcontentsline{toc}{subsection}{Après l'usine, le centre d'appel} +Aujourd'hui le taylorisme\index{taylorisme} au sens +strict est en déclin parce qu'il n'est plus guère adapté aux +besoins de la production industrielle contemporaine non plus qu'aux +nouvelles normes de comportement individuel et collectif. + +\section{Tout travail émet de la pensée} +Le travail a vocation à~produire du sens, pour son auteur comme pour +son destinataire. + +\section{Théorie et pratique de la commande publique} +En France, les prestations de service commandées par les +services publics à~des entreprises font l'objet de contrôles +de leur bonne réalisation selon des procédures et des règles +qui sont des cas particuliers d'un ensemble plus vaste, la +réglementation des marchés publics de l'État, dont nous +allons donner ci-dessous une brève description. + +\subsection{Réglementation des marchés publics} +Le dispositif juridique, réglementaire et comptable qui encadre les +actes contractuels de la puissance publique en France est très~[...] + +\subsubsection{Premier principe: séparation de l'ordonnateur et du comptable} +Le premier élément du dispositif est le principe de +séparation de l'ordonnateur et du comptable. Il a été +instauré en 1319 par l'ordonnance portant création de la~[...] + +\subsubsection{Second principe: contrôle \emph{a~priori}} +Le second élément du dispositif est le principe du contrôle +\emph{a~priori}. Lorsque le directeur de l'organisme public +de recherche pris ici comme exemple (l'ordonnateur) décide~[...] + +\subsubsection{Le Code des Marchés Publics} +Le troisième pilier de la commande publique est le Code des Marchés +Publics (CMP), qui régit tous les contrats, conclus par des organismes +publics ou des collectivités territoriales, dont le montant excède un~[...] + +\subsection{La pratique des marchés publics} +Lorsque l'administration française fait réaliser un système +informatique par un prestataire, elle est en position de maître +d'ouvrage\index{maîtrise d'ouvrage}. Elle rédige (ou fait rédiger) un +cahier des charges\index{cahier des charges} qui décrit les +spécifications du système à~réaliser. Ce cahier des charges constitue~[...] + +\subsection{Quels sont les services publics «~rentables~»?} +Pour parler comme les informaticiens, nous pouvons identifier un +« effet de bord », c'est-à-dire une conséquence non intentionnelle de +la réglementation des marchés publics: les administrations ne disposent +d'aucun moyen pour envisager la notion d'investissement. Le~[...] + +\section{Projet et cahier des charges}\index{cahier des charges} +Jean-Pierre~\textsc{Boutinet} nous guidera ici pour ce qui concerne +l'histoire de la notion de~[...] + +\subsection{La frontière entre conception et fabrication} +La vision classique de la conduite d'un projet informatique de gestion +est la suivante: le maître d'ouvrage\index{maîtrise d'ouvrage}~[...] + +\subsection{Bâtiment, mécanique, programmation} +Nous y reviendrons au chapitre~\ref{chap+travail}, mais nous savons +déjà que la mise en {\oe}uvre de l'informatique s'est beaucoup +inspirée des procédures de travail les plus élaborées du +\textsc{xx}\fup{e}~siècle~[...] + +\chapter{Le travail informatique} +\minitoc + +\section{De la nature de l'informatique} + +\subsection{Premières croyances}\label{sub+premcroyances} +Les premiers ordinateurs, qui entrèrent en fonction à~l'extrême fin +des années 1940 et durant les années 1950, étaient consacrés à~des +travaux militaires ou scientifiques puisque, à~cette époque, +on pensait~[...] + +\subsection{Comment l'informatique diffère des mathématiques} +J'aimerai à~l'occasion de cette analyse attirer l'attention du +lecteur sur une question qui est une source constante de malentendus +au sujet de la programmation. + +\subsubsection{Les preuves de programme} +L'écriture de programmes informatiques obéit à~de tout autres principes. +Il convient de préciser cette affirmation pour la préserver~[...] + +\section{Programmation dans le monde réel} +\subsection{La vraie nature de la programmation des ordinateurs} + +Alors, comment s'écrivent les programmes informatiques? Et +d'ailleurs, qu'est-ce qu'une erreur\index{erreur} de programmation? +Ces questions sont liées et elles sont, bien sûr, au c{\oe}ur de notre +préoccupation. + +\subsection{Méthodes de programmation} +Un processeur quelconque est caractérisé par le jeu des actions +élémentaires qu'il est capable d'effectuer. Ces actions élémentaires +sont appelées les \emph{primitives} du processeur, ou, si le +processeur est une machine, les «~instructions machine~». Un~[...] + +\subsection{Méthodes de construction de programmes} +Nous avons décrit ci-dessus le processus élémentaire de la +programmation, celui qui consiste à~écrire les instructions ou les +expressions qui vont composer un programme. + +\subsubsection{La programmation structurée} +Le premier courant de pensée qui associa la recherche d'une syntaxe +claire et expressive à~une organisation logique et commode des unités +de programme fut la \emph{programmation +structurée}\index{programmation!structurée} des années 1970, dont~[...] + +\subsubsection{La programmation par objets} +Après la programmation structurée vint un autre courant significatif: +la programmation par objets\index{programmation!par objets}, inventée +en Norvège à~la fin des années 1960 par l'équipe de~[...] + +\subsubsection{Excès dans la pensée} +Il y a eu beaucoup de verbiage autour de l'aptitude supposée du +modèle~[...] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-liv.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.pdf Binary files differnew file mode 100644 index 00000000000..05d6c6a8803 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.tex new file mode 100644 index 00000000000..e734943746d --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.tex @@ -0,0 +1,164 @@ +%% +%% This is file `mtc-mem.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-mem') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass% + [oneside]{memoir} +\ProvidesFile{mtc-mem.tex}% + [2007/01/04] +\usepackage{lipsum} +%% \usepackage{hyperref} +%% \usepackage{memhfixc} +\usepackage% + [tight]{minitoc} +%% \usepackage{mtcoff} +\begin{document} +\dominitoc +\tableofcontents* + +\chapter[oneA][oneB]{oneC} +\minitoc +\lipsum[1] \newpage \lipsum[2] +\section{S-1-one} \lipsum[3] +\section{S-1-two} \lipsum[4] + +\chapter[twoA][twoB]{twoC} +\minitoc +\lipsum[4] \newpage \lipsum[5] +\section{S-2-one} \lipsum[6] +\section{S-2-two} \lipsum[7] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-mem.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.pdf Binary files differnew file mode 100644 index 00000000000..c0f5ec59b15 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.tex new file mode 100644 index 00000000000..a031196cca1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.tex @@ -0,0 +1,167 @@ +%% +%% This is file `mtc-mm1.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-mm1') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[oneside]{memoir} +\ProvidesFile{mtc-mm1.tex}% + [2007/01/04] +\usepackage{lipsum} % filling text +\providecommand{\cftsecfont}{\empty} +\providecommand{\cftsubsecfont}{\empty} +\renewcommand{\cftsecfont}{\normalsize\scshape} +\renewcommand{\cftsubsecfont}{\normalsize\scshape} +%% hyperref before minitoc, optional +%% \usepackage[linktocpage=true]{hyperref}\usepackage{memhfixc} +\usepackage[tight]{minitoc} +\mtcsetfont{minitoc}{section}{\normalsize\scshape} % <- no scshape +\mtcsetfont{minitoc}{subsection}{\normalsize\scshape}% <- no scshape +\providecommand{\cftsecfont}{\empty} +\providecommand{\cftsubsecfont}{\empty} +\renewcommand{\cftsubsecfont}{\normalsize\rmfamily\scshape} +\renewcommand{\cftsubsecfont}{\normalsize\rmfamily\scshape} +\mtcsettitlefont{minitoc}{\Large\scshape} +%% this is working beautifully -> +\mtcsettitle{minitoc}{Chapter Contents} +\begin{document} +\dominitoc \tableofcontents* + +\chapter[OneA][OneB]{OneC} +\minitoc +\section{This section} \lipsum[1] +\section{Second section} \lipsum[2] +\section{Third section} \lipsum[3] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-mm1.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.pdf Binary files differnew file mode 100644 index 00000000000..20b49544c82 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.tex new file mode 100644 index 00000000000..20a4431aff4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.tex @@ -0,0 +1,209 @@ +%% +%% This is file `mtc-mu.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-mu') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[12pt]{report} +\ProvidesFile{mtc-mu.tex}% + [2007/01/04] +\usepackage[tight]{minitoc} +\setlength{\mtcindent}{0pt} +\usepackage{wrapfig} +\newcommand{\LangSig}[1]{\textsc{[#1]}} % smallcaps +\begin{document} +\dominitoc \tableofcontents +\chapter{Mulspren}\label{chapter+mulspren} +\begin{wrapfigure}{r}{0.5\linewidth} +\begin{minipage}{\linewidth} +\vspace{-2.\baselineskip} +\minitoc +\vspace{-1.\baselineskip} +\end{minipage} +\end{wrapfigure} +The previous chapter examined many end-user programming environments +and found that most contain cognitive programming gulfs. +These gulfs were often created when programing environments used +multiple notations, and could manifest themselves in a variety of +usability problems, ranging from users being unable to understand +a program representation, to not wanting to execute their programs. +Conversely, the previous chapter also found circumstances where multiple +notations helped users understand programs. +It concluded that there was a place for multiple notation programming +environments, but developers had to be very careful to avoid creating +programming gulfs. +It concluded that there was a place for multiple notation programming +environments, but developers had to be very careful to avoid creating +programming gulfs. + +This chapter introduces our programming environment, Mulspren. +Mulspren was designed to avoid these gulfs and gain the potential +benefits of multiple notations. +Users program using two notations, one similar to English and one +similar to conventional code. +Changes in one notation are immediately reflected in the other notation, +and users can move rapidly and seamlessly between the notations. +This is programming using dual notations. +When the program is executed, both notations are animated. +Mulspren's language signature is \LangSig{Re/Wr/Wa + Re/Wr/Wa + Wa}. + +Papers describing Mulspren have been published in~\cite{Wright02-2} +and~\cite{Wright03-3}. + +\section{section 1} +\section{section 2 bla bla bla bla bla bla bla bla bla bla bla +bla bla bla bla bla bla bla bla bla} +\section{section 3} +\section{section 4} +\section{section 5 bla bla bla bla bla bla bla bla bla bla bla +bla bla bla bla bla} +\begin{thebibliography}{1} +\bibitem{Wright02-2} +Tim Wright and Andy Cockburn. +\newblock Mulspren: a multiple language simulation programming + environment. +\newblock In {\em HCC '02: Proceedings of the IEEE 2002 Symposia + on Human Centric Computing Languages and Environments (HCC'02)}, + page 101, Washington, DC, USA, 2002. IEEE Computer Society. + +\bibitem{Wright03-3} +Tim Wright and Andy Cockburn. +\newblock Evaluation of two textual programming notations for children. +\newblock In {\em AUIC '05: Proceedings of the Sixth Australasian + conference on User interface}, pages 55--62, Darlinghurst, Australia, + Australia, 2005. + Australian Computer Society, Inc. +\end{thebibliography} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-mu.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-nom.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-nom.pdf Binary files differnew file mode 100644 index 00000000000..928f9a21f9b --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-nom.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-nom.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-nom.tex new file mode 100644 index 00000000000..fc98669cce7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-nom.tex @@ -0,0 +1,167 @@ +%% +%% This is file `mtc-nom.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-nom') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[oneside]{book} +\ProvidesFile{mtc-nom.tex}% + [2007/04/02] +\usepackage[intoc]{nomencl} +\usepackage[tight]{minitoc} +\makenomenclature +\begin{document} +\dominitoc +\tableofcontents +\chapter{Angels} +\minitoc +\section{Main equations} +\begin{equation} + a=\frac{N}{A} +\end{equation}% +\nomenclature{$a$}{The number of angels per unit area}% +\nomenclature{$N$}{The number of angels per needle point}% +\nomenclature{$A$}{The area of the needle point}% +The equation $\sigma = m a$% +\nomenclature{$\sigma$}{The total mass of angels per unit area}% +\nomenclature{$m$}{The mass of one angel} +follows easily. +\printnomenclature \mtcfixnomenclature +\chapter{Demons} +\minitoc +\section{False equations} +\begin{equation} i=\sqrt{-1} \end{equation} +\nomenclature{$i$}{The imaginary unit}% +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-nom.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ocf.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ocf.pdf Binary files differnew file mode 100644 index 00000000000..36b8c32971d --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ocf.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ocf.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ocf.tex new file mode 100644 index 00000000000..e1dd4c645df --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ocf.tex @@ -0,0 +1,185 @@ +%% +%% This is file `mtc-ocf.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-ocf') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[oneside]{book} +\ProvidesFile{mtc-ocf.tex}% + [2007/04/02] +\usepackage{multicol} % to make multi-columns. +\usepackage[french]{babel} +\usepackage[latin1]{inputenc} +\usepackage[OT1,TS1,T1]{fontenc} +\usepackage{fullpage} +\let\osection\section \def\section{\penalty-1\relax\osection} +\usepackage[french,tight]{minitoc} +\mtcsetfeature{minitoc}{open}{\vspace{-1ex}\begin{multicols}{3}} +\mtcsetfeature{minitoc}{close}{\end{multicols}\vspace{-1.5ex}} + +\mtcsetfeature{minitoc}{before}{\raggedcolumns} +\mtcsetfeature{minitoc}{after}{\flushcolumns} +\begin{document} +\dominitoc +\tableofcontents +\chapter{Premier chapitre} +\minitoc +\section{Alfa} +\section{Bravo} +\section{Charlie} +\section{Delta} +\section{Echo} +\section{Fox-Trot} +\section{Golf} +\section{Hotel} +\section{India} +\section{Juliet} +\section{Kilo} +\section{Lima} +\section{Mike} +\section{November} +\section{Oscar} +\section{Papa} +\section{Quebec} +\section{Romeo} +\section{Sierra} +\section{Tango} +\section{Uniform} +\section{Victor} +\section{Whiskey} +\section{X-Ray} +\section{Yankee} +\section{Zulu} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-ocf.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ofs.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ofs.pdf Binary files differnew file mode 100644 index 00000000000..e57a66368a0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ofs.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ofs.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ofs.tex new file mode 100644 index 00000000000..f3bc393f0ed --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ofs.tex @@ -0,0 +1,186 @@ +%% +%% This is file `mtc-ofs.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-ofs') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[a4paper]{book} +\ProvidesFile{mtc-ofs.tex}% + [2007/04/17] +\usepackage{lipsum} +\usepackage{multicol} +\usepackage{fullpage} +\usepackage[tight]{minitoc} +\setlength{\mtcindent}{0pt} +\mtcsetfeature{minitoc}{open}{\kern1sp\vspace*{-.1ex}\begin{multicols}{4}[\kern-2.5ex]} +\mtcsetfeature{minitoc}{close}{\end{multicols}\kern-2.ex} +\mtcsetfeature{minitoc}{before}{\raggedcolumns} +\mtcsetfeature{minitoc}{after}{\flushcolumns} +\begin{document} +\dominitoc \faketableofcontents +\chapter{Introduction} +\minitoc +\mtcsetoffset{minitoc}{-1.75em} +\mtcskip \minitoc +\mtcsetoffset{minitoc}{-0.875em} +\setlength{\mtcindent}{-0.875em} +\mtcskip \minitoc +\section{Alfa} \lipsum[\arabic{section}] +\section{Bravo} \lipsum[\arabic{section}] +\section{Charlie} \lipsum[\arabic{section}] +\section{Delta} \lipsum[\arabic{section}] +\section{Echo} \lipsum[\arabic{section}] +\section{Fox-Trot} \lipsum[\arabic{section}] +\section{Golf} \lipsum[\arabic{section}] +\section{Hotel} \lipsum[\arabic{section}] +\section{India} \lipsum[\arabic{section}] +\section{Juliet} \lipsum[\arabic{section}] +\section{Kilo} \lipsum[\arabic{section}] +\section{Lima} \lipsum[\arabic{section}] +\section{Mike} \lipsum[\arabic{section}] +\section{November} \lipsum[\arabic{section}] +\section{Oscar} \lipsum[\arabic{section}] +\section{Papa} \lipsum[\arabic{section}] +\section{Quebec} \lipsum[\arabic{section}] +\section{Romeo} \lipsum[\arabic{section}] +\section{Sierra} \lipsum[\arabic{section}] +\section{Tango} \lipsum[\arabic{section}] +\section{Uniform} \lipsum[\arabic{section}] +\section{Victor} \lipsum[\arabic{section}] +\section{Whiskey} \lipsum[\arabic{section}] +\section{X-Ray} \lipsum[\arabic{section}] +\section{Yankee} \lipsum[\arabic{section}] +\section{Zulu} \lipsum[\arabic{section}] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-ofs.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.pdf Binary files differnew file mode 100644 index 00000000000..3fb2004bd16 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.tex new file mode 100644 index 00000000000..478c4facfde --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.tex @@ -0,0 +1,190 @@ +%% +%% This is file `mtc-sbf.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-sbf') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[12pt]{report} +\ProvidesFile{mtc-sbf.tex}% + [2007/01/04] +\usepackage{subfigure} +\makeatletter +\renewcommand{\l@subfigure}{\@dottedxxxline{\ext@subfigure}{2}{3.9em}{3.3em}} +\makeatother +\usepackage{varioref} +\usepackage[tight]{minitoc} +\newcommand{\goodap}{% + \hspace{\subfigtopskip}% + \hspace{\subfigbottomskip}} +\setcounter{lofdepth}{2} +\begin{document} +\mtcsetdepth{minilof}{2} +\mtcsetfont{minitoc}{section}{\small\rmfamily\upshape\bfseries} +\mtcsetfont{partlof}{subfigure}{\small\rmfamily\slshape\bfseries} +\mtcsetfont{partlof}{figure}{\small\rmfamily\upshape\bfseries} +\mtcsetfont{minilof}{subfigure}{\small\rmfamily\slshape\bfseries} +\mtcsetfont{minilof}{figure}{\small\rmfamily\upshape\bfseries} +%% no tables in this document +%% \mtcsetfont{partlot}{subtable}{\small\rmfamily\slshape\bfseries} +%% \mtcsetfont{partlot}{table}{\small\rmfamily\upshape\bfseries} +%% \mtcsetfont{minilot}{subtable}{\small\rmfamily\slshape\bfseries} +%% \mtcsetfont{minilot}{table}{\small\rmfamily\upshape\bfseries} +\dominilof \listoffigures \tableofcontents +\chapter{First Chapter} +\minilof \mtcskip +\mtcsetdepth{minilof}{1} \minilof +\begin{figure} +\centering + \fbox{% + \begin{minipage}{3.5in}% + \raggedright + \begin{center} + \subfigure[First]{% + \fbox{\hbox to 20mm{\vbox to 15mm{\vfil\null}\hfil}}}% + \hspace{\subfigtopskip}\hspace{\subfigbottomskip}% + \subfigure[Second Figure]{% + \fbox{\hbox to 20mm{\vbox to 10mm{\vfil\null}\hfil}}}\\ + \subfigure[Third]{\label{3figs-c}% + \fbox{\hbox to 20mm{\vbox to 10mm{\vfil\null}\hfil}}}\\ + \caption{Three subfigures.}\label{3figs}% + \end{center} + \vspace{4pt}% + This figure contains two top `subfigures' and + Figure~\ref{3figs-c}. + \end{minipage}} +\end{figure} +Figure~\vref{3figs} contains two top ``subfigures'' and +Figure~\vref{3figs-c}. +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-sbf.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.pdf Binary files differnew file mode 100644 index 00000000000..18017f12dad --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.tex new file mode 100644 index 00000000000..64ca4f0da7c --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.tex @@ -0,0 +1,183 @@ +%% +%% This is file `mtc-scr.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-scr') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[12pt,halfparskip,liststotoc,bibtotoc]{scrreprt} +\ProvidesFile{mtc-scr.tex}% + [2007/01/04] +\setcounter{secnumdepth}{4} +\setcounter{tocdepth}{4} +\usepackage[latin1]{inputenc} +\usepackage{longtable} +\usepackage{hyperref} +\usepackage[k-tight,germanb]{minitoc} +\usepackage[germanb]{babel} +\begin{document} +\pagenumbering{Roman} % page number in Roman, reset to 1 (I) +\dominitoc \tableofcontents +\listoftables \mtcaddchapter +\clearpage +\pagenumbering{arabic} % page number in arabic digits +\setcounter{page}{1} % forced to 1 + +\chapter{Test 1}\label{cha:test-1} + +Text. + +\section{Tabelle}\label{sec:tabelle} + +\begin{table} + \centering + \begin{longtable}[l]{ll} + \underline{Ausbildungsbetrieb} \hspace{10mm} & Kommanditgesellschaft +\\ + \underline{Ausbildender} & Hammer \\ + Ausbildungsstätte & XXXXX Ort + \end{longtable} + \caption{Ausbildungsbetrieb} +\end{table} + +Text. + +\appendix +\chapter{Dokumente} +\minitoc % Aufruf Minitoc + +\section{Anhang}\label{sec:anhang} +Text.\\ +Hier sollte nun der Anhang sein, davor das Verzeichnis dafür. +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-scr.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.pdf Binary files differnew file mode 100644 index 00000000000..15d80523653 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.tex new file mode 100644 index 00000000000..315ca5e5b83 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.tex @@ -0,0 +1,171 @@ +%% +%% This is file `mtc-syn.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-syn') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[a4paper,twoside,12pt]{book} +\ProvidesFile{mtc-syn.tex}% + [2007/01/04] +\usepackage{minitoc} +\begin{document} +\dominitoc +\chapter*{ } % Dedication chapter, no title +\mtcaddchapter % Added for a starred chapter + % without entry in the ToC +Dedication goes here + +\chapter*{Abstract} +\mtcaddchapter[Abstract] % Added for a starred chapter + % with an entry in the ToC +Abstract goes here + +\chapter*{Declaration} +\mtcaddchapter[Declaration] % Added for a starred chapter + % with an entry in the ToC +Declaration goes here +\tableofcontents \decrementmtc % Synchro added (look at the .log file) +\chapter{Chapter One} +\minitoc +\section{Section 1} Some text. +\section{Section 2} Some text. + +\chapter{Chapter Two} +\minitoc +\section{Another Section 1} +Some more text. +\section{Another Section 2} +Some more text. +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-syn.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.pdf Binary files differnew file mode 100644 index 00000000000..bcc348770b5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.tex new file mode 100644 index 00000000000..4701ec9261a --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.tex @@ -0,0 +1,181 @@ +%% +%% This is file `mtc-tbi.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-tbi') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[a4paper]{report} +\ProvidesFile{mtc-tbi.tex}% + [2007/01/04] +\usepackage[nottoc]{tocbibind} +\usepackage[tight]{minitoc} +\begin{document} +\dominitoc \tableofcontents +%% tocbibind compatibility +%% not used if nottoc option : +%% \mtcaddchapter[] +\chapter*{Introduction} +\mtcaddchapter[Introduction] +\chapter{Title of chapter~1} +\minitoc +\section{as1} \section{as2} +\chapter{Title of chapter~2} +\minitoc +\section{bs1} \section{bs2} +\chapter{Title of chapter~3} +\minitoc +\section{cs1} \section{cs2} +\chapter{Title of chapter~4} +\minitoc +\section{ds1} \section{ds2} +\chapter*{Conclusion} +\mtcaddchapter[Conclusion] +\chapter*{Appendices} +\mtcaddchapter[Appendices] +\minitoc +\section*{first appendix} +\addcontentsline{toc}{section}% + {first appendix} +\section*{second appendix} +\addcontentsline{toc}{section}% + {second appendix} +%% tocbibind compatibility +\listoffigures \mtcaddchapter +\begin{thebibliography}{3} + \bibitem {s1}{title ...} +\end{thebibliography} +%% tocbibind compatibility +\adjustmtc +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-tbi.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.pdf Binary files differnew file mode 100644 index 00000000000..be7ca1feca5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.tex new file mode 100644 index 00000000000..9e01c4799ad --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.tex @@ -0,0 +1,169 @@ +%% +%% This is file `mtc-tlc.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-tlc') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass{article} +\ProvidesFile{mtc-tlc.tex}% + [2007/01/04] +\setlength{\textwidth}% + {124.20126pt} +\setlength{\textheight}% + {19\baselineskip} +\usepackage{minitoc} +\setlength{\stcindent}{0pt} +\mtcsetfont{secttoc}{*}% + {\footnotesize} +\mtcsetdepth{secttoc}{3} +\begin{document} +\dosecttoc[e] \faketableofcontents + +\section{Afghanistan} \secttoc +\subsection{Geography} +\subsubsection{Total area} + 647,500 km2 +\subsubsection{Land area} + 647,500 km2 +\subsection{History} \ldots + +\section{Albania} \secttoc +\subsection{Geography} +\subsubsection{Total area} + 28,750 km2 +\subsubsection{Land area} + 27,400 km2 +\subsection{History} \ldots +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-tlc.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.pdf Binary files differnew file mode 100644 index 00000000000..bd9087c0e3a --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.tex new file mode 100644 index 00000000000..f1eac9ab6bc --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.tex @@ -0,0 +1,206 @@ +%% +%% This is file `mtc-tsf.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-tsf') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass{report} +\ProvidesFile{mtc-tsf.tex}[2008/04/03]% +\usepackage{fullpage} +\usepackage[config=altsf]{subfig} +\usepackage[tight]{minitoc} +\newdimen\testtemp +\newcommand{\ru}[1]{% + \testtemp #1% + \advance\testtemp .5pt \divide\testtemp 2% + \hbox to \testtemp{\leaders\hbox to 1mm{% + \vrule height1mm depth0pt width.25pt\hfil}\hfil}% + \hbox to 0pt{\hss\vrule height3mm depth0pt width.25pt\hss}% + \hbox to \testtemp{\leaders\hbox to 1mm{% + \hfil\vrule height1mm depth0pt width.25pt}\hfil}} +%% +\fboxsep=-\fboxrule +\newcommand{\figbox}[1]{% + \fbox{\vbox to 1in{% + \vfil\hbox to 2in{\parbox{2in}{\centering #1}}\vfil + \vbox to 0pt{\vss\hbox to 2in{\hfil\ru{1.1in}\hfil}}}}} +\begin{document} +\setcounter{lofdepth}{2} \dominilof \listoffigures +\newpage +\chapter{Reference Test} +\minilof \mtcskip +\mtcsetdepth{minilof}{1} +\minilof + +\begin{figure}[ht]% + \centering + \subfigure{% + \label{fig+A}\figbox{SUBFIGURE ONE:\\(no opt)}} + \quad + \subfigure[]{% + \label{fig+B}\figbox{SUBFIGURE TWO:\\(empty opt)}}\\ + + \subfigure[Subfigure Three.]{% + \label{fig+C}\figbox{SUBFIGURE THREE:\\(opt)}} + \quad + \subfigure[][Subfigure Four.]{% + \label{fig+D}\figbox{SUBFIGURE FOUR:\\(empty opt and opt)}} + \quad + \subfigure[][]{% + \label{fig+E}\figbox{SUBFIGURE FIVE:\\(both empty opt)}}\\ + + \subfigure[The Sixth Subfigure.][Subfigure Six.]{% + \label{fig+F}\figbox{SUBFIGURE SIX:\\(both opt)}} + \quad + \subfigure[The Seventh Subfigure][]{% + \label{fig+G}\figbox{SUBFIGURE SEVEN:\\(opt and empty opt)}} + + \caption{Optional argument test.}% + \label{fig+main}% +\end{figure} + +The figure~\ref{fig+main} on page~\pageref{fig+main} is composed +of the seven subfigures~\subref{fig+A} (aka: \ref{fig+A}), +\subref{fig+B} (aka: \ref{fig+B}), \subref{fig+C} (aka: \ref{fig+C}), +\subref{fig+D} (aka: \ref{fig+D}), \subref{fig+E} (aka: \ref{fig+E}), +\subref{fig+F} (aka: \ref{fig+F}), and \subref{fig+G} (aka: \ref{fig+G}). + +\section{Centering Test} +Note that figures~\ref{fig+B}, \ref{fig+E} and \ref{fig+G} are centered. +This means that \verb|\subfigcapskip| has been set to zero and is not +offsetting the simple label to the left. Also the remaining captioned +subfigures (figures~\ref{fig+C}, \ref{fig+D}, and \ref{fig+F}) should +have centered labels. +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-tsf.tex'. diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-vti.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-vti.pdf Binary files differnew file mode 100644 index 00000000000..f0805a2f4fb --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-vti.pdf diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-vti.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-vti.tex new file mode 100644 index 00000000000..fafe518248d --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-vti.tex @@ -0,0 +1,180 @@ +%% +%% This is file `mtc-vti.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-vti') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 2008 +%% Jean-Pierre F. Drucbert +\documentclass[10pt,a4paper,oneside]{book} +\ProvidesFile{mtc-vti.tex}[2008/06/26]% +\usepackage{lipsum} +\usepackage{txfonts} +\usepackage[tight]{minitoc} +\begin{document} +\dominitoc +\doparttoc +\newcommand\alfati{\ifinparttoc Alfa in parttoc + \else\ifinminitoc Alfa in minitoc + \else Alfa out subtoc + \fi + \fi} +\DeclareRobustCommand{\varsecti}[3]% + {\ifinparttoc{#1}\relax + \else\ifinminitoc{#2}\relax + \else{#3}\relax + \fi + \fi} +\tableofcontents +\part{Part~A} +\parttoc + +\chapter{One} +\minitoc +\section[\protect\alfati]{Alfa the first section} +\lipsum[1] +\section[\varsecti{Bravo in parttoc}% + {Bravo in minitoc}% + {Bravo out of subtoc}]% % in maintoc and headers + {Bravo the second section} % local title +\lipsum[2] +\chapter{Two} +\minitoc +\section[\mtcpolymtoc% + {Charlie in parttoc}% + {Charlie in minitoc}% + {Charlie in secttoc}% % <- see/voir note + {Charlie out subtoc}]% + {Charlie} +\lipsum[3] +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `mtc-vti.tex'. |