%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright 2026 Louis Paternault --- http://snt.ababsurdo.fr
%
% Publié sous licence Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
% http://creativecommons.org/licenses/by-sa/4.0/deed.fr
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Pour compiler :
%$ lualatex $basename

\documentclass[11pt]{article}

\usepackage{2526-pablo}
\usepackage{2526-pablo-paternault}

\usepackage[
  a4paper,
  headsep=3mm,
  margin=7mm,
  includehead,
  landscape,
]{geometry}

\usepackage{2526-pablo-header}
\fancyhead[L]{%
    \textsc{Podcast}\hfill%
    {Classe :}\dotfill%
    {Date :}\dotfill%
    {Thème :}\dotfill%
}

\usepackage{tabularray}
\usepackage{amssymb}
\usepackage{graphicx}

\newcommand{\coche}{\scalebox{1.5}{$\square$}}

\UseTblrLibrary{functional}
\prgNewFunction \repeatedline {} {%
    \prgReturn {%
        \directlua{tex.print(\therownum-2)} &&
        \coche & \coche & \coche & \coche &
        \coche & \coche &
        \coche & \coche &
        \coche & \coche & &
        \coche & \coche &
        \\
    }
}

\begin{document}

\begin{tblr}[evaluate=\repeatedline]{%
	colspec={|rX|cccc|cc|cc|ccc|cc|X|},
    cell{2}{2}={c=1}{c},
    cell{1}{3}={c=4}{c},
    cell{1}{7}={c=2}{c},
    cell{1}{9}={c=2}{c},
    cell{1}{11}={c=3}{c},
    cell{1}{14}={c=2}{c},
    cell{2}{16}={c=1}{c},
    row{1-2} = {font=\large\bfseries\sffamily},
}
\hline
    && Autorisation &&&& Parle && Texte rendu && Lieu d'enregistrement &&& Noté && \\
    &Nom & Non & Prof. & Groupe & Radio & Oui & Non & Oui & Non & Studio & Portable & Autre & Oui & Non & Commentaires \\
    \hline[2pt]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\repeatedline\hline[dotted]
\hline
\end{tblr}

\end{document}
