diff options
author | Karl Berry <karl@freefriends.org> | 2007-07-16 16:35:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-07-16 16:35:10 +0000 |
commit | 7148bd987087fee2f7c0dacb91b1ed94f7b4330e (patch) | |
tree | e82222391ee846b9cc60268cb12e8b366a7f1555 /Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex | |
parent | c5e415e617636193b934f2e5ff7479167f746e92 (diff) |
minitoc 55 (1jul07)
git-svn-id: svn://tug.org/texlive/trunk@4622 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex index 89af8c9f779..0175e079165 100644 --- a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex @@ -25,18 +25,19 @@ %% 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 +%% 2001 2002 2003 2004 2005 2006 2007 2008 %% Jean-Pierre F. Drucbert %% <jean-pierre.drucbert@onera.fr> +\makeatletter %% mtc-art.tex -%% This file contains a set of tests for the minitoc.sty version #53 +%% This file contains a set of tests for the minitoc.sty version #55 %% package. You can alter most of parameters to test. %% article (\section must be defined) \documentclass[12pt,a4paper]{article} \ProvidesFile{mtc-art.tex}% - [2007/01/04] + [2007/06/06] \usepackage{lipsum} % provides filling text -%%\usepackage{hyperref} % If used, load it BEFORE minitoc +%% \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 @@ -44,13 +45,14 @@ %% % 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 +%% \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 +%%% \makeatletter \@addtoreset{section}{part} \makeatother %%% END TEST \begin{document} \dosecttoc @@ -62,10 +64,7 @@ \faketableofcontents % or \tableofcontents \fakelistoffigures % to check compatibility \fakelistoftables % to check compatibility -\part{First Part} -\parttoc -\partlof[r] -\partlot +\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 @@ -79,7 +78,7 @@ \subsection{S3} \lipsum[4] \subsection*{S4} -%%\addcontentsline{toc}{starsubsection}{*S4*} +%% \addcontentsline{toc}{starsubsection}{*S4*} \lipsum[5] \subsection{S5} \lipsum[6] @@ -164,7 +163,7 @@ \subsection{T2} \lipsum[37] \section*{CCCCC} % tests a pseudo-section. should have no secttoc -%%\addstarredsection{CCCCC} +%% \addstarredsection{CCCCC} \mtcaddsection[CCCCC] \secttoc \mtcskip \sectlof %ADDED \lipsum[38] @@ -184,7 +183,7 @@ \partlot %% % the following section should have no secttoc, \section{DDDDD} % but if you uncomment \secttoc, -%%\secttoc +%% \secttoc \mtcskip \sectlof %ADDED \lipsum[44] \subsection{V1} |