Nicer source section "delimiters"

This commit is contained in:
Théophile Bastian 2022-11-25 22:48:29 +01:00
parent d63d51c457
commit 5bf8a45d91

View file

@ -13,20 +13,20 @@
\RequirePackage[framemethod=tikz]{mdframed} \RequirePackage[framemethod=tikz]{mdframed}
\RequirePackage{marginnote} \RequirePackage{marginnote}
% Hacks divers %%%%%%%%%% Hacks divers %%%%%%%%%%%%%%%%%%%%
\catcode`\·=13 \def\cdottext{\ensuremath\cdot} \let·\cdottext %\catcode`\·=13 \def\cdottext{\ensuremath\cdot} \let·\cdottext
% Version choristes %%%%%%%%%% Version choristes %%%%%%%%%%%%%%%%%%%%
\newif\ifchoristes \newif\ifchoristes
%\choristesfalse %\choristesfalse
\newcommand{\versionchoristes}{\choristestrue} \newcommand{\versionchoristes}{\choristestrue}
\newcommand{\onlyCA}[1]{\ifchoristes\else#1\fi} \newcommand{\onlyCA}[1]{\ifchoristes\else#1\fi}
% Listes %%%%%%%%%% Listes %%%%%%%%%%%%%%%%%%%%
\setlist[itemize]{label=\textbullet} \setlist[itemize]{label=\textbullet}
\setlist[itemize,2]{label=$\circ$} \setlist[itemize,2]{label=$\circ$}
% Title %%%%%%%%%% Title %%%%%%%%%%%%%%%%%%%%
\def\@subtitle{\vspace{-0.8em}} \def\@subtitle{\vspace{-0.8em}}
\newcommand*{\subtitle}[1]{\def\@subtitle{#1}} \newcommand*{\subtitle}[1]{\def\@subtitle{#1}}
\renewcommand{\maketitle}{ \renewcommand{\maketitle}{
@ -40,7 +40,7 @@
} }
% Header %%%%%%%%%% Header %%%%%%%%%%%%%%%%%%%%
\newcommand*{\presents}[1]{\def\@presents{#1}} \newcommand*{\presents}[1]{\def\@presents{#1}}
\newcommand*{\excuses}[1]{\def\@excuses{#1}} \newcommand*{\excuses}[1]{\def\@excuses{#1}}
\newcommand*{\invites}[1]{\def\@invites{#1}} \newcommand*{\invites}[1]{\def\@invites{#1}}
@ -75,7 +75,7 @@
} }
% Tasks %%%%%%%%%% Tasks %%%%%%%%%%%%%%%%%%%%
\definecolor{taskbarcolor}{RGB}{172,70,255} \definecolor{taskbarcolor}{RGB}{172,70,255}
\definecolor{tasktextcolor}{RGB}{90,36,132} \definecolor{tasktextcolor}{RGB}{90,36,132}
\newmdenv[ \newmdenv[