[Risolto] problemi con tabelle

  • Creatore
    Topic
  • #46941
    Up
    0
    Down
    ::


    ho preso questo codice da ‘Arte Latex’ e ho provato a compilarlo in un mio documento:

    \begin{tabular}{l*{2}{c}}
    \toprule
    & Paese
    & Secolo \\
    \midrule
    Tiziano & Italia & XVI \\
    Cézanne & Francia & XIX \\
    Escher & Olanda & XX \\
    \bottomrule
    \end{tabular}

    l’errore che mi dà è il seguente:

    ! Undefined control sequence.
    l.149 \toprule
    The control sequence at the end of the top line
    of your error message was never \def’ed. If you have
    misspelled it (e.g., `\hobx’), type `I’ and the correct
    spelling (e.g., `I\hbox’). Otherwise just continue,
    and I’ll forget about whatever was undefined.!

    lo stesso mi dice per \midrule e \bottomrule

Visualizzazione 1 filone di risposte
  • Autore
    Risposte
    • #46942
      lorenzo.pantieri
      Partecipante
        Up
        0
        Down
        ::

        ho preso questo codice da ‘Arte Latex’ e ho provato a compilarlo in un mio documento:

        \begin{tabular}{l*{2}{c}}
        \toprule
        & Paese
        & Secolo \\
        \midrule
        Tiziano & Italia & XVI \\
        Cézanne & Francia & XIX \\
        Escher & Olanda & XX \\
        \bottomrule
        \end{tabular}

        l’errore che mi dà è il seguente:

        ! Undefined control sequence.
        l.149 \toprule
        The control sequence at the end of the top line
        of your error message was never \def’ed. If you have
        misspelled it (e.g., `\hobx’), type `I’ and the correct
        spelling (e.g., `I\hbox’). Otherwise just continue,
        and I’ll forget about whatever was undefined.!

        lo stesso mi dice per \midrule e \bottomrule

        Non ha caricato booktabs: nell’Arte c’è.

        Ciao,
        L.

      • #46943
        Up
        0
        Down
        ::


        grazie Lorenzo, non avevo notato che bisognasse caricare quel pacchetto, sono nuovo del forum

        alla prossima,
        ciao

    Visualizzazione 1 filone di risposte
    • Devi essere connesso per rispondere a questo topic.

    Go to top