Re: Larghezza fissa colonne

#79722
Up
0
Down
::

Paccio” post=78946Grazie mille Ivan. Manipolando un po’ i valori è uscita una linea perfetta. 🙂

Un diverso approccio:

`
\documentclass{book}

\usepackage{tikz}
\usepackage{subfig}

\newcommand{\tablemark}[1]{\tikz[overlay,remember picture,xshift=-0.275em] \node ({#1}) {};}

\begin{document}

\begin{table}
\centering
\subfloat{%
\begin{tabular}{cccccccc}
& 1 & 3 & 8 & 9\tablemark{a}
& 11 & 14\\
\cline{2-7}
$P_{0}$ & & & & & & x & 3 \\
\cline{2-7}
$P_{1}$ & & & & & & x & 3 \\
\cline{2-7}
$P_{2}$ & x & & x & x & & & 2 \\
\cline{2-7}
$P_{3}$ & x & x & & x & x & & 2 \\
\cline{2-7}
$P_{4}$ & & & x & x\tablemark{b} & x & & 2 \\
\cline{2-7}
\end{tabular}}
\tikz[overlay,remember picture] {\draw[shorten >=-1ex, shorten <=-1ex,dashed] (a.north) to (b.south);} \end{table} \end{document} ` Ciao Claudio

Go to top