Ceci est une ancienne révision du document !


Comment tracer des filets discontinus?

$\Reponse$ L'extension arydshln (qui doit impérativement être chargée après l'extension array) fournit des commandes permettant de tracer des filets discontinus. En combinant ses commandes avec les séparateurs de colonnes fournis par array, on obtient ce que l'on veut. Cette extension définit également un nouveau type de séparateur, :, qui trace une ligne verticale pointillées. Par exemple:

\documentclass{report}
  \usepackage{arydshln}
 
\begin{document}
  \setlength{\hdashlinewidth}{.5pt}
  \setlength{\hdashlinegap}{2pt}
 
On peut alors écrire le tableau suivant :
\[
\left[
       \begin{array}{ccc:c}
         a_1 & b_1 & c_1 & d_1 \\
         a_2 & b_2 & c_2 & d_2 \\
         a_3 & b_3 & c_3 & d_3 \\
       \hdashline
         a_4 & b_4 & c_4 & d_4 \\
       \end{array}
\right]
\]
\end{document}

\documentclass{report}
  \usepackage[width=8cm]{geometry}
  \usepackage{arydshln}
  \pagestyle{empty}

\begin{document}
  \setlength{\hdashlinewidth}{.5pt}
  \setlength{\hdashlinegap}{2pt}

On peut alors écrire le tableau suivant :
\[
\left[
       \begin{array}{ccc:c}
         a_1 & b_1 & c_1 & d_1 \\
         a_2 & b_2 & c_2 & d_2 \\
         a_3 & b_3 & c_3 & d_3 \\
       \hdashline
         a_4 & b_4 & c_4 & d_4 \\
       \end{array}
\right]
\]
\end{document}
3_composition/tableaux/filets/tracer_des_traits_discontinus_dans_un_tableau.1560383175.txt.gz · Dernière modification : 2019/06/12 23:46 de jejust
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0