From 92099755a2d90e18ca00293e8a1541950de1ba22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9o=20Baras?= Date: Sun, 4 Apr 2021 09:00:57 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20hyperlink=20sur=20les=20pr=C3=A9-?= =?UTF-8?q?requis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- latex/modeles/tableau.tex | 10 +++++----- latex/modeles/tableau_exemple.tex | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/latex/modeles/tableau.tex b/latex/modeles/tableau.tex index c7e7804..308081f 100644 --- a/latex/modeles/tableau.tex +++ b/latex/modeles/tableau.tex @@ -71,11 +71,11 @@ Aucun \begin{tabular}[t]{@{}T@{}}% \forLoop{1}{\value{cptRprerequis\CODE}}{noligne}{ - \xdef\contenu{ % - {\csname Rprerequiscode\CODE\Alph{noligne}\endcsname} | - {\csname Rprerequisname\CODE\Alph{noligne}\endcsname} - } - \contenu + \xdef\rescode{\csname Rprerequiscode\CODE\Alph{noligne}\endcsname} + \xdef\contenu{ % + \rescode~| {\csname Rprerequisname\CODE\Alph{noligne}\endcsname} + } + \hyperlink{res:\rescode}{\contenu} \tabularnewline % } \end{tabular}% diff --git a/latex/modeles/tableau_exemple.tex b/latex/modeles/tableau_exemple.tex index 463e54a..3c00550 100644 --- a/latex/modeles/tableau_exemple.tex +++ b/latex/modeles/tableau_exemple.tex @@ -17,9 +17,9 @@ {\bfseries Titre} & {\bfseries \csname ESname\EXEMPLE\endcsname} \\ \hline - - {\bfseries Exemple de la {\csname EScode\EXEMPLE\endcsname}} & - {\csname ESsae\EXEMPLE\endcsname} \\ + \xdef\saecode{\csname EScode\EXEMPLE\endcsname} + {\bfseries Exemple de la \saecode} & + \hyperlink{sae:\saecode}{\csname ESsae\EXEMPLE\endcsname} \\ \hline {\bfseries Description} &