Skip to content

Instantly share code, notes, and snippets.

@cronin101
Last active January 3, 2016 21:08
Show Gist options
  • Select an option

  • Save cronin101/8519294 to your computer and use it in GitHub Desktop.

Select an option

Save cronin101/8519294 to your computer and use it in GitHub Desktop.
example latex layout
\documentclass[10pt, a4paper]{article} % use "amsart" instead of "article" for AMSLaTeX format
\usepackage{microtype}
\usepackage[textwidth=17cm,textheight=24cm]{geometry}
\usepackage{fullpage} % See geometry.pdf to learn the layout options. There are lots.
\usepackage{helvet}
\usepackage{listings}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage[normalem]{ulem}
\usepackage{epstopdf}
\usepackage{rotating}
\usepackage{multicol}
\usepackage{mathtools}
\usepackage{savetrees}
\usepackage{colortbl}
\usepackage{acronym}
\newenvironment{Figure}
{\par\medskip\noindent\minipage{\linewidth}}
{\endminipage\par\medskip}
\lstset{
backgroundcolor=\color{yellow!5!blue!3},%
basicstyle=\small\ttfamily,comment=[l][\color{black!50}]{\#},%
numbers=left, numberstyle=\tiny, stepnumber=4, numbersep=5pt%
}
\lstset{emph={%
else, sample, elsif, if, repeat, until, emit, abs, give, neighbour, me, len, with, simplex, maximize, NONNEGATIVE, for, in, solve, add, last, next, unless,provider,GUID,blip_body,tags,%
show, class, def, self, from, import, plot, return
},emphstyle={\color{red!60!black}\bfseries}%
}%
\geometry{a4paper} % ... or a4paper or a5paper or ...
%\geometry{landscape} % Activate for for rotated page geometry
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx} % Use pdf, png, jpg, or eps§ with pdflatex; use eps in DVI mode
% TeX will automatically convert eps --> pdf in pdflatex
\usepackage{amssymb}
\linespread{1}
\usepackage[font=small,labelfont=bf]{caption}
\title{MPP2: RubiCL, an OpenCL Library Providing Easy-to-Use Parallelism.}
\author{Aaron Cronin $\cdot$ s0925570 $\cdot$ The University of Edinburgh}
\date {} % Activate to display a given date or no date
% ACRONYMS GO HERE
\acrodef{APU}{Accelerated Processing Unit}
\acrodef{CPU}{Central Processing Unit}
\acrodef{GPU}{Graphics Processing Unit}
\acrodef{GPGU}{General Purpose Graphics Processing Unit}
\acrodef{REPL}{Read-Evaluate-Print Loop}
\acrodef{OpenCL}{Open Compute Language}
\acrodef{AMD}{Advanced Micro Devices}
\begin{document}
\maketitle
\begin{multicols}{2}
\end{multicols}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment