Re: Errore in tabella

#61884
Up
0
Down
::


Ok, grazie per le dritte 🙂

Riporto intanto qualche altro errore che riscontro nella creazione di tabelle.
Ad esempio, nella seguente tabella:

`\rowcolors{5}{}{lightgray}
\begin{table}[!t]\footnotesize
\caption{Preliminary infos for BzK-selected galaxies detected by Chandra.}
\tnote[a]{prova}
\centering
\begin{tabular}{SSSSSSSSS}
\toprule
\textbf{ID} & \textbf{RA} & \textbf{Dec} & \textbf{z}\tmark & \multicolumn{3}{c}{\textbf{Counts}} & \textbf{E.R.} & \textbf{O-A} \\
& & & & & & & (\un{arcsec}) & (\un{arcmin})\\
\cmidrule(lr){5-7}
& \text{J}2000 & \text{J}2000 & & \text{Tot} & \text{Source} & \text{Bkg} \\
\midrule
B7 & 53.087330 & -27.929504 & 2.7900 & 181 & 114 & 67 & 5.868 & 15.093 \\
\bottomrule
\end{tabular}
\end{table}`
ottengo l’errore:
`! Misplaced alignment tab character &.
\\tnote …uperscript {\normalfont \textit {#1}}}&
#2\NN \fi
l.4 \tnote[a]{prova}`

La nota è appunto di prova, per capire il modo corretto in cui inserire le note nelle tabelle attraverso il pacchetto ctable.

Go to top