Created
June 13, 2011 17:48
-
-
Save kristi/1023293 to your computer and use it in GitHub Desktop.
Latex template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Redefine maketitle for more condensed title | |
\documentclass{article} | |
\usepackage{titlesec} | |
\usepackage{amsmath} | |
\usepackage{amsfonts} % fonts | |
\usepackage{amssymb} % extra symbols | |
%\usepackage{amsthm} % replace with ntheorem | |
\usepackage{graphicx} | |
\usepackage[margin=1.1in, top=.75in]{geometry} | |
\usepackage{mathtools} | |
\usepackage{verbatim} % \begin{comment} multi-line comments \end{comment} | |
\usepackage[dvipsnames,svgnames,x11names,hyperref]{xcolor} % use color names | |
\usepackage{hyperref} | |
\usepackage{multicol} % multicols environment for columns | |
\usepackage{framed} | |
\usepackage[amsmath,framed,hyperref,standard]{ntheorem} % theorem formatting | |
% Options for hyperref | |
\hypersetup{colorlinks, % get rid of boxes around link text | |
urlcolor=blue, linkcolor=blue, citecolor=Emerald} | |
% Options for the mathtools package | |
\mathtoolsset{ | |
% Don't show equation numbers unless referenced | |
% This requires you to re-build your pdf a couple times | |
% for references to be properly recognized | |
showonlyrefs | |
} | |
% (modified code from savetrees.sty) | |
\makeatletter | |
\def\@maketitle{% | |
\newpage | |
\null | |
\begin{center}% | |
\let \footnote \thanks | |
{\large \textbf{\@title}\par} | |
%\vskip 0.5\baselineskip | |
\begin{tabular}[t]{c}% | |
\@author | |
\end{tabular}\par | |
%\vskip 0.5\baselineskip | |
\@date | |
\end{center}% | |
\par | |
%\vskip \baselineskip | |
} | |
\makeatother | |
\newcommand{\real}{\mathbb{R}} | |
\newcommand{\integer}{\mathbb{Z}} | |
\renewcommand{\natural}{\mathbb{N}} | |
\newcommand{\gaussian}{\mathcal{N}} | |
\renewcommand{\L}{\mathcal{L}} | |
\renewcommand{\(}{\left(} | |
\renewcommand{\)}{\right)} | |
\DeclareMathOperator*{\argmax}{arg\,max\,} | |
\DeclareMathOperator*{\argmin}{arg\,min\,} | |
\DeclareMathOperator*{\maximize}{maximize\,} | |
\DeclareMathOperator*{\minimize}{minimize\,} | |
\DeclareMathOperator*{\subjectto}{subject\,to\,} | |
\DeclareMathOperator{\sech}{sech\,} | |
\setlength{\parindent}{0pt} % don't indent paragraphs | |
\setlength{\parskip}{1ex} % extra space after paragraphs | |
\title{TITLE} | |
\author{NAME} | |
\date{DATE} | |
\begin{document} | |
\maketitle | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment