diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/yathesis/french/documentation/configuration/thesis.cfg')
-rw-r--r-- | Master/texmf-dist/doc/latex/yathesis/french/documentation/configuration/thesis.cfg | 181 |
1 files changed, 181 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/yathesis/french/documentation/configuration/thesis.cfg b/Master/texmf-dist/doc/latex/yathesis/french/documentation/configuration/thesis.cfg new file mode 100644 index 00000000000..ab9a7b376bf --- /dev/null +++ b/Master/texmf-dist/doc/latex/yathesis/french/documentation/configuration/thesis.cfg @@ -0,0 +1,181 @@ +% Title page changed because the documentation isn't a thesis! +\makeatletter +\renewpagestyle{titles}[]{% + \setcounter{secnumdepth}{-10}% + \newgeometry{centering,nomarginpar,bottom=1cm,top=1cm,headheight=\YAD@max@logoheight,hmargin=2cm,includeall}% + \sethead{}{}{}% + \setfootrule{0pt}% + \setfoot{}{}{}% +}% +\renewcommand{\maketitle}[1][]{% + \booltrue{YAD@maketitle@used}% + \yadsetup{#1}% + \setlength{\fboxsep}{10pt}% + \setlength{\YAD@titleboxwidth}{\linewidth-2\fboxsep-2\fboxrule}% + \renewcommand*{\do}[1]{% + \pagestyle{titles}% + \begingroup% + \expandafter\selectlanguage\expandafter{##1}% + \begin{lrbox}{\YAD@titlebox} + \ifthenelse{\equal{\cmdKV@YAD@frametitle}{none}}{% + }{% + \tcbset{colback=white,boxsep=3pt,boxrule=0.4pt,arc=0mm}% + \ifthenelse{\equal{\cmdKV@YAD@frametitle}{shadowbox}}{% + \tcbset{enhanced,drop shadow southeast={black,opacity=1}}% + }{% + \ifthenelse{\equal{\cmdKV@YAD@frametitle}{ovalbox}}{% + \tcbset{arc=3mm}% + }{% + \ifthenelse{\equal{\cmdKV@YAD@frametitle}{fbox}}{% + }{% + \tcbset{code={\expandafter\pgfkeysalsofrom{\cmdKV@YAD@frametitle}}}% + }% + }% + }% + \begin{tcolorbox} + }% + \noindent% + \begin{minipage}{\linewidth-2\fboxsep-2\fboxrule} + \onehalfspacing% + \noindent% + \par% + \centering% + \Huge\bfseries% + \printtitle% + \ifundef{\printsubtitle}{% + }{% + \ifdraft{}{\vspace*{\stretch{.15}}}% + \par% + \centering% + \Large\printsubtitle% + }% + \end{minipage}% + \ifthenelse{\equal{\cmdKV@YAD@frametitle}{none}}{% + }{% + \end{tcolorbox} + }% + \end{lrbox} + \settototalheight{\YAD@titleboxheight}{\YAD@titlebox}% + \setlength{\YAD@otherboxheight}{0.3\paperheight-\YAD@titleboxheight}% + \noindent% + \begin{center} + {% + \large% + \vspace*{\stretch{1}}% + \usebox{\YAD@titlebox}% + \par% + \bigskip% + \textbf{\printauthor}% + \par% + \bigskip% + \textbf{\printdate}% + \vspace*{\stretch{1}}% + }% + \end{center} + \endgroup% + \boolfalse{YAD@cover@page}% + }% + \expandafter\docsvlist{\YAD@mainlanguage}% + \ifbool{YAD@two@titles}{% + \booltrue{YAD@second@title}% + \ifthenelse{\equal{\YAD@mainlanguage}{french}}{% + \ifbool{YAD@nofrontcover}{% + \docsvlist{english}% + }{% + \docsvlist{french,english}% + }% + }{% + \ifbool{YAD@nofrontcover}{% + \docsvlist{french}% + }{% + \docsvlist{english,french}% + }% + }% + }{% + }% + \ifthenelse{\equal{\cmdKV@YAD@frametitle}{shadowbox}}{% + \let\tcb@shadow@prepare=\origtcb@shadow@prepare% + }{% + }% + \expandafter\selectlanguage\expandafter{\YAD@mainlanguage}% + \pagestyle{preliminary}% +}% +% +% Configuration pour faire figurer les 1re et dernière entrées d'index d'une +% page d'index en titre courant +\newcommand\MarkbothHack +{\let\ORIGttl@titlemarks\ttl@titlemarks + \let\ttl@titlemarks\relax +} +\newcommand\UndoMarkbothHack +{\clearpage + \markboth{}{}% + \let\ttl@titlemarks\ORIGttl@titlemarks +} +\newcommand\wordrange{% + \ifthenelse{% + \equal{\leftmark}{}% + }{% + \ifthenelse{% + \equal{\rightmark}{}% + }{% + % Both leftmark and rightmark empty => empty wordrange + }{% + (\rightmark) + % : leftmark vide, rightmark ? (leftmark=|\leftmark|, rightmark=|\rightmark|)% + }% + }{% + \ifthenelse{% + \equal{\rightmark}{\leftmark}% + }{% + % (\rightmark) : + % leftmark non vide, leftmark=rightmark (leftmark=|\leftmark|, rightmark=|\rightmark|)% + }{% + (\rightmark\ -- \leftmark) + % : leftmark non vide, leftmark!=rightmark (leftmark=|\leftmark|, rightmark=|\rightmark|)% + }% + }% +} +\newpagestyle{indexpagestyle}{% + \let\ORIGttl@titlemarks\ttl@titlemarks + \let\ttl@titlemarks\relax + % + \sethead[\thepage{}\hspace{.5cm}\wordrange]% + []% + [\YAD@chapter@header{}]% + {\YAD@chapter@header{}}% + {}% + {\wordrange\hspace{.5cm} \thepage{}}% + \headrule% + % + % \let\ttl@titlemarks\relax + % \sethead{\rightmark\ -- \leftmark}{}{}% + % \headrule + % \setfoot{}{\thepage}{}% +}% +\newcommand\UndoSideEffectOfIndexPageStyle +{\clearpage + \let\ttl@titlemarks\ORIGttl@titlemarks +} +\makeatother +% \tcbset{index command name=commands-test} +% \makeindex[title=Index des commandes,columnseprule,options=-M denisbdoc.xdy -L french,name=commands-test] +\tcbset{index command name=commands} +\makeindex[title=Index des commandes,columnseprule,options=-M denisbdoc.xdy -L french,name=commands] +% +\makeindex[title=Index des concepts,columnseprule,options=-M denisbdoc.xdy -L french] +% +\renewcommand{\ttdefault}{lmtt} +% +\lstMakeShortInline[style=dbtex]| +% +\input{liminaires/fixed-footnotes} +% +\loadglsentries{glossaries/glossary} +\loadglsentries{glossaries/acronyms} +\addbibresource{yathesis-fr.bib} +% +\InputIfFileExists{translations}{}{} +% +\InputIfFileExists{includeall-includeonly}{}{} +% |