Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
composition:tableaux:filets:dessiner_des_lignes_partielles_dans_un_tableau [2018/12/09 10:24] jejust3_composition:tableaux:filets:dessiner_des_lignes_partielles_dans_un_tableau [2022/10/10 14:46] (Version actuelle) – Usage de ⟨...⟩ dbitouze
Ligne 1: Ligne 1:
 ====== Comment obtenir des filets partiels dans un tableau? ====== ====== Comment obtenir des filets partiels dans un tableau? ======
  
 +La commande ''\cline{⟨//nb1//⟩-⟨//nb2//⟩}'' trace un filet depuis la colonne ''⟨//nb1//⟩'' (incluse) jusqu'à la colonne ''⟨//nb2//⟩'' (incluse également).
  
-$\Reponse$  La commande ''\cline{nb1-nb2}'' trace un filet depuis la +Voici un exemple, qui appelle l'extension [[ctanpkg>multirow|multirow]] pour [[3_composition:tableaux:lignes:ecrire_un_texte_sur_plusieurs_lignes_dans_un_tableau|écrire du texte sur plusieurs lignes]] :
-colonne ''nb1'' (incluse) jusqu'à la colonne ''nb2'' (incluse également). +
-L'exemple~\vref{ex=multirow} utilise cette commande.+
  
 +<WRAP column 45ex>
 +<code latex>
 +\documentclass[11pt,french]{article}
 +\usepackage{multirow}
 +\usepackage{mathtools}
 +\usepackage{babel}
  
 +\begin{document}
 +\[
 +\renewcommand\arraystretch{1.4}%
 +\begin{array}{|c|c||c|c|}
 + \hline
 + \multirow{2}{0.5cm}{$k$} &
 + \multirow{2}{0.5cm}{$p_G$} &
 + \multicolumn{2}{c|}{test} \\
 + \cline{3-4}
 + & & \text{DADWRD} & \text{RARWRD} \\
 + \hline
 + 2 & 1     & 90n   & 228 n \\
 + 3 & p_d   & 202 n & 449 n \\
 + 4 & p_d^2 & 424 n & 891 n \\
 + 5 & p_d^3 & 866 n & 1774 n \\
 + \hline
 +\end{array}
 +\]
 +\end{document}
 +</code>
 +</WRAP>
  
-{{htmlmetatags>metatag-keywords=(LaTeX) +<WRAP column 45ex> 
-metatag-og:title=(Comment obtenir des filets partiels dans un tableau?)+<latexdoc> 
 +\documentclass[11pt,french]{article} 
 +\usepackage{multirow} 
 +\usepackage{mathtools} 
 +\usepackage{babel} 
 +\pagestyle{empty} 
 +\begin{document} 
 + 
 +\[ 
 +\renewcommand\arraystretch{1.4} 
 +
 +\begin{array}{|c|c||c|c|} 
 + \hline 
 + \multirow{2}{0.5cm}{$k$} & 
 + \multirow{2}{0.5cm}{$p_G$} & 
 + \multicolumn{2}{c|}{test} \\ 
 + \cline{3-4} 
 + & & \text{DADWRD} & \text{RARWRD} \\ 
 + \hline 
 + 2 & 1     & 90n   & 228 n \\ 
 + 3 & p_d   & 202 n & 449 n \\ 
 + 4 & p_d^2 & 424 n & 891 n \\ 
 + 5 & p_d^3 & 866 n & 1774 n \\ 
 + \hline 
 +\end{array} 
 +\] 
 +\end{document} 
 +</latexdoc> 
 +</WRAP> 
 +<WRAP clear /> 
 + 
 +{{htmlmetatags>metatag-keywords=(LaTeX,tableaux,filets
 +metatag-og:title=(Comment obtenir des filets partiels dans un tableau)
 metatag-og:site_name=(FAQ LaTeX francophone) metatag-og:site_name=(FAQ LaTeX francophone)
 }} }}
  
3_composition/tableaux/filets/dessiner_des_lignes_partielles_dans_un_tableau.1544351070.txt.gz · Dernière modification : 2018/12/09 10:24 de jejust
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0