Re: Tabella di testo matematico

#43226
Up
0
Down
::

Salve, io sto producendo una tabella di testo matematico col seguente codice:
`
\begin{table}
\begin{center}
\begin{tabular}{>{$\displaystyle}c<{$}} \toprule \mathcal{I}^{L}e_{1} = (2h+2e_{1})^2 - (2h)^2 \approx 8he_{1} \\ \mathcal{I}^{NL}e_{1} = (u_1^n-u_1^m-2h)^2 + (u_2^n-u_2^m)^2 + (u_3^n-u_3^m)^2 - (2h)^2 \\ \midrule \mathcal{I}^{L}f_{12} = (2h+2d_{2}f_{12})^2 - (2h-2d_{2}f_{12})^2 = 16hd_{2}f_{12} \\ \mathcal{I}^{NL}f_{12} = 4d_{2} [(u_1^n-u_1^m-2h)(E^n_{2,1}-E^m_{2,1}) + (u_2^n-u_2^m)(E^n_{2,2}-E^m_{2,2}) + (u_3^n-u_3^m)(E^n_{2,3}-E^m_{2,3})] \\ \midrule \mathcal{I}^{L}s_{12} = (2h+2d_{2}s_{12})^2 - (2h-2d_{2}s_{12})^2 = 16hd_{2}s_{12}\\ \mathcal{I}^{NL}s_{12} = 4d_{2} [(u_1^n-u_1^m-2h)(E^n_{2,1}+E^m_{2,1}) + (u_2^n-u_2^m)(E^n_{2,2}+E^m_{2,2}) + (u_3^n-u_3^m)(E^n_{2,3}+E^m_{2,3})] \\ \midrule \mathcal{I}^{L}f_{13} = (2h+2d_{3}f_{13})^2 - (2h-2d_{3}f_{13})^2 = 16hd_{3}f_{13} \\ \mathcal{I}^{NL}f_{13} = 4d_{3} [(u_1^n-u_1^m-2h)(E^n_{3,1}-E^m_{3,1}) + (u_2^n-u_2^m)(E^n_{3,2}-E^m_{3,2}) + (u_3^n-u_3^m)(E^n_{3,3}-E^m_{3,3})] \\ \midrule \mathcal{I}^{L}s_{13} = (2h+2d_{3}s_{13})^2 - (2h-2d_{3}s_{13})^2 = 16hd_{3}s_{13} \\ \mathcal{I}^{NL}s_{13} = 4d_{3} [(u_1^n-u_1^m-2h)(E^n_{3,1}+E^m_{3,1}) + (u_2^n-u_2^m)(E^n_{3,2}+E^m_{3,2}) + (u_3^n-u_3^m)(E^n_{3,3}+E^m_{3,3})] \\ \midrule \mathcal{I}^{L}t_{1} = [16h^2 + 2d_{2}^2 + 2d_{3}^2 + 2(d_{2}+t_{1}d_{3})^2 + 2(d_{3}+t_{1}d_{2})^2] / (2h)^2 \approx (4h^2 + d_{2}^2 + d_{3}^2 + 2t_{1}d_{2}d_{3}) / h^2 \\ \mathcal{I}^{NL}t_{1} = [d_{2}^2 + d_{3}^2 + (u_1^n-u_1^m-2h)^2 + (u_2^n-u_2^m)^2 + (u_3^n-u_3^m)^2 + (E^n_{2,1}E^m_{3,1}+E^n_{2,2}E^m_{3,2}+E^n_{2,3}E^m_{3,3}\\ -E^n_{3,1}E^m_{2,1}-E^n_{3,2}E^m_{2,2}-E^n_{3,3}E^m_{2,3}) d_{2}d_{3}] / h^2 \\ \approx [4h^2 + d_{2}^2 + d_{3}^2 + (E^n_{2,1}E^m_{3,1}+E^n_{2,2}E^m_{3,2}+E^n_{2,3}E^m_{3,3} -E^n_{3,1}E^m_{2,1}-E^n_{3,2}E^m_{2,2}-E^n_{3,3}E^m_{2,3}) d_{2}d_{3}] / h^2 \\ \bottomrule \end{tabular} \end{center} ` in relazione ad essa ho due ordini di problema: [ul] (1) Le linea iniziale e finale rispettivamente prodotte con \toprule e \bottomrule vorrei fossero più spesse rispetto alle linee prodotte con \midrule. Io mi ricordavo fosse cosi di default, ma mi ritrovo linee tutte con lo stesso spessore.
[/ul]

    (2) Se si prova a compilare il codice ci si accorge che la tabella non è il massimo dell’estetica. Mi piacerebbe migliorarla. Potrei allargare l’altezza delle righe?se si come..??

grazie.

Lascia perdere i filetti e usa l’ambiente gather* di amsmath.

Ciao
Enrico

Go to top