This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex 2017.5.16) 26 OCT 2018 14:19 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **myprefs.tex (./myprefs.tex LaTeX2e <2016/03/31> Babel <3.9r> and hyphenation patterns for 83 language(s) loaded. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.12 \usepackage[italian]{ babel} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.14 \usepackage{ amssymb} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.15 \usepackage{ amsmath} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.16 \usepackage{ times} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.17 \usepackage{ epsf} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.18 \usepackage{ graphicx,psfrag,color,pst-grad} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.19 \usepackage{ latexsym} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.20 \usepackage{ psboxit,pstricks} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.21 \usepackage{ fancyhdr} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.22 \usepackage{ fancyvrb} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.23 ...ks=true,linkcolor=purple,urlcolor=purple]{ hyperref} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.25 \usepackage{ float} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! Undefined control sequence. l.26 \floatstyle {ruled} 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. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.26 \floatstyle{r uled} You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. Missing character: There is no r in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no d in font nullfont! ! Undefined control sequence. l.27 \newfloat {program}{thp}{lop} 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. Missing character: There is no p in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no g in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no m in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no h in font nullfont! Missing character: There is no p in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no p in font nullfont! ! Undefined control sequence. l.28 \floatname {program}{Codice} 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. Missing character: There is no p in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no g in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no m in font nullfont! Missing character: There is no C in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no d in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no e in font nullfont! Overfull \hbox (20.0pt too wide) in paragraph at lines 26--31 [] [] ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.34 \usepackage{ calc} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.35 \usepackage{ multicol} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. \c@theorem=\count79 ! LaTeX Error: No counter 'section' defined. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.92 \newtheorem{theorem}{Teorema}[section] Your command was ignored. Type I to replace it with another command, or to continue without it. ! LaTeX Error: \figurename undefined. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.119 \renewcommand{\figurename} {Figura} Try typing to proceed. If that doesn't work, type X to quit. ) ! Emergency stop. <*> myprefs.tex *** (job aborted, no legal \end found) Here is how much of TeX's memory you used: 80 strings out of 493014 666 string characters out of 6133351 53601 words of memory out of 5000000 3723 multiletter control sequences out of 15000+600000 3640 words of font info for 14 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 9i,0n,13p,135b,16s stack positions out of 5000i,500n,10000p,200000b,80000s ! ==> Fatal error occurred, no output PDF file produced!