- Questo topic ha 7 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 19 anni, 1 mese fa da .
-
Topic
-
Salve, sto scrivendo la tesi e utilizzo un foglio di stile che non dà problemi con l’ opzione oneside. Però mi dispiacerebbe sprecare metà fogli… E quindi ho sostituito oneside con twoside…
Ora il problema è che risultano questi errori …./tesi.tex:151:Undefined control sequence. \include{capitolo1}
./tesi.tex:153:Undefined control sequence. \include{capitolo2}
./tesi.tex:163:Undefined control sequence. \include{bib}Lo scheletro della tesi è questo:
`
\documentclass[a4paper,12pt]{thesis}
.
.
.\begin{document}
\selectlanguage{italian}
\maketitle
\include{abstract}
\tableofcontents
\listoffigures
\listoftables
\preface
\introduction
\include{capitolo1}
\include{capitolo2}
\include{capitolo3}
\include{capitolo4}
\include{capitolo5}
\bibliographystyle{ieeetr}
\bibliography{bib.bib}
\include{bib}\end{document}`
Mentre la parte del file thesis dedicata all’ opzione oneside e twoside è questa:
`
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
.
.
\ExecuteOptions{letterpaper,10pt,twoside,onecolumn,final,openany}
.
.
.
\if@twoside
\def\ps@headings{%
\let\@oddfoot\@empty\let\@evenfoot\@empty
\def\@evenhead{\thepage\hfil\slshape\leftmark}%
\def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
\let\@mkboth\markboth
\def\chaptermark##1{%
\markboth {\uppercase{\ifnum \c@secnumdepth >\m@ne
\@chapapp\ \thechapter. \ \fi
##1}}{}}%
\def\sectionmark##1{%
\markright {\uppercase{\ifnum \c@secnumdepth >\z@
\thesection. \ \fi
##1}}}}
\else
\def\ps@headings{%
\let\@oddfoot\@empty
\def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
\let\@mkboth\markboth
\def\chaptermark##1{%
\markright {\uppercase{\ifnum \c@secnumdepth >\m@ne
\@chapapp\ \thechapter. \ \fi
##1}}}}
\fi
.
.
\def\@endpart{\vfil\newpage
\if@twoside
\hbox{}%
\thispagestyle{empty}%
\newpage
\fi
\if@tempswa
\twocolumn
\fi}
.
.
\if@twoside
\else
\raggedbottom
\fi
`Qualche aiuto? Grazie.
🙄
- Devi essere connesso per rispondere a questo topic.