1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-30 04:13:01 +00:00
nk20/templates/wei/weilist_sample.tex

53 lines
1.6 KiB
TeX
Raw Normal View History

\documentclass[landscape,10pt]{article}
2020-04-23 16:28:16 +00:00
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[margin=1.5cm]{geometry}
2020-07-25 16:18:53 +00:00
\usepackage{lmodern}
\usepackage{ltablex}
2020-04-23 16:28:16 +00:00
\usepackage{tabularx}
\begin{document}
\begin{center}
\huge{Liste des inscrits \og {{ wei.name }} \fg{}}
{% if bus %}
2020-08-01 13:59:39 +00:00
\LARGE{Bus {{ bus.name|safe }}}
2020-04-23 16:28:16 +00:00
{% if team %}
2020-08-01 13:59:39 +00:00
\Large{Équipe {{ team.name|safe }}}
2020-04-23 16:28:16 +00:00
{% endif %}
{% endif %}
\end{center}
\begin{center}
\footnotesize
\begin{tabularx}{\textwidth}{ccccccccc}
\textbf{Nom} & \textbf{Prénom} & \textbf{Date de naissance} & \textbf{Genre} & \textbf{Section}
& \textbf{Bus} & \textbf{Équipe} & \textbf{Rôles} \\
2020-04-23 16:28:16 +00:00
{% for membership in memberships %}
{{ membership.user.last_name|safe }} & {{ membership.user.first_name|safe }} & {{ membership.registration.birth_date|safe }}
& {{ membership.registration.get_gender_display|safe }} & {{ membership.user.profile.section_generated|safe }} & {{ membership.bus.name|safe }}
2020-04-24 12:03:25 +00:00
& {% if membership.team %}{{ membership.team.name|safe }}{% else %}--{% endif %} & {{ membership.roles.first|safe }} \\
2020-04-23 16:28:16 +00:00
{% endfor %}
\end{tabularx}
\end{center}
\footnotesize
Section = Année à l'ENS + code du département
\begin{center}
\begin{tabular}{ccccccccc}
\textbf{Code} & A0 & A1 & A2 & A'2 & A''2 & A3 & B1234 & B1 \\
\textbf{Département} & Informatique & Maths & Physique & Physique appliquée & Chimie & Biologie & SAPHIRE & Mécanique \\
\hline
\textbf{Code} & B2 & B3 & B4 & C & D2 & D3 & E & EXT \\
\textbf{Département} & Génie civil & Génie mécanique & EEA & Design & Éco-gestion & Sciences sociales & Anglais & Extérieur
\end{tabular}
\end{center}
2020-04-23 16:28:16 +00:00
\end{document}