Generate Placeholder Text

\usepackage{lipsum} % Generate placeholder paragraphs

Document Classes

\documentclass[twocolumn]{article}

File Template

Global formatting in setup/layout.tex

\title{My Template}
\author{Anton Pusch}
\date{\today}

Table Of Contents

\usepackage{hyperref}
\hypersetup{colorlinks=true} % optional
\tableofcontents

Page Margins

\usepackage[margin=1.5cm]{geometry} % Set page margins
\usepackage[top=2cm, bottom=2cm, left=3cm, right=1cm]{geometry} % Set page margins

Math Spacing

CommandSpace Width
\! quad
\, quad
\: quad
\; quad
\quad quad
\qquad
CommandDescription
\\
\newline
starts a new line without starting a new paragraph
\\*additionally prohibits a page break after the forced line break.
newpagestarts a new page
\linebreak[n]
\nolinebreak[n]
\pagebreak[n]
\nopagebreak[n]
suggest places where a break may (or may not) happen

Hyphenation

Define the hyphenation of a word list

\hyphenation{FORTRAN Hy-phen-a-tion}
.Meaning
\-inserts a discretionary hyphen into a word. This also becomes the only point hyphenation is allowed in this word
mbox{text}be kept together under all circumstances (e.g. phone number)
\fboxis similar to \mbox, but in addition there will be a visible box drawn around the content.

cleanup

Sources:

Related:

Tags:
LaTeX - Typeset mathematical and scientific notation, handle cross-referencing and citations, and position images according to defined placement rules