Align group names in a table
This commit is contained in:
parent
7c6070c28f
commit
bb758d2583
2 changed files with 8 additions and 2 deletions
|
@ -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 %} \\
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{{ cat.descr|md_format|escape_latex }} \\
|
{{ cat.descr|md_format|escape_latex }} \\
|
||||||
{% if cat.notes %}\textit{ {{- cat.notes -}} } \\
|
{% if cat.notes %}\textit{ {{- cat.notes -}} } \\
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
\begin{tabular}{r l}
|
\begin{tabular}{c l l l l l}
|
||||||
{% for g_id in cat.assigned %} {% include 'groupe.tex.j2' %}
|
{% for g_id in cat.assigned %} {% include 'groupe.tex.j2' %}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
|
|
Loading…
Reference in a new issue