diff options
author | Karl Berry <karl@freefriends.org> | 2006-06-19 22:43:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-06-19 22:43:58 +0000 |
commit | 315f6e8cf21d3f57aaefe05b58147de728d5ede0 (patch) | |
tree | a1cace88e0004de97a607a486feab2045bff04aa /Master/texmf-dist/doc/latex/minitoc/minitoc.pre | |
parent | 1c6ae1bc004f1c8a3b49e90c803ebef5030dcdaa (diff) |
minitoc 45
git-svn-id: svn://tug.org/texlive/trunk@1705 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 | 164 |
1 files changed, 129 insertions, 35 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/minitoc.pre b/Master/texmf-dist/doc/latex/minitoc/minitoc.pre index 5d20ccaf0e1..bf65fa180c8 100644 --- a/Master/texmf-dist/doc/latex/minitoc/minitoc.pre +++ b/Master/texmf-dist/doc/latex/minitoc/minitoc.pre @@ -1,8 +1,11 @@ %% LaTeX2e file `./minitoc.pre' %% generated by the `filecontents' environment -%% from source `minitoc' on 2005/09/17. +%% from source `minitoc' on 2006/06/08. %% +\RequirePackage{fixltx2e} \usepackage{xspace} +\usepackage{calc} +\usepackage{afterpage} \usepackage{comment} \usepackage{enumerate} %<ADDITIONS @@ -23,8 +26,13 @@ \DeclareTextSymbol{\textbackslash}{TS1}{92} \DeclareTextSymbolDefault{\textbackslash}{TS1} \IfFileExists{txfonts.sty}{\usepackage{txfonts}}{\relax} +\IfFileExists{mflogo.sty}{\usepackage{mflogo}}% +{\def\MF{\textbf{\texttt{METAFONT}}} + \def\MP{\textbf{\texttt{METAPOST}}}} \newif\ifDP\DPfalse \IfFileExists{dpfloat.sty}{\usepackage{dpfloat}\DPtrue}{\DPfalse} +\newif\ifFLP\FLPfalse +\IfFileExists{floatpag.sty}{\usepackage{floatpag}\FLPtrue}{\FLPfalse} \usepackage{tocbibind} \usepackage{nameref} \input{\jobname.lan} @@ -33,9 +41,27 @@ \@twosidetrue\@mparswitchtrue % ESSAI pour tromper varioref \makeatother % ESSAI pour tromper varioref \ifcase\LANG\relax +\lefthyphenmin=3 +\righthyphenmin=3 +\hyphenation{Mittelbach} +\hyphenation{Jackowski} +\hyphenation{biblio-gra-phy} +\hyphenation{Biblio-gra-phy} +\hyphenation{Impatient} +\hyphenation{make-index} +\hyphenation{hyper-link} \FTRfalse \usepackage[english]{varioref} \or\relax +\lefthyphenmin=3 +\righthyphenmin=3 +\hyphenation{Mittelbach} +\hyphenation{Jackowski} +\hyphenation{biblio-gra-phy} +\hyphenation{Biblio-gra-phy} +\hyphenation{Impatient} +\hyphenation{make-index} +\hyphenation{hyper-link} \FTRtrue \usepackage{frbib} \usepackage[french]{varioref} @@ -43,6 +69,14 @@ \makeatletter % ESSAI pour tromper varioref \@twosidefalse\@mparswitchfalse% ESSAI pour tromper varioref \makeatother % ESSAI pour tromper varioref +\usepackage{multicol}% v40 +\usepackage[OT1,TS1,T1]{fontenc} +\usepackage{fixfoot} +\usepackage[bottom,hang,multiple]{footmisc} +\setlength{\footnotemargin}{.7em} %1.8em by default, much too wide. +% Check if booktabs package is available +\newif\ifBT \BTfalse +\IfFileExists{booktabs.sty}{\BTtrue\usepackage{booktabs}}{\BTfalse} \usepackage{ifpdf} \ifcase\LANG\relax \def\gpdftitle{The minitoc package} @@ -54,52 +88,64 @@ \usepackage[pdftex,pstarrows]{pict2e} \usepackage[pdftex]{graphicx} \usepackage[pdftex, colorlinks,% - pdfpagelayout=SinglePage,% + pdfpagelayout={SinglePage},% % pdfpagetransition=Dissolve,% slow % pdfpagetransition={Split /H /O},% + pdfview={Fit},% + pdfstartview={Fit},% pdftitle={\gpdftitle},% pdfsubject={minitoc},% pdfauthor={Jean-Pierre F. Drucbert},% - pdfcreator={pdflatex},% + pdfcreator={pdfLaTeX with hyperref package},% + pdfproducer={pdflatex},% +% pdfpagemode={UseOutlines},% + pdfkeywords={toc,table-of-contents,part,chapter,section},% +% pdfcompresslevel=9,% pagebackref=true,% pdfnewwindow=true,% - bookmarksnumbered=true,% +%% pdffitwindow=true,% +%% pdfcenterwindow=false,% + pdftoolbar=true,% + pdfmenubar=true,% +%% pdfwindowui=false,% + bookmarks=true,% + a4paper=true,% % plainpages=false,% - bookmarksopen]% + breaklinks=true,% + bookmarksopenlevel=0,% + bookmarksopen,% + bookmarksnumbered=true]% {hyperref} \else - \usepackage[dvips]{color} - \usepackage[dvips,pstarrows]{pict2e} - \usepackage[dvips]{graphicx} - \usepackage{hyperref} + \usepackage[dvips]{color} + \usepackage[dvips,pstarrows]{pict2e} + \usepackage[dvips]{graphicx} + \usepackage{hyperref} +% \usepackage{breakurl} % DOES NOT WORK \fi \makeatletter % to include some useful commands %avoid warnings \providecommand*{\toclevel@xpart}{0} \providecommand*{\toclevel@xchapter}{0} -\providecommand*{\toclevel@xsection}{0} +\providecommand*{\toclevel@xsect}{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} +\providecommand*{\toclevel@psect}{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} +\def\UrlFont{\sffamily} % Check if url package is available -\IfFileExists{url.sty}{\usepackage{url}}{\let\url\texttt} +% \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} +%\usepackage[TS1,T1]{fontenc} %\def\ij{i\kern-.1ex j} \DeclareTextSymbol{\ij}{T1}{188} \DeclareTextSymbol{\IJ}{T1}{156} @@ -134,12 +180,23 @@ \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}} +\providecommand{\SLaTeX}{{\rm S\LaTeX}} +%\renewcommand{\BibTeX}{{\rm B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em +% T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} +\renewcommand{\BibTeX}{{\upshape B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em + T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} \let\BiBTeX\BibTeX +\def\NTS{\leavevmode\hbox{$\cal N\kern-0.35em\lower0.5ex\hbox{$\cal T$}\kern-0.2emS$}} +\def\eTeX{\leavevmode\hbox{$\varepsilon$}-\TeX} % 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} +%\typeout{manfnt.tfm FOUND} +\def\DBEND{% +\ifcase\LANG\relax +{} like the one shown in the margin\virage\relax +\or\relax +{} comme celui montré dans la marge\virage\relax +\fi}% \newfont{\manfnt}{manfnt} \newcommand\virage{\marginpar[\raggedleft {{\manfnt\symbol{'177}}~~}]{\raggedright {~~\manfnt\symbol{'177}}}} @@ -147,14 +204,23 @@ \hbox{{\manfnt\char127}\kern2pt}\hfil\hbox{}}} \newcommand\Virage{\marginpar[\hfill{\@Vir~~}]{{~~\@Vir}\hfill}}% }%ELSE -{\let\Virage\relax \let\virage\relax} +{\let\Virage\relax \let\virage\relax \let\DBEND\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{SCBOX}[1]{\mbox{\scshape #1}}{} \newenvironment{SMOOTH}{\bgroup\smooth}{\par\egroup} % +\let\oendquote\endquote +\def\nendquote{\oendquote\penalty-1\relax} +% +\newenvironment{xmessage}[1][XXXXX]{% + \expandafter\label{mess+#1}% + \begin{samepage}\let\endquote\nendquote\relax\smooth\lneed{5}\strut\hrule\penalty10000}% +{\par\end{samepage}} +% \def\Cat#1{\hbox{$\langle$\emph{#1}$\rangle$}} \def\<#1>{\Cat{#1}} %%% @@ -203,6 +269,7 @@ \makeatother \def\name#1#2{\penalty-1\mbox{\textrm{#1}~\textsc{#2}}} \def\xname#1#2{\mbox{\textrm{#1}~\textsc{#2}}} +\def\vname#1#2{\mbox{\textsc{#2}~\textrm{\upshape{#1}}}} % vietnamese name: last-first \parskip=12pt %\def\bs{{\ttfamily\char'134}} \def\bs{\textbackslash} %ESSAI @@ -227,10 +294,17 @@ ONERA~/~Centre de Toulouse~/~SRI\\% \url{mailto:jean-pierre.drucbert@onera.fr}} \date{\today} -\title{The \texttt{minitoc} package\\(version~\#43)} +\title{The \texttt{minitoc} package\\(version~\#44)} \parindent=0pt +\lefthyphenmin=3 +\righthyphenmin=3 +\hyphenation{Mittelbach} +\hyphenation{Jackowski} \hyphenation{biblio-gra-phy} \hyphenation{Biblio-gra-phy} +\hyphenation{Impatient} +\hyphenation{make-index} +\hyphenation{hyper-link} \makeatletter \let\o@tocrmarg\@tocrmarg \def\@tocrmarg{\o@tocrmarg plus 1fil} @@ -261,20 +335,18 @@ ONERA~/~Centre de Toulouse~/~SRI\\% \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 +% %Donald Arseneau asnd@reg.triumf.ca +% % bottomfnote.sty % replaced by footmisc.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}} +\def\l@section{\lneed{1.5}\@dottedtocline{1}{4.5em}{3.8em}} +\renewcommand*\l@subsection{\@dottedtocline{2}{5.3em}{3.7em}} +\renewcommand*\l@subsubsection{\@dottedtocline{3}{8.0em}{4.6em}} +\renewcommand*\l@paragraph{\@dottedtocline{4}{11em}{5.5em}} +\renewcommand*\l@subparagraph{\@dottedtocline{5}{13em}{6.5em}} % \renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} \let\l@table\l@figure @@ -283,3 +355,25 @@ ONERA~/~Centre de Toulouse~/~SRI\\% \kern-.125em$\mathcal{S}$}% %%% \providecommand{\BAR}{\texttt{\textbar}} +%%%%%%%%%%%%%%%%%%%%%%%%% +%%% wdesc &co +\def\wdesclabel#1{\hspace\labelsep \bf #1} +\def\wdesc#1{\list{}{\settowidth\labelwidth{#1}\leftmargin\labelwidth +\advance\leftmargin\labelsep +\let\makelabel\wdesclabel}} +\let\endwdesc\endlist +\def\wit[#1]{\item[{{#1}\hfill}]} +% bulleted labels +\def\buwdesclabel#1{\hspace\labelsep \hbox{$\bullet$~~\bf #1}} +\def\buwdesc#1{\list{}{\settowidth\labelwidth{{$\bullet$~~#1}}\leftmargin\labelwidth +\advance\leftmargin\labelsep +\let\makelabel\buwdesclabel}} +\let\endbuwdesc\endlist +% boxed labels +\def\bxdesclabel#1{\hspace\labelsep \fbox{\bf #1}} +\def\bxdesc#1{\list{}{\settowidth\labelwidth{#1}\leftmargin\labelwidth +\advance\leftmargin\labelsep +\let\makelabel\bxdesclabel}} +\let\endbxdesc\endlist +%%%%%%%%%%%%%%%%%%%%%%%%% +\RequirePackage{boldsc} |