Skip to content

Instantly share code, notes, and snippets.

@psyomn
Created April 24, 2013 16:17
Show Gist options
  • Save psyomn/5453405 to your computer and use it in GitHub Desktop.
Save psyomn/5453405 to your computer and use it in GitHub Desktop.
Very simple latex file.
% This is a very stripped down example of what a latex document looks like.
\documentclass[twoside]{article}
\title{Sample document}
\author{Anne Ominous}
\date{\today}
\usepackage[margin=0.8in]{geometry}
% Paragraph indentation
% Set the inches here. For example, 1 inch -> 1in
% If you want half an inch -> 0,5in (notice coma instead of period)
\setlength{\parindent}{0in}
\begin{document}
\pagenumbering{arabic}
\section{Hello}
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
\subsection{More details here}
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
\subsubsection{More and More details}
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
\paragraph{OMG} You're detailing too many details
\paragraph{OMFG} Really you shouldn't do this too much. Hazardrous for ones' health.
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment