Re: Due tabelle affiancate, problema con le etichette

#63978
admin
Amministratore del forum
    Up
    0
    Down
    ::

    mattmich” post=63017ok grazie…mi scuso allora per il aver sbagliato sezione, dove avrei dovuto postare il messaggio?

    In TeX e LaTeX.
    Prova questo codice e vedi se ti piace:

    `\documentclass{article}

    \usepackage{amsmath}
    \usepackage{array}
    \usepackage{booktabs}
    \usepackage{subfig}

    \begin{document}
    \begin{table}
    \centering
    \subfloat[][$\text{U}_\text{I}$]{$
    \begin{array}{lll}
    \toprule
    & \text{R}_\text{I} & \text{N}_\text{I} \\
    \midrule
    X_1 & 100 & 0 \\
    X_2 & 0 & 100 \\
    \bottomrule
    \end{array}
    $}
    \qquad\qquad
    \subfloat[][$\text{U}_\text{II}$]{$%
    \begin{array}{lll}
    \toprule
    & \text{R}_\text{II} & \text{N}_\text{II} \\
    \midrule
    X_3 & 100 & 0 \\
    X_4 & 0 & 100 \\
    \bottomrule
    \end{array}
    $}%
    \caption{Importi aleatori relativi ad $\text{U}_\text{I}$ e ad $\text{U}_\text{II}$.}
    \end{table}
    \end{document}`
    Ciao
    Orlando

    Go to top