This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex 2017.5.16) 3 JAN 2019 22:25 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.14 \usepackage[scaled=0.86]{ helvet} \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[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.17 \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.18 \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.19 \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.20 \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.21 \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.22 \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.23 \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.24 \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.25 \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.26 ...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.27 \usepackage{ listings} \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.28 ...ackage[framed,autolinebreaks,useliterate]{ mcode} \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.29 \usepackage{ matlab-prettifier} \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.30 \usepackage{ courier} \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.31 \usepackage[]{ algorithm2e} \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.32 \usepackage{ algpseudocode} \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.33 \usepackage{ float} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! Undefined control sequence. l.34 \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.34 \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.35 \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.36 \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 34--39 [] [] ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.42 \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.43 \usepackage{ multicol} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. ! Undefined control sequence. l.45 \definecolor {mygreen}{RGB}{0,153,0} 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.45 \definecolor{m ygreen}{RGB}{0,153,0} You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. Missing character: There is no m in font nullfont! Missing character: There is no y 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 e in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no R in font nullfont! Missing character: There is no G in font nullfont! Missing character: There is no B in font nullfont! Missing character: There is no 0 in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no 1 in font nullfont! Missing character: There is no 5 in font nullfont! Missing character: There is no 3 in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no 0 in font nullfont! ! Undefined control sequence. l.46 \definecolor {mygray}{RGB}{224,224,224} 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 m in font nullfont! Missing character: There is no y 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 y in font nullfont! Missing character: There is no R in font nullfont! Missing character: There is no G in font nullfont! Missing character: There is no B in font nullfont! Missing character: There is no 2 in font nullfont! Missing character: There is no 2 in font nullfont! Missing character: There is no 4 in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no 2 in font nullfont! Missing character: There is no 2 in font nullfont! Missing character: There is no 4 in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no 2 in font nullfont! Missing character: There is no 2 in font nullfont! Missing character: There is no 4 in font nullfont! Overfull \hbox (20.0pt too wide) in paragraph at lines 45--47 [] [] \c@theorem=\count79 ! LaTeX Error: No counter 'section' defined. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.117 \newtheorem{theorem}{Teorema}[section] Your command was ignored. Type I to replace it with another command, or to continue without it. ! Undefined control sequence. l.177 \lstset { 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.178 l anguage=Matlab, You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. Missing character: There is no l in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no g in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no g in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no = in font nullfont! Missing character: There is no M in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no b in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no b in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no k 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 o in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no d 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 l in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no = in font nullfont! ! Undefined control sequence. l.179 backgroundcolor=\color {mygray}, % choose the background color; you... 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 m in font nullfont! Missing character: There is no y 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 y in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no b in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no s 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 s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no y 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 = in font nullfont! ! Undefined control sequence. l.180 basicstyle=\scriptsize \ttfamily, % the size of the fonts that... 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. ! Undefined control sequence. l.184 commentstyle=\color {mygreen}, % comment style 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. ! Undefined control sequence. l.190 keywordstyle=\color {blue}, % keyword style 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. ! Undefined control sequence. l.194 numberstyle=\tiny \color{gray}, % the style that is used for the line... 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. ! Undefined control sequence. l.194 numberstyle=\tiny\color {gray}, % the style that is used for the line... 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. ! Undefined control sequence. l.195 rulecolor=\color {black}, % if not set, the frame-color may b... 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. ! Undefined control sequence. l.200 stringstyle=\color {purple}, % string literal style 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. ! Undefined control sequence. l.202 title=\lstname % show the filename of files includ... 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. Overfull \hbox (20.0pt too wide) in paragraph at lines 178--204 [] [] Overfull \hbox (5.24995pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 , [] Overfull \hbox (125.9989pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 breakatwhitespace=false, [] Overfull \hbox (83.99927pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 breaklines=true, [] Overfull \hbox (68.2494pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 captionpos=b, [] Overfull \hbox (110.24904pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 commentstyle=mygreen, [] Overfull \hbox (99.74913pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 deletekeywords=..., [] Overfull \hbox (94.49918pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 escapeinside=%**), [] Overfull \hbox (99.74913pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 extendedchars=true, [] Overfull \hbox (68.2494pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 frame=single, [] Overfull \hbox (83.99927pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 keepspaces=true, [] Overfull \hbox (94.49918pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 keywordstyle=blue, [] Overfull \hbox (99.74913pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 morekeywords=*,..., [] Overfull \hbox (68.2494pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 numbers=left, [] Overfull \hbox (73.49936pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 numbersep=5pt, [] Overfull \hbox (89.24922pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 numberstyle=gray, [] Overfull \hbox (83.99927pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 rulecolor=black, [] Overfull \hbox (89.24922pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 showspaces=false, [] Overfull \hbox (120.74895pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 showstringspaces=false, [] Overfull \hbox (78.74931pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 showtabs=false, [] Overfull \hbox (68.2494pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 stepnumber=0, [] Overfull \hbox (99.74913pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 stringstyle=purple, [] Overfull \hbox (52.49954pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 tabsize=2, [] Overfull \hbox (31.49973pt too wide) in paragraph at lines 178--204 \OT1/cmtt/m/n/10 title= [] ) ! Emergency stop. <*> myprefs.tex *** (job aborted, no legal \end found) Here is how much of TeX's memory you used: 104 strings out of 493014 829 string characters out of 6133351 53601 words of memory out of 5000000 3746 multiletter control sequences out of 15000+600000 3808 words of font info for 15 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 12i,1n,13p,165b,55s stack positions out of 5000i,500n,10000p,200000b,80000s ! ==> Fatal error occurred, no output PDF file produced!