diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2020-12-01 21:32:20 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2020-12-03 17:33:35 +0100 |
commit | b6bebdc03066e513efbbb5ff9424681bbcceff0c (patch) | |
tree | ad58ccc072efbfdeabe4d9b4b20b79acc8fd19b3 /model_3/resources/99_sidebar.tex | |
parent | 02b663b21099cdb62cef7b363cae46a56d7aae5f (diff) |
Added a new model, and did some factorisation
Diffstat (limited to 'model_3/resources/99_sidebar.tex')
-rwxr-xr-x | model_3/resources/99_sidebar.tex | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/model_3/resources/99_sidebar.tex b/model_3/resources/99_sidebar.tex index d9fe38e..fb98c57 100755 --- a/model_3/resources/99_sidebar.tex +++ b/model_3/resources/99_sidebar.tex @@ -1,8 +1,8 @@ \newlength{\notesep} -% Une commande dédiée pour les notes de marge -\setlength{\columnsep}{1cm} -\columnratio{0.71} +\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]} +\let\endchangemargin=\endlist + \ifdefinedcolor{backsidecolor}{% \backgroundcolor{c[1]}{backsidecolor} @@ -10,9 +10,7 @@ \setlength{\columnseprule}{0.2pt} -\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]} -\let\endchangemargin=\endlist - +% Une commande dédiée pour les notes de marge \newcommand{\DUsidebar}[1]{% \switchcolumn[1] \begin{changemargin}{0.5cm}{0.0cm} @@ -22,22 +20,11 @@ \end{changemargin} \vspace{\notesep} \switchcolumn + \ifdefinedcolor{textsidecolor}{\color{black}}{} } -\newcommand{\DUtitletitle}[1]{% - \begin{CaviarDreamsFont}% - \textbf\selectfont\color{sidecolor}{\uppercase{#1}}% - \end{CaviarDreamsFont}% - } - \AtEndDocument{% + % Make the column go to the bottom \flushpage \end{paracol} } - -\let\oldtitle\maketitle -\renewcommand{\maketitle}{% - \oldtitle - \thispagestyle{fancy} - \begin{paracol}{2}% -} |