Discussioni su argomenti di Informatica

Regole del forum

Consulta il nostro regolamento e la guida per scrivere le formule
Rispondi al messaggio

[LaTeX] Section e main

31/10/2021, 15:03

Sto scrivendo la tesi e quindi ho una main e molte sezioni. Ora invece di scrivere tutto in un file evidentemente è molto meglio scrivere le diverse sezioni/capitoli separatamente e poi nella main semplicemente le includo tutte.

Così la mia main è così

Codice:
\documentclass{article}

%in that file you will find the packages and other macro needed like \R for the real number set.
\input{Preamble}

\date{\today}

\begin{document}

%this creates the title page. You must complete the information there
\input{Titlepage}

\clearpage
\thispagestyle{empty}
\tableofcontents

\clearpage
\pagenumbering{arabic}
\setcounter{page}{1}


\clearpage
\begin{appendices}

\end{appendices}

\clearpage
\bibliography{biblio.bib}
\bibliographystyle{CUP}    % author-year citation style
% \bibliographystyle{siam}  % numbered citation style (deprecated by some)

\end{document}



Ora se voglio inserire una sezione come devo fare? Cioé se voglio inserire \section{Binary forms}
poi devo creare un'altro file LaTeX chiamarlo Binary forms? O devo dire che è la sezione di questa main in qualche modo? Come farlo?

Re: [LaTeX] Section e main

31/10/2021, 17:42

\input{path/to/file/binary.tex}
Oppure \include: https://tex.stackexchange.com/questions ... vs-include

Re: [LaTeX] Section e main

24/12/2021, 01:36

Grazie
Rispondi al messaggio


Skuola.net News è una testata giornalistica iscritta al Registro degli Operatori della Comunicazione.
Registrazione: n° 20792 del 23/12/2010.
©2000— Skuola Network s.r.l. Tutti i diritti riservati. — P.I. 10404470014.