summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty')
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty99
1 files changed, 99 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
new file mode 100644
index 00000000000..d0a056e141b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
@@ -0,0 +1,99 @@
+%%
+%% This is file `yathesis-demo.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% yathesis.dtx (with options: `demopkg')
+%% -----------------------------------------------------------------------
+%% yathesis --- Yet Another Thesis Class
+%% E-mail: denis.bitouze@lmpa.univ-littoral.fr
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% -----------------------------------------------------------------------
+\RequirePackage{xpatch}
+\RequirePackage{xstring}
+\RequirePackage{xparse}
+\RequirePackage{letltxmacro}
+\RequirePackage{xifthen}
+\RequirePackage[user,abspage]{zref}
+\AtEndPreamble{%
+ \xpretocmd{\tableofcontents@YAD@with@argument}{\cleardoublepage\zlabel{tableofcontents-withargument}}{}{}
+ \xpretocmd{\tableofcontents@YAD@without@argument}{\cleardoublepage\zlabel{tableofcontents-withoutargument}}{}{}
+}
+\AfterEndPreamble{%
+ \xpretocmd{\maketitle}{\zlabel{fr-title}}{}{}%
+ \xpretocmd{\makedisclaimer}{\cleardoublepage\zlabel{disclaimer}}{}{}
+ \xpretocmd{\makekeywords}{\cleardoublepage\zlabel{keywords}}{}{}
+ \xpretocmd{\makelaboratory}{\cleardoublepage\zlabel{laboratory}}{}{}
+ \xpretocmd{\makededications}{\cleardoublepage\zlabel{dedications}}{}{}
+ \xpretocmd{\makefrontepigraphs}{\cleardoublepage\zlabel{frontepigraphs}}{}{}
+ \xpretocmd{\acknowledgements}{\cleardoublepage\zlabel{acknowledgements}}{}{}
+ \xpretocmd{\caution}{\cleardoublepage\zlabel{caution}}{}{}
+ \xpretocmd{\makeabstract}{\cleardoublepage\zlabel{abstract}}{}{}
+ \xpretocmd{\foreword}{\cleardoublepage\zlabel{foreword}}{}{}
+ \let\YAD@demo@chapter@ORI\chapter%
+ \RenewDocumentCommand\chapter{som}{%
+ \IfBooleanTF{#1}
+ {
+ \ifthenelse{\equal{#3}{Introduction g\IeC {\'e}n\IeC {\'e}rale}}{\cleardoublepage\zlabel{introduction}%
+ }{%
+ }%
+ \IfNoValueTF{#2}
+ {\YAD@demo@chapter@ORI*{#3}}
+ {\YAD@demo@chapter@ORI*[#2]{#3}}%
+ }
+ {%
+ \ifthenelse{\equal{#3}{Introduction g\IeC {\'e}n\IeC {\'e}rale}}{\cleardoublepage\zlabel{introduction}%
+ }{%
+ }%
+ \ifthenelse{\equal{#3}{Contexte du chaos du rire}}{\cleardoublepage\zlabel{chapter}%
+ }{%
+ }%
+ \ifthenelse{\equal{#3}{Documents juridiques}}{\cleardoublepage\zlabel{appendix}%
+ }{%
+ }%
+ \IfNoValueTF{#2}
+ {\YAD@demo@chapter@ORI{#3}}
+ {\YAD@demo@chapter@ORI[#2]{#3}}%
+ }
+ }
+ \ifcsdef{printglossary}{%
+ \LetLtxMacro{\YAD@printglossary@ORI}{\printglossary}
+ \renewcommand{\printglossary}[1][]{%
+ \ifthenelse{\isempty{#1}}{\cleardoublepage\zlabel{printglossary}%
+ }{%
+ }%
+ \YAD@printglossary@ORI[{#1}]%
+ }
+ \xpretocmd{\printacronyms}{\cleardoublepage\zlabel{printacronyms}}{}{}
+ \xpretocmd{\printsymbols}{\cleardoublepage\zlabel{printsymbols}}{}{}
+ }{%
+ }
+ \xpretocmd{\conclusion}{\cleardoublepage\zlabel{conclusion}}{}{}
+ \xpretocmd{\conclusion*}{\cleardoublepage\zlabel{conclusion}}{}{}
+ \xpretocmd{\printbibliography}{\cleardoublepage\zlabel{printbibliography}}{}{}
+ \xpretocmd{\printindex}{\cleardoublepage\zlabel{printindex}}{}{}
+ \xapptocmd{\makebackcover}{\zlabel{makebackcover}}{}{}
+ \let\include\input
+}
+%% ----------------------------------------------------------------------------------
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Denis Bitouz'e.
+%%
+%% This work consists of the file yathesis.dtx
+%% and the derived files yathesis.cls,
+%% yathesis.ins,
+%% yathesis.pdf,
+%% and a number of configuration files.
+%%
+%% End of file `yathesis-demo.sty'.