dans rapport.tex : les remarques s'autoincrémentent à l'aide d'un compteur "rq"

initialisé à 1 pour la première remarque
This commit is contained in:
random-toto@localhost 2016-03-10 11:56:53 +01:00
parent 2084fdfaf2
commit 2d955983ba
1 changed files with 6 additions and 1 deletions

View File

@ -132,6 +132,8 @@ Prénom4 \textsc{Nom4}
\titleformat{\subsection}{\normalfont\large\relax}{\thesubsection}{1em}{}[{\titlerule[0pt]}] \titleformat{\subsection}{\normalfont\large\relax}{\thesubsection}{1em}{}[{\titlerule[0pt]}]
\titleformat{\subsubsection}{\normalfont\large\slshape\relax}{\thesubsubsection}{1em}{}[{\titlerule[0pt]}] \titleformat{\subsubsection}{\normalfont\large\slshape\relax}{\thesubsubsection}{1em}{}[{\titlerule[0pt]}]
\newcounter{rq} % rq = 0
\stepcounter{rq} % rq = 1
\section{Ma section 1} \section{Ma section 1}
@ -159,13 +161,16 @@ Du texte
\lipsum[2] \lipsum[2]
\begin{center} \begin{center}
\begin{tabular}{|>{\columncolor{myBlue}} p{.75cm} | p{15cm} |} \begin{tabular}{|>{\columncolor{myBlue}} p{.75cm} | p{15cm} |}
\hline \hline
\bfseries{R1} & \lipsum[2] \\ \bfseries{R\arabic{rq}} & \lipsum[2] \\
\hline \hline
\end{tabular} \end{tabular}
\end{center} \end{center}
\stepcounter{rq}