Ma perché mi dà errore? Proprio file con solo begin e end…

  • Creatore
    Topic
  • #52817
    Up
    0
    Down
    ::


    `\documentclass[12pt,a4paper,oneside,openright]{ book }

    \usepackage[italian]{babel}
    \usepackage[T1]{fontenc}
    \usepackage[utf8]{inputenc}
    \usepackage{layaureo}
    \usepackage{lipsum}
    \usepackage{graphicx}
    \usepackage{indentfirst}
    \usepackage{amsthm}
    \usepackage{amsmath,amssymb}

    \begin{document}
    A
    \end{document} `

    L’errore è questo:
    This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
    entering extended mode

    (“C:/Documents and Settings/Pap�/Documenti/TeXworks-w32-0.2.3r466/uno.
    tex”
    LaTeX2e <2009/09/24>
    Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
    rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.

    ! LaTeX Error: Missing \begin{document}.

    See the LaTeX manual or LaTeX Companion for explanation.
    Type H for immediate help.

    l.2

    ?

Visualizzazione 1 filone di risposte
  • Autore
    Risposte
    • #52818
      robitex
      Amministratore del forum
        Up
        0
        Down
        ::

        `\documentclass[12pt,a4paper,oneside,openright]{ book }

        \usepackage[italian]{babel}
        \usepackage[T1]{fontenc}
        \usepackage[utf8]{inputenc}
        \usepackage{layaureo}
        \usepackage{lipsum}
        \usepackage{graphicx}
        \usepackage{indentfirst}
        \usepackage{amsthm}
        \usepackage{amsmath,amssymb}

        \begin{document}
        A
        \end{document} `

        L’errore è questo:
        This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
        entering extended mode

        (“C:/Documents and Settings/Pap�/Documenti/TeXworks-w32-0.2.3r466/uno.
        tex”
        LaTeX2e <2009/09/24>
        Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
        rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.

        ! LaTeX Error: Missing \begin{document}.

        See the LaTeX manual or LaTeX Companion for explanation.
        Type H for immediate help.

        l.2

        ?

        Ok, gli spazi nel nome della classe non sono ammessi.
        Ciao

      • #52819
        Up
        0
        Down
        ::


        Grazie Roby.

        RAGAZZI RICORDATE: NON SI USANO SPAZI NEL NOME DELLA CLASSE.

        IN TUTTO IL PRIMO RIGO, IN SOLDONI, NON USATE MAI GLI SPAZI.

        Grazie.

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

    Go to top