diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/smalltableof/smalltableof.sty |
Initial commit
Diffstat (limited to 'macros/latex/contrib/smalltableof/smalltableof.sty')
-rw-r--r-- | macros/latex/contrib/smalltableof/smalltableof.sty | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/macros/latex/contrib/smalltableof/smalltableof.sty b/macros/latex/contrib/smalltableof/smalltableof.sty new file mode 100644 index 0000000000..c6d93421c0 --- /dev/null +++ b/macros/latex/contrib/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 |