{% raw %} \documentclass[a4paper]{article} \usepackage[margin=1.5cm]{geometry} \usepackage[dvipsnames]{xcolor} \usepackage{fontspec} \usepackage[fontsize=14pt]{fontsize} \usepackage[framemethod=tikz]{mdframed} \usepackage[most]{tcolorbox} \usepackage[french]{babel} \setmainfont{Latin Modern Sans} \title{\vspace{-1.5cm}Répartition des tâches} \author{} \date{\vspace{-2.5cm}} {% endraw %} {% for num in range((groupes|length) + 1) %} \definecolor{groupe{{- num -}} }{HTML}{ {{- couleur[num % (couleur|length)] -}} }{% endfor %} {% raw %} \newcommand{\groupe}[1]{ \tcbox[on line,% left=1pt,top=1pt,right=1pt,bottom=1pt,% bean arc,% colframe=black,boxrule=1px,colback=groupe#1% ]{#1} } \newcommand{\heure}[1]{\normalfont #1} \newcommand{\referent}[1]{\normalfont (voir avec \textbf{#1})} \newmdenv[roundcorner=10pt]{mdtask} \newcommand{\category}[2]{ \section*{#1\hfill{\normalfont #2}} } \newcommand{\subcategory}[2]{ \subsection*{\hspace{1em}#1\hfill{\normalfont #2}} } {% endraw %} \begin{document} \maketitle \section*{Groupes\hfill{}{\normalsize Chaque groupe a plusieurs tâches~!}} \begin{tabular}{c l l l l l} {% for g_id, _ in groupes.items() %} {% include 'groupe.tex.j2' %} {%- endfor %} \end{tabular} {% for cat in taches -%} {% include 'category.tex.j2' %} {% endfor %} \vfill \begin{mdtask}[ frametitle=En cas d'urgence, linecolor=red, linewidth=3pt] Le réseau téléphonique marche difficilement. Essayer de \emph{prévenir le CA de vive voix} de préférence. Si vous vous sentez mal à l'aise dans une situation --~qu'il s'agisse de propos déplacés, de non-respect de votre consentement, etc.~--, vous pouvez contacter \textbf{Cécile} ou \textbf{Raphaël} («~consentement~»), ou en parler à toute autre personne du CA. \textbf{Théo} et \textbf{Nina}, marqués «~dispo h24~» sont joignables à toute heure en cas de soucis, et restent en particulier sobres pendant la soirée. \vspace{1em} \begin{tabular}{l l l l} \textbf{Théo} & 06 13 84 21 81 & dispo h24 & \\ \textbf{Nina} & 06 46 19 13 06 & dispo h24 &\\ \textbf{Cécile} & 07 81 25 30 76 & & consentement \\ \textbf{Raphaël} & 06 33 15 33 77 & & consentement\\ \textbf{Charlotte} & 07 86 39 41 11 & & \\ \end{tabular} \end{mdtask} \end{document}