From 8fdfe3350f289e3774f6071d2c37622cd566d690 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 13 Jan 2006 00:07:10 +0000 Subject: smalltableof git-svn-id: svn://tug.org/texlive/trunk@1329 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/smalltableof/smalltableof.sty | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/smalltableof/smalltableof.sty (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/smalltableof/smalltableof.sty b/Master/texmf-dist/tex/latex/smalltableof/smalltableof.sty new file mode 100644 index 00000000000..c6d93421c04 --- /dev/null +++ b/Master/texmf-dist/tex/latex/smalltableof/smalltableof.sty @@ -0,0 +1,39 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%% +% smalltableof.sty +% +% Boretti Mathieu +% ©2003 +%%%%%%%%%%%%%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{smalltableof} +% +% Fourni un chapitre sans numerotation, mais qui est dans la table des matieres +\newcommand{\chapterNoNumber}[1]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}\markboth{{\MakeUppercase{ #1}}}{{\MakeUppercase{#1}}}} +% +% Fourni une section sans numerotation, mais qui est dans la table des matieres, et sans changer les page heading +\newcommand{\sectionNoNumber}[1]{\section*{#1}\addcontentsline{toc}{section}{#1}} +% +% Fourni une commande pour inserer une table de ... +\newcommand{\toc}[1]{\@starttoc{#1}} +% +% +\newcommand{\tablesname}{Tables} +% +% Inclure une seul liste : +\newcommand{\sectiontable}[2]{\sectionNoNumber{#1}\toc{#2}} +% +% Certain liste +\newcommand{\sectiontableoffigure}{\sectiontable{\listfigurename}{lof}} +\newcommand{\sectiontableoftable}{\sectiontable{\listtablename}{lot}} +\newcommand{\tablechapter}{\chapterNoNumber{\tablesname}} +% +% Table par defaut : +\newcommand{\stdtables}{\tablechapter\sectiontableoffigure\sectiontableoftable} +% +% +\newcommand{\mabibliographie}[2]{\if@openright\cleardoublepage\else\clearpage\fi\addcontentsline{toc}{chapter}{\bibname}\bibliographystyle{#1}\bibliography{#2}} +% +% Some remaping +\let\l@algorithm\l@table +% +% \ No newline at end of file -- cgit v1.2.3