LogoLogo
Terminal
  • Attic Lab
  • Getting Started
  • Crest Gold
  • Crest Silver
  • Videos on Computation
  • PI PICO (CIRCUITPYTHON)
    • Getting Started
    • Pin Out Diagram
    • Breadboards
    • 1. Led Blink
    • 2. RGB
    • 3. OLED
    • 4. Sensors
    • 5. Wifi
    • 6. Servos
  • Arduino
    • Getting Started
    • Pin Out Diagrams
      • Mega2560 R3
    • Programming
      • Arduino C - Cheat Sheet
    • Buttons
      • Momentary Switches
    • Display
      • LEDs
      • 7 Segment Displays
      • LCD Displays (GPIO)
      • LCD Displays (SPI)
      • OLEDs
    • Communication
      • Antenna Theory
      • Lora
      • Wifi
        • Boards
    • Project Ideas
    • Motion
      • DC Motors
      • Servo Motors
      • Stepper Motors
  • Microsoft Office
    • Word
    • Powerpoint
    • Excel
  • The Terminal
    • Basics
    • Cheat Sheet
    • Games
      • Level 1 - Bashcrawl
      • Level 2 - Bandit
  • TinkerCad
    • Gallery
    • Getting Started
    • Basic Operations
    • Basic Skills
    • Projects
      • Locking Container
  • Python
    • Hello World
    • Turtle Graphics
      • Strings in Turtle Graphics
      • Cheat Sheet
    • Variables
    • Loops
    • If Statements
    • Functions
    • Games
      • Pong
  • Raspberry Pi
    • Setup
      • Changing The Hostname
      • Headless Setup
      • Kiosk Mode
    • Remote Connections
    • Displays
      • Memory
        • External HD
      • HyperPixel 4.0
  • Ultimaker 3D Printing
    • The Thingiverse
    • Preparing the File
    • Printing
    • Calibration Prints
    • Print Set
  • Fusion 360
    • Getting Started
    • Design Tutorials
      • Tweezers
      • Mars Rover Wheel
    • Surface Modeling
  • Electronics
    • References
    • Antenna Theory
    • LoRa
  • PCB Milling
    • FlatCam
    • Candle
    • PCB Milling
  • Projects
  • Projects
    • Star Map Necklace
    • Ideas Respository
  • Latex
    • What is LaTeX?
    • Getting Started
    • Structure
    • Page Size & Margins
    • Styling
    • Images
    • Lists
    • Tables
    • Mathematics
      • Superscript and Subscripts
      • List of Symbols
      • Fractions and Binomials
      • Integrals, Sums & Limits
    • Colors
  • Web Development
    • The Internet
    • Intro to HTML
    • Basic Elements
    • Basic Styling
Powered by GitBook
On this page
  • Sections
  • Table of Contents
  • New Pages
  • Footnotes
  • Abstract
  • Organising Large Documents

Was this helpful?

  1. Latex

Structure

Richard Feynman managed to write about all of modern physics using only three levels of hierarchy. If you need more, consider restructuring.

PreviousGetting StartedNextPage Size & Margins

Last updated 4 years ago

Was this helpful?

Sections

Latex provides three levels of hierarchy by default. Sections, subsections and subsubsections.

\section{A Section}

\subsection{This is a subsection}

\subsubsection{This is a subsubsection}

Table of Contents

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.

\begin{document}

\maketitle

\tableofcontents

New Pages

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

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.

This information \footnote{An interesting book I read} is from an interesting book. 
This factoid is from a web site. \footnote{www.google.com}.

Abstract

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.

\begin{abstract}
	Here is where I would say what is in this document.
\end{abstract}

Organising Large Documents

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

\usepackage{import}

To import a file, we use the following syntax at the point where we want to insert the contents

\import{chapter1/}{chapter1.tex}

The first set of braces contains the path of the folder and the second the name of the file.

Footnotesoverleaf
Logo