Comment changer la fonte d'une colonne?

$\Reponse$ Le package array permet d'insérer systématiquement des commandes entre le contenu d'une colonne et son séparateur. Cela se fait au moyen des « descripteurs » de colonnes > et <.

Voici comment tout cela fonctionne:

\begin{tabular}{|>{\scshape}l|>{\(}c<{\)}|>{\itshape}r|}
\hline
Hugo       & 1831 & Les feuilles d'automne \\
Balzac     & 1832 & Le colonel Chabert     \\
Maupassant & 1887 & Le Horla               \\
\hline
\end{tabular}

donne:

<latexdoc> \documentclass{article} \usepackage{array} \begin{document} \thispagestyle{empty} \begin{tabular}{|>{\scshape}l|>{\(}c<{\)}|>{\itshape}r|} \hline Hugo & 1831 & Les feuilles d'automne
Balzac & 1832 & Le colonel Chabert
Maupassant & 1887 & Le Horla
\hline \end{tabular} \end{document} </latexdoc>

3_composition/tableaux/colonnes/changer_la_fonte_d_une_colonne.txt · Dernière modification: 2022/11/30 20:09 de dbitouze
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0