Skip to content

Instantly share code, notes, and snippets.

@jaytaph
Created January 22, 2012 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaytaph/1657004 to your computer and use it in GitHub Desktop.
Save jaytaph/1657004 to your computer and use it in GitHub Desktop.
Small intro into LaTeX
\documentclass[]{article}
\begin{document}
\title{This is the title of the article}
\author{Joshua Thijssen}
\date{\today}
\maketitle
\section{In the beginning}
Hi there, this is some text I've typed to show you how easy it is to create your own professional looking articles.
It will format your document automatically but if you want, you can use Latex {\bf markup} to do stuff. Also, sometimes you need to use characters like $\alpha$ and $\omega$ to display other characters. The \$ signs make LaTeX to go into its "Math" mode, which makes it easy to create your own math formula's like $e=mc^2$ However, it's also pretty easy to create more complex formula's\footnote{In this case, the Einstein's Field Equations} like:
\begin{center}
$G_{\mu\nu} + \Lambda g_{\mu\nu} = \frac{8 \pi G}{c^4} T_{\mu\nu}$
\end{center}
As you can see, there is a lot you can achieve with \LaTeX{}
\subsection{Funny things}
Funny enough, text can become {\large large} or even {\huge huge}, or maybe you like to have something {\tiny tiny} instead?
\section{Lists}
Or maybe:
\begin{enumerate}
\item you like lists?
\item you really like lists?
\item or maybe you like lists, but also like to know that there are other ways of creating lists in \LaTeX{}, for instance, with bullet-points or maybe other ways.
\end{enumerate}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment