diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/minitoc/minitoc.pre | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/minitoc.pre')
-rw-r--r-- | Master/texmf-dist/doc/latex/minitoc/minitoc.pre | 285 |
1 files changed, 285 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/minitoc.pre b/Master/texmf-dist/doc/latex/minitoc/minitoc.pre new file mode 100644 index 00000000000..5d20ccaf0e1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/minitoc.pre @@ -0,0 +1,285 @@ +%% LaTeX2e file `./minitoc.pre' +%% generated by the `filecontents' environment +%% from source `minitoc' on 2005/09/17. +%% +\usepackage{xspace} +\usepackage{comment} +\usepackage{enumerate} +%<ADDITIONS +\usepackage{ragged2e} +\usepackage{array} +% colonne de type `p', mais raggedright... +\newcolumntype{R}[1]{>{\RaggedRight\arraybackslash}p{#1}} +\newcolumntype{L}[1]{>{\RaggedLeft\arraybackslash}p{#1}} +\newcolumntype{C}[1]{>{\Centering\arraybackslash}p{#1}} +%La somme des coeffs doit être égale au nombre de colonnes Z, P et X. +\newcolumntype{Z}[1]{>{\hsize=#1\hsize\relax\leavevmode\RaggedRight\arraybackslash}X} +\newcolumntype{Y}[1]{>{\hsize=#1\hsize\relax\leavevmode\RaggedLeft\arraybackslash}X} +\newcolumntype{O}[1]{>{\hsize=#1\hsize\relax\leavevmode\Centering\arraybackslash}X} +%La somme des coeffs doit être égale au nombre de colonnes Z, O, P et X. +\newcolumntype{P}[1]{>{\hsize=#1\hsize\relax\leavevmode\arraybackslash}X} +%ADDITIONS> +\usepackage{textcomp} +\DeclareTextSymbol{\textbackslash}{TS1}{92} +\DeclareTextSymbolDefault{\textbackslash}{TS1} +\IfFileExists{txfonts.sty}{\usepackage{txfonts}}{\relax} +\newif\ifDP\DPfalse +\IfFileExists{dpfloat.sty}{\usepackage{dpfloat}\DPtrue}{\DPfalse} +\usepackage{tocbibind} +\usepackage{nameref} +\input{\jobname.lan} +\newif\ifFTR +\makeatletter % ESSAI pour tromper varioref +\@twosidetrue\@mparswitchtrue % ESSAI pour tromper varioref +\makeatother % ESSAI pour tromper varioref +\ifcase\LANG\relax +\FTRfalse +\usepackage[english]{varioref} +\or\relax +\FTRtrue +\usepackage{frbib} +\usepackage[french]{varioref} +\fi +\makeatletter % ESSAI pour tromper varioref +\@twosidefalse\@mparswitchfalse% ESSAI pour tromper varioref +\makeatother % ESSAI pour tromper varioref +\usepackage{ifpdf} +\ifcase\LANG\relax +\def\gpdftitle{The minitoc package} +\or\relax +\def\gpdftitle{Le paquetage minitoc} +\fi +\ifpdf + \usepackage[pdftex]{color} + \usepackage[pdftex,pstarrows]{pict2e} + \usepackage[pdftex]{graphicx} + \usepackage[pdftex, colorlinks,% + pdfpagelayout=SinglePage,% +% pdfpagetransition=Dissolve,% slow +% pdfpagetransition={Split /H /O},% + pdftitle={\gpdftitle},% + pdfsubject={minitoc},% + pdfauthor={Jean-Pierre F. Drucbert},% + pdfcreator={pdflatex},% + pagebackref=true,% + pdfnewwindow=true,% + bookmarksnumbered=true,% +% plainpages=false,% + bookmarksopen]% + {hyperref} +\else + \usepackage[dvips]{color} + \usepackage[dvips,pstarrows]{pict2e} + \usepackage[dvips]{graphicx} + \usepackage{hyperref} +\fi +\makeatletter % to include some useful commands +%avoid warnings +\providecommand*{\toclevel@xpart}{0} +\providecommand*{\toclevel@xchapter}{0} +\providecommand*{\toclevel@xsection}{0} +\providecommand*{\toclevel@starpart}{0} +\providecommand*{\toclevel@starchapter}{0} +\providecommand*{\toclevel@starsection}{0} +\providecommand*{\toclevel@ppart}{0} +\providecommand*{\toclevel@pchapter}{0} +\providecommand*{\toclevel@psection}{0} +\makeatother +\usepackage{tabularx} +\usepackage{multicol}% v40 +\usepackage{fixfoot} +% Check if booktabs package is available +\newif\ifBT \BTfalse +\IfFileExists{booktabs.sty}{\BTtrue\usepackage{booktabs}}{\BTfalse} +% Check if url package is available +\IfFileExists{url.sty}{\usepackage{url}}{\let\url\texttt} +\ifcase\LANG\relax +\usepackage[french,english]{babel} +\or\relax +\usepackage[french,english]{babel} +\usepackage{franc,frnew} +\fi +\usepackage[TS1,T1]{fontenc} +%\def\ij{i\kern-.1ex j} +\DeclareTextSymbol{\ij}{T1}{188} +\DeclareTextSymbol{\IJ}{T1}{156} +\usepackage[isolatin]{inputenc} +\ifcase\LANG\relax +\or\relax +\IfFileExists{mypatches.sty}{\usepackage{mypatches}}{\relax} +\fi +%\usepackage[latin1]{inputenc} +% gray rules for tables/figures +\definecolor{figrulecolor}{gray}{.82} +%\definecolor{figrulecolor}{cmyk}{.7,.1,.1,.1} % ESSAIS +\providecommand{\topfigrule}{\relax} +\providecommand{\botfigrule}{\relax} +\providecommand{\medfigrule}{\relax} +\iffalse % NO figrules... sight +\renewcommand{\topfigrule}{% + \vspace*{3pt}% + \noindent\textcolor{figrulecolor}{\rule[0pt]{\textwidth}{2pt}}% + \vspace*{-5pt}} +\renewcommand{\botfigrule}{% + \vspace*{-3pt}% + \noindent\textcolor{figrulecolor}{\rule[0pt]{\textwidth}{2pt}}% + \vspace*{1pt}} +\renewcommand{\medfigrule}{% + \vspace*{-3pt}% + \noindent\textcolor{figrulecolor}{\rule[0pt]{\textwidth}{2pt}}% + \vspace*{-2pt}} +\fi % NO figrules... sight +% +% +\makeatletter % to include some useful commands +\providecommand{\BibTeX}{{\rm B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em + T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} +\renewcommand{\BibTeX}{{\rm B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em + T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} +\let\BiBTeX\BibTeX +% IF YOU NOT HAVE THE manfnt FONT, the dangerous bends will not be printed... +\IfFileExists{manfnt.sty}{% does not work with .tfm +\typeout{manfnt.tfm FOUND} +\newfont{\manfnt}{manfnt} +\newcommand\virage{\marginpar[\raggedleft + {{\manfnt\symbol{'177}}~~}]{\raggedright {~~\manfnt\symbol{'177}}}} +\def\@Vir{\hbox to12mm{\hbox{}\leaders% + \hbox{{\manfnt\char127}\kern2pt}\hfil\hbox{}}} +\newcommand\Virage{\marginpar[\hfill{\@Vir~~}]{{~~\@Vir}\hfill}}% +}%ELSE +{\let\Virage\relax \let\virage\relax} +%%%%%%%%%%%%%%%%% END OF REPLACE +\def\smooth{\spaceskip=0.3em plus .8em minus .1em +\xspaceskip=0.6em plus 1em minus .2em +\pretolerance=10 \tolerance=10000 \looseness=-10000 +\parfillskip=0pt plus10fill\relax}% +\newenvironment{SMOOTH}{\bgroup\smooth}{\par\egroup} +% +\def\Cat#1{\hbox{$\langle$\emph{#1}$\rangle$}} +\def\<#1>{\Cat{#1}} +%%% +%%%% Some useful commands from Stefan Ulrich +\newcommand\changeskips{% + \@tempdima\abovecaptionskip + \abovecaptionskip\belowcaptionskip + \belowcaptionskip\@tempdima +} +\newcommand\thickline{% + \noalign{\hrule\@height1pt\vskip.8ex\relax}% +} +\newcommand\V[1]{\texttt{\string#1}} +\newcommand\Chap{$^*$} +\newcommand\Sec{$^{**}$} +\newcommand\Lang{$^\dag$} +\newcommand\Strut{\rule[2.5ex]{0pt}{0pt}} +\newcommand\Strutt{\rule[3.5ex]{0pt}{0pt}} +\newcommand\FontDefault[2]{% + \begin{tabular}[t]{@{}l@{}}% + #1\\ + \hspace*{2em}#2 + \end{tabular}% +} +\newcommand\FontChapSec[3]{% + \begin{tabular}[t]{@{}l@{}}% + #1\\ + \hspace*{2em}#2\Chap\\ + \hspace*{2em}#3\Sec + \end{tabular}% +} +%\makeatother +%\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 +\def\name#1#2{\penalty-1\mbox{\textrm{#1}~\textsc{#2}}} +\def\xname#1#2{\mbox{\textrm{#1}~\textsc{#2}}} +\parskip=12pt +%\def\bs{{\ttfamily\char'134}} +\def\bs{\textbackslash} %ESSAI +\setcounter{tocdepth}{6} +\setcounter{parttocdepth}{0} % only chapters +\setcounter{minitocdepth}{6} +\setcounter{secnumdepth}{6} +\renewcommand{\textfraction}{.0} +\renewcommand{\topfraction}{.9999} +\renewcommand{\bottomfraction}{.9999} +\renewcommand{\floatpagefraction}{.9999} +\setcounter{totalnumber}{10} +\setcounter{topnumber}{10} +\setcounter{bottomnumber}{10} +\makeatletter +\setlength{\@fptop}{0pt}% to push floats to top on float pages +\makeatother +\clubpenalty=10000 +\widowpenalty=10000 +\let\mysize\small +\author{\name{Jean-Pierre F.}{Drucbert}\\% +ONERA~/~Centre de Toulouse~/~SRI\\% +\url{mailto:jean-pierre.drucbert@onera.fr}} +\date{\today} +\title{The \texttt{minitoc} package\\(version~\#43)} +\parindent=0pt +\hyphenation{biblio-gra-phy} +\hyphenation{Biblio-gra-phy} +\makeatletter +\let\o@tocrmarg\@tocrmarg +\def\@tocrmarg{\o@tocrmarg plus 1fil} +% macros for needed vertical space +\def\need#1{\ifhmode\unskip\par\fi \penalty-100 \begingroup % preserve \dimen@, \dimen@i + \ifdim\prevdepth>\maxdepth \dimen@i\maxdepth \else \dimen@i\prevdepth\fi + \kern-\dimen@i + \dimen@\pagegoal \advance\dimen@-\pagetotal % space left + \ifdim #1>\dimen@ + \vfill\eject\PackageInfo{'need' macro}{WARNING- EJECT BY NEED} + \fi + \kern\dimen@i + \endgroup} +\def\lneed#1{\need{#1\baselineskip}} +\def\sneed#1{\ifhmode\unskip\par\fi \penalty-100 \begingroup % preserve \dimen@, \dimen@i + \ifdim\prevdepth>\maxdepth \dimen@i\maxdepth \else \dimen@i\prevdepth\fi + \kern-\dimen@i + \dimen@\pagegoal \advance\dimen@-\pagetotal % space left + \ifdim #1>\dimen@ + \vfill\null\newpage\PackageInfo{'sneed' macro}{WARNING- SOFT EJECT BY NEED} + \fi + \kern\dimen@i + \endgroup} +\def\lsneed#1{\sneed{#1\baselineskip}} +% to avoid a page break just after +% a part/chapter/section title in a table of contents. +\let\old@l@part\l@part +\def\l@part{\lneed{6}\old@l@part} +\let\old@l@chapter\l@chapter +\def\l@chapter{\lneed{2.5}\old@l@chapter} +\let\old@l@section\l@section +\def\l@section{\lneed{1.5}\old@l@section} +% +%Donald Arseneau asnd@reg.triumf.ca +% bottomfnote.sty +\let\bf@makecolold=\@makecol +\def\@makecol{\advance\skip\footins\fill \bf@makecolold} +% end of bottomfnote.sty +% enlarge section mumbers (numwidth) in tocs. +\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.8em}} +\renewcommand*\l@subsection{\@dottedtocline{2}{4.3em}{3.7em}} +\renewcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.6em}} +\renewcommand*\l@paragraph{\@dottedtocline{4}{10em}{5.5em}} +\renewcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6.5em}} +% +\renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} +\let\l@table\l@figure +\makeatother +\providecommand{\AmS}{$\mathcal{A}$\kern-.1667em\lower.5ex\hbox{$\mathcal{M}$}% + \kern-.125em$\mathcal{S}$}% +%%% +\providecommand{\BAR}{\texttt{\textbar}} |