Align group names in a table

This commit is contained in:
Théophile Bastian 2022-10-30 18:32:11 +01:00
parent 7c6070c28f
commit bb758d2583
2 changed files with 8 additions and 2 deletions

View file

@ -1 +1,7 @@
\groupe{ {{- g_id + 1 -}} } &--- {{ ', '.join(groupes[g_id]) }} \\
\groupe{ {{- g_id + 1 -}} }
{%- for mem in range(5) -%}
&
{%- if mem < groupes[g_id]|length -%}
{{ groupes[g_id][mem] }}
{%- endif %}
{%- endfor %} \\

View file

@ -6,7 +6,7 @@
{{ cat.descr|md_format|escape_latex }} \\
{% if cat.notes %}\textit{ {{- cat.notes -}} } \\
{% endif -%}
\begin{tabular}{r l}
\begin{tabular}{c l l l l l}
{% for g_id in cat.assigned %} {% include 'groupe.tex.j2' %}
{%- endfor -%}
\end{tabular}