- Questo topic ha 3 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 16 anni, 3 mesi fa da .
-
Topic
-
Ciao a tutti, ho realizzato la seguente tabella,`\begin{table}[htb]
\centering
\scriptsize
\begin{tabular}{llll}
%\toprule
\hline
\rowcolor[gray]{0.9}
Received & Action & Returns & Description \\
\hline
\hline
“\textbf{Q}” & – & NL|N|NoD|{DL|DNL|DN|DT|DS} & Query for information \\
“\textbf{C}|DID” & ON/OFF & DS & Change the state of a device \\
“\textbf{O}|ID” & ON & – & Turn a device ON \\
“\textbf{F}|ID” & OFF & – & Turn a device OFF \\
“\textbf{T}|DID|DT” & Change type & DT & Change type of the device \\
“\textbf{N}|DI|DNL|DN” & Change name & DN & Change the name of the device \\
\hline
%\bottomrule
\end{tabular}
\caption{Coding of the messages.}
\label{tab:co}
\end{table}`Quello che vorrei però, è che le celle della prima riga, Received & Action & Returns & Description sia centrata e non a sinistra come le restanti.
come posso fare?
inoltre quale è il comando per fare la tabella larga quanto il corpo del testo??
Grazie
M.G.
- Devi essere connesso per rispondere a questo topic.