Structure
Richard Feynman managed to write about all of modern physics using only three levels of hierarchy. If you need more, consider restructuring.
Last updated
Richard Feynman managed to write about all of modern physics using only three levels of hierarchy. If you need more, consider restructuring.
Last updated
Latex provides three levels of hierarchy by default. Sections, subsections and subsubsections.
Adding a table of contents is as simple as adding the line \tableofcontents
. It is usually added after the \maketitle
command so that it appears at the front of your document.
If at any point you want to force a new page, simply use the command \newpage
This could for example be used twice before the contents page to force it onto page 3.
Footnotes are useful for providing reference to external sources. Latex will automatically number the footnote and place the text at the bottom of the page.
An abstract appears at the start of a technical paper and summarised the entirety of the article in a few paragraphs. To include an abstract, add the following code under the \maketitle
command.
For large documents, it may be inconvenient to separate out the sections. For example, you may want a separate folder for each chapter. To do this, create a new folder called chapter1 using the file panel on the left hand side. Create a file called chapter1.tex in that folder
To include the contents of chapter1.tex in our document, we need to use the import package. Include the following code in the packages at the start of the document
To import a file, we use the following syntax at the point where we want to insert the contents
The first set of braces contains the path of the folder and the second the name of the file.