Je veux couleur hline, .: par exemplecode latex pour ajuster les attributs de hline (couleur, pointillés), et/ou attributs de lignes verticales dans le tableau
\hline[color=red,width=2mm,dashed]
ou quelque chose.
Voici une tentative faible qui échoue. J'ai mis du texte en gris autour de {|}
pour essayer de le rendre gris. Idéalement, je le veux gris et pointillé. Notez également le texte en gris autour de la balise {\hline}
. Toute aide serait appréciée en utilisant la syntaxe latex.
Y a-t-il des attributs pour \hline
? Si oui, où est la documentation? Il y a une raison pour laquelle j'aime php.net pour mes autres besoins de programmation.
\begin{array}{c\textcolor{gray}{|}cccccccccc}
& \textcolor{gray}{P_1} & \textcolor{gray}{P_2} & \textcolor{gray}{P_3} & \textcolor{gray}{P_4} & \textcolor{gray}{P_5} & \textcolor{gray}{P_6} & \textcolor{gray}{P_7} & \textcolor{gray}{P_8} & \textcolor{gray}{P_9} & \textcolor{gray}{P_{10}}\\
\textcolor{gray}{\hline}
\textcolor{gray}{P_1} &0&0&0&0&0&0&0&0&0&0\\
\textcolor{gray}{P_2} & 0&0&0&0&0&0&0&0&0&0\\
\textcolor{gray}{P_3} &0&0&0&0&0&0&0&0&0&0\\
\textcolor{gray}{P_4} &0&1&1&0&0&0&0&0&0&0\\
\textcolor{gray}{P_5} &1&1&0&0&0&0&0&0&0&0\\
\textcolor{gray}{P_6} &0&0&0&0&0&0&0&0&0&0\\
\textcolor{gray}{P_7} &1&1&0&0&1&1&0&0&0&0\\
\textcolor{gray}{P_8} &1&0&0&1&0&1&0&0&0&0\\
\textcolor{gray}{P_9} &0&0&1&0&0&0&0&0&0&0\\
\textcolor{gray}{P_{10}} &0&0&0&0&0&1&0&1&0&0
\end{array}