diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2025-03-21 10:13:33 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2025-03-21 10:13:33 +0100 |
commit | 0c2ada30f2180b8d0add9ba5e57869eaa3ffcf15 (patch) | |
tree | ef753bd2513f24da4431cf612ebaf8d5ece3b43e /model_3 | |
parent | 17b234852e45b333ec638ecb3a38848bd4305f44 (diff) |
Automatically starts the columns for all document with a sidebar
Diffstat (limited to 'model_3')
-rwxr-xr-x | model_3/resources/99_sidebar.tex | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/model_3/resources/99_sidebar.tex b/model_3/resources/99_sidebar.tex index fb98c57..d8ecbfd 100755 --- a/model_3/resources/99_sidebar.tex +++ b/model_3/resources/99_sidebar.tex @@ -1,17 +1,8 @@ -\newlength{\notesep} - -\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]} -\let\endchangemargin=\endlist - - -\ifdefinedcolor{backsidecolor}{% - \backgroundcolor{c[1]}{backsidecolor} -}{} - -\setlength{\columnseprule}{0.2pt} +\def\nocolumns{} +\input{../common/99_sidebar.tex} % Une commande dédiée pour les notes de marge -\newcommand{\DUsidebar}[1]{% +\renewcommand{\DUsidebar}[1]{% \switchcolumn[1] \begin{changemargin}{0.5cm}{0.0cm} \small @@ -22,9 +13,3 @@ \switchcolumn \ifdefinedcolor{textsidecolor}{\color{black}}{} } - -\AtEndDocument{% - % Make the column go to the bottom - \flushpage - \end{paracol} -} |