Re: tabella: composizione e stile

#18262
DMW
    Up
    0
    Down
    ::


    carica il pacchetto array. La larghezza non è altro che una dimensione (e.g. 10pt, 4cm..)

    `

    \documentclass[a4paper,oneside]{book}
    \usepackage{fancyhdr}
    \usepackage{graphicx}
    \usepackage{booktabs}
    \usepackage{rotating}
    \usepackage{paralist,array}

    \begin{document}

    \begin{sidewaystable}
    \small
    \centering
    \begin{tabular}{llp{5cm}}
    \toprule
    \textbf{Proposte} & \textbf{Pro} & \textbf{Contro} \\
    \midrule
    \textbf{Tizio} & questoA & questoB\\
    \midrule
    \textbf{Caio} & questoC & questoD\\
    \midrule
    \textbf{Sempronio} & questoE &
    \vspace*{-\baselineskip}\begin{compactitem}
    \item pippo
    \item pluto
    \item paperino
    \end{compactitem} \\
    \bottomrule
    \end{tabular}
    \caption{La mia tabella.}\label{tab:procontro}
    \end{sidewaystable}

    \end{document}`

    Ciao

    Andrea

    Go to top