Skip to content

Instantly share code, notes, and snippets.

@chkwon
Created October 31, 2014 18:16
Show Gist options
  • Save chkwon/821ee403b67aa46ee166 to your computer and use it in GitHub Desktop.
Save chkwon/821ee403b67aa46ee166 to your computer and use it in GitHub Desktop.
A quick start for LaTeX beginners
\documentclass[letterpaper, 11pt]{article}
\usepackage{amsmath}
\title{This is the title of this document.}
\author{Changhyun Kwon}
\date{October 31, 2014}
\begin{document}
\maketitle
\begin{abstract}
Here is an abstract
\end{abstract}
\section{Introduction} \label{sec:intro}
Hello, World. Blah blah blah. You can cross-reference Section \ref{sec:intro} or Section \ref{sec:analysis}.
You can write an equation:
\begin{equation}
\sum_{i=1}^n x_{ij} = 1 \quad \forall j \in J \label{sum_x}
\end{equation}
and you can also cross-reference equation \eqref{sum_x}.
\section{Analysis} \label{sec:analysis}
...
\section{Conclusion} \label{sec:conclusion}
...
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment