- Questo topic ha 2 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 18 anni, 3 mesi fa da .
-
Topic
-
Salve a tutti.Stavo cercando di creare una tabella con alcune linee multirow e altre no.
la struttura sarebbe la seguente:– – – – – D – H
A B C E G I
– – – – – F – L
diciamo che dopo alcuni tentativi ci sono riuscito, ma a parer mio non nel
modo migliore. Visto che più uno conosce meno problemi avrà in
futuro, volevo sapere se si poteva rendere più “pulita”.
Ecco il codice:
`
\begin{table}[ht]
\centerline{
\begin{tabular}{l c c c c c c}
\toprule
& $N_x$ & $N_y$ & $N_z$
& $\Delta_x$ & $\Delta_y$ & $\Delta_z$\\
\toprule
\multirow{3}*{Case I} & \multirow{3}*{$230$} & \multirow{3}*{$32$} & \multirow{3}*{$190$} & SF$^*$ $1.08$ & \multirow{3}*{$0.09375D$} & SF$^*$ $1.08$\\
& & & & $0.0102D$ & & $0.0102D$\\
& & & & SF$^*$ $1.08$ & & SF$^*$ $1.08$\\
\midrule
\multirow{3}*{Case II} & \multirow{3}*{$260$} & \multirow{3}*{$32$} & \multirow{3}*{$170$} & SF$^*$ $1.12$ & \multirow{3}*{$0.09375D$} & SF* $1.12$\\
& & & & $0.0102D$ & & $0.0102D$\\
& & & & SF$^*$ $1.02$ & & SF$^*$ $1.02$\\
\bottomrule
\end{tabular}
}
\caption[Grid parameters of cylinder flow computations]{Grid parameters of cylinder flow computations. Parameter are:
$N_i$ the number of cell along the $i$ direction, $\Delta_i$ the cell size along the $i$ direction. $^*$: stretching
factor for that chunck of the domain}
\label{table_resume_grids}
\end{table}
`
Grazie mille in anticipo.Stefano
- Devi essere connesso per rispondere a questo topic.