[LaTeX] Section e main

Messaggioda 3m0o » 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?
3m0o
Cannot live without
Cannot live without
 
Messaggio: 2256 di 5335
Iscritto il: 02/01/2018, 15:00

Re: [LaTeX] Section e main

Messaggioda megas_archon » 31/10/2021, 17:42

\input{path/to/file/binary.tex}
Oppure \include: https://tex.stackexchange.com/questions ... vs-include
Avatar utente
megas_archon
Senior Member
Senior Member
 
Messaggio: 91 di 1318
Iscritto il: 13/06/2021, 20:57

Re: [LaTeX] Section e main

Messaggioda 3m0o » 24/12/2021, 01:36

Grazie
3m0o
Cannot live without
Cannot live without
 
Messaggio: 2364 di 5335
Iscritto il: 02/01/2018, 15:00


Torna a Informatica

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite