summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/minitoc/minitoc.pre
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-07-16 16:35:10 +0000
committerKarl Berry <karl@freefriends.org>2007-07-16 16:35:10 +0000
commit7148bd987087fee2f7c0dacb91b1ed94f7b4330e (patch)
treee82222391ee846b9cc60268cb12e8b366a7f1555 /Master/texmf-dist/doc/latex/minitoc/minitoc.pre
parentc5e415e617636193b934f2e5ff7479167f746e92 (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/minitoc.pre')
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/minitoc.pre164
1 files changed, 155 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/minitoc.pre b/Master/texmf-dist/doc/latex/minitoc/minitoc.pre
index 3e8ef9186f3..908a6706c42 100644
--- a/Master/texmf-dist/doc/latex/minitoc/minitoc.pre
+++ b/Master/texmf-dist/doc/latex/minitoc/minitoc.pre
@@ -1,9 +1,130 @@
%% LaTeX2e file `./minitoc.pre'
%% generated by the `filecontents' environment
-%% from source `minitoc' on 2007/03/22.
+%% from source `minitoc' on 2007/06/29.
%%
+% chaptermark: do not uppercase the headers
+\renewcommand{\chaptermark}[1]{%
+% \markboth{\chaptername~\thechapter~---~#1}{\chaptername~.\thechapter~---~#1}}
+ \markboth{[\thechapter]~---~#1}{[\thechapter]~---~#1}}
+%%%%%%%%%%%%%%%
+% do not uppercase the headers in TOC, LOF, LOT, BIB
+\makeatletter
+\let\RELAX\relax
+% We replace \MakeUppercase by \RELAX
+% TOC
+\renewcommand\tableofcontents{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\contentsname
+ \@mkboth{%
+ \RELAX\contentsname}{\RELAX\contentsname}}%
+ \@starttoc{toc}%
+ \if@restonecol\twocolumn\fi
+ }
+% LOF
+\renewcommand\listoffigures{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\listfigurename
+ \@mkboth{\RELAX\listfigurename}%
+ {\RELAX\listfigurename}}%
+ \@starttoc{lof}%
+ \if@restonecol\twocolumn\fi
+ }
+% LOT
+\renewcommand\listoftables{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\listtablename
+ \@mkboth{%
+ \RELAX\listtablename}{\RELAX\listtablename}}%
+ \@starttoc{lot}%
+ \if@restonecol\twocolumn\fi
+ }
+% BIB
+\renewenvironment{thebibliography}[1]
+ {\chapter*{\bibname
+ \@mkboth{\RELAX\bibname}{\RELAX\bibname}}%
+ \mtcaddchapter[\bibname]%
+ \list{\@biblabel{\@arabic\c@enumiv}}%
+ {\settowidth\labelwidth{\@biblabel{#1}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \@openbib@code
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+ \sloppy
+ \clubpenalty4000
+ \@clubpenalty \clubpenalty
+ \widowpenalty4000%
+ \sfcode`\.\@m}
+ {\def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist}
+% Do nor slant text in headers
+\if@twoside
+ \def\ps@headings{%
+ \let\@oddfoot\@empty\let\@evenfoot\@empty
+ \def\@evenhead{\bfseries\large\thepage\hfil\upshape\leftmark}%
+ \def\@oddhead{\bfseries\large{\upshape\rightmark}\hfil\thepage}%
+ \let\@mkboth\markboth
+ \def\chaptermark##1{%
+ \markboth {\RELAX{%
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+% \@chapapp~\thechapter~---~%
+ [\thechapter]~---~%
+ \fi
+ \fi
+ ##1}}{}}%
+ \def\sectionmark##1{%
+ \markright {\RELAX{%
+ \ifnum \c@secnumdepth >\z@
+ \thesection. \ %
+ \fi
+ ##1}}}}
+\else
+ \def\ps@headings{%
+ \let\@oddfoot\@empty
+ \def\@oddhead{\bfseries\large{\upshape\rightmark}\hfil\thepage}%
+ \let\@mkboth\markboth
+ \def\chaptermark##1{%
+ \markright {\RELAX{%
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+% \@chapapp~\thechapter~---~%
+ [\thechapter]~---~%
+ \fi
+ \fi
+ ##1}}}}
+\fi
+\def\ps@myheadings{%
+ \let\@oddfoot\@empty\let\@evenfoot\@empty
+ \def\@evenhead{\bfseries\large\thepage\hfil\upshape\leftmark}%
+ \def\@oddhead{\bfseries\large{\upshape\rightmark}\hfil\thepage}%
+ \let\@mkboth\@gobbletwo
+ \let\chaptermark\@gobble
+ \let\sectionmark\@gobble
+ }
+\makeatother
+%%%%%%%%%%%%%%%
% PB HYPERREF % \usepackage[position=top,farskip=3ex,captionskip=2ex]{subfig}
\usepackage{tocbibind}
+% Do not uppercase
+\makeatletter
+\renewcommand{\tocetcmark}[1]{%
+ \@mkboth{\RELAX{#1}}{\RELAX{#1}}}
+\makeatother
\RequirePackage{fixltx2e}
\usepackage{xspace}
\usepackage{calc}
@@ -27,6 +148,7 @@
\usepackage{textcomp}
\DeclareTextSymbol{\textbackslash}{TS1}{92}
\DeclareTextSymbolDefault{\textbackslash}{TS1}
+\usepackage{amsfonts}
\IfFileExists{txfonts.sty}{\usepackage{txfonts}}{\relax}
\IfFileExists{mflogo.sty}{\usepackage{mflogo}}%
{\def\MF{\textbf{\texttt{METAFONT}}}
@@ -88,6 +210,10 @@
\fi
\ifpdf
\usepackage[pdftex]{color}
+ \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
+ \definecolor{Green}{cmyk}{1,0,1,0}
+ \definecolor{RedOrange}{cmyk}{0,0.77,0.87,0}
+ \definecolor{Cyan}{cmyk}{1,0,0,0}
\usepackage[pdftex,pstarrows]{pict2e}
\usepackage[pdftex]{graphicx}
\usepackage[pdftex, colorlinks,%
@@ -117,16 +243,33 @@
unicode=true,%
a4paper=true,%
% plainpages=false,%
+% pageanchor=false,%
+% hyperindex=false,%
breaklinks=true,%
bookmarksopenlevel=0,%
bookmarksopen,%
+% COLORS
+ linkbordercolor={Cyan},%
+ linkcolor={Cyan},%
+ menubordercolor={blue},%
+ menucolor={red},%
+ pagecolor={Cyan},%
+ citecolor={Green},%
+ urlcolor={RedOrange},%
+ filecolor={Cyan},%
+% COLORS
bookmarksnumbered=true]%
- {hyperref}
+ {hyperref}%
+ \IfFileExists{hypcap.sty}{\usepackage[all]{hypcap}}{}%
\else
- \usepackage[dvips]{color}
- \usepackage[dvips,pstarrows]{pict2e}
- \usepackage[dvips]{graphicx}
- \usepackage{hyperref}
+ \usepackage[dvips]{color}%
+ \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
+ \definecolor{Green}{cmyk}{1,0,1,0}
+ \definecolor{RedOrange}{cmyk}{0,0.77,0.87,0}
+ \usepackage[dvips,pstarrows]{pict2e}%
+ \usepackage[dvips]{graphicx}%
+ \usepackage{hyperref}%
+ \IfFileExists{hypcap.sty}{\usepackage[all]{hypcap}}{}%
% \usepackage{breakurl} % DOES NOT WORK
\fi
\makeatletter % to include some useful commands
@@ -203,7 +346,9 @@
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}
+\providecommand*{\pdfTeX}{pdf\TeX}
+%\def\eTeX{\leavevmode\hbox{$\varepsilon$}-\TeX}
+\providecommand*{\eTeX}{$\csname m@th\endcsname\varepsilon$-\TeX}
%\newcommand{\Arabi}{\L{\sffamily A\kern-.2ex\lower.25ex\hbox{r}\kern-.25exa% \L not used here
% \kern-.22exb\kern-.15exi}} %Logo
\newcommand{\Arabi}{\mbox{\sffamily A\kern-.2ex\lower.25ex\hbox{r}\kern-.25exa%
@@ -240,7 +385,8 @@
%
\newenvironment{xmessage}[1][XXXXX]{%
\expandafter\label{mess+#1}%
- \begin{samepage}\let\endquote\nendquote\relax\smooth\lneed{5}\strut\hrule\penalty10000}%
+ \begin{samepage}%
+ \let\endquote\nendquote\relax\smooth\lneed{5}\strut\hrule\relax\jmess{#1}\penalty10000}%
{\par\end{samepage}}
%
\def\Cat#1{\hbox{$\langle$\emph{#1}$\rangle$}}
@@ -379,7 +525,7 @@ ONERA~/~Centre de Toulouse~/~SRI\\%
% \def\@makecol{\advance\skip\footins\fill \bf@makecolold}
% % end of bottomfnote.sty
% indentations multiples of 1.5em.
-% enlarge section mumbers (numwidth) in tocs.
+% enlarge section numbers (numwidth) in tocs.
\def\l@section{\lneed{1.5}\@dottedtocline{1}{1.5em}{3.0em}}
\renewcommand*\l@subsection{\@dottedtocline{2}{3.0em}{3.2em}}
\renewcommand*\l@subsubsection{\@dottedtocline{3}{4.5em}{4.1em}}