Skip to content

Instantly share code, notes, and snippets.

Created April 7, 2012 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/2331959 to your computer and use it in GitHub Desktop.
Save anonymous/2331959 to your computer and use it in GitHub Desktop.
Latex file for doing blind submissions or providing author information
\documentclass[12pt,titlepage]{article}%
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{epsfig}
%% === bibliography packages ===
\usepackage{natbib}
\bibliographystyle{natbib}
%\usepackage{setspace}
\usepackage{graphicx}%
\usepackage{color}
\usepackage[pdftex, bookmarksopen=true, bookmarksnumbered=true,
pdfstartview=FitH, breaklinks=true, urlbordercolor={0 0 0}, colorlinks=false, citebordercolor={0 0 0}, pdfborder={0 0 0}]{hyperref}
% ==== rotating package ===
\usepackage{rotating}
\usepackage{array}
% ==== dotted lines in tables ===
\usepackage{arydshln}
\usepackage{verbatim}
\usepackage{tabulary}
\usepackage{lscape}
% == spacing between sections and subsections
\usepackage[compact]{titlesec}
\newcommand\spacingset[1]{\renewcommand{\baselinestretch}%
{#1}\small\normalsize}
\spacingset{1}
% == multiple figure control
\usepackage{subfigure}
\def\subfigcapskip{-.2in}
\def\subfigtopskip{-.55in}
%\def\subfigbottomskip{-1in}
%\def\subfigcapmargin{1in}
%\usepackage{times}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setcounter{MaxMatrixCols}{30}
\providecommand{\U}[1]{\protect\rule{.1in}{.1in}}
\pagestyle{plain} \setlength{\topmargin}{-1.4cm}
\setlength{\oddsidemargin}{0.175cm}
\setlength{\evensidemargin}{0.175cm}
\setlength{\textwidth}{16cm}
\setlength{\textheight}{22.5cm}
\setlength{\parindent}{0.3in}
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{case}[theorem]{Case}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{conclusion}[theorem]{Conclusion}
\newtheorem{condition}[theorem]{Condition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{criterion}[theorem]{Criterion}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{notation}[theorem]{Notation}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{solution}[theorem]{Solution}
\newtheorem{summary}[theorem]{Summary}
\newenvironment{proof}[1][Proof]{\noindent\textbf{#1.} }{\ \rule{0.5em}{0.5em}}
\begin{document}
\spacingset{1.1}
%if blind make this 0, otherwise make this a 1
\newcommand{\blind}{0}
\newcommand{\tit}{\bf A template for making blinding your article easy for submission}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\if1\blind
{\title{\tit\thanks{My thanks.}}
\author{Dustin Tingley\thanks{Government Department, Harvard University, Cambridge, MA\ 02138. Email:
\href{dtingley@gov.harvard.edu}{dtingley@gov.harvard.edu},
}
}
\date{
This draft: \today
}
\maketitle
}\fi
%if a blind submission then make if0, if not blind make it if1
\if0\blind
\title{\bf \tit}
\maketitle
\fi
%\pdfbookmark[1]{Title Page}{Title Page}
%\thispagestyle{empty}
\setcounter{page}{0}
\begin{abstract}
abstract
\end{abstract}
%\addtocounter{footnote}{-1}
\baselineskip=1.5\baselineskip\newpage
%\clearpage
\spacingset{1.5}
\section{Introduction}
Introduction
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment