Skip to content

Instantly share code, notes, and snippets.

@liyuhao
Forked from fditraglia/paper.sublime-snippet
Created January 26, 2014 00:07
Show Gist options
  • Save liyuhao/8625871 to your computer and use it in GitHub Desktop.
Save liyuhao/8625871 to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
\documentclass[12pt]{article}
\usepackage[margin=1.5in]{geometry}
\usepackage{todonotes}
\usepackage{amssymb,amsmath,amsthm,graphicx}
\usepackage{geometry}
\usepackage{rotating}
\usepackage{amssymb, amsmath, amsthm, graphicx}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{multirow}
\usepackage{color}
\usepackage{threeparttable}
\usepackage{caption}
\usepackage{subcaption}
\newtheorem{assump}{Assumption}[section]
\newtheorem{pro}{Proposition}[section]
\newtheorem{lem}{Lemma}[section]
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}{Corollary}[section]
\newtheorem{ineq}{Inequality}[section]
\newtheorem{defn}{Definition}[section]
\newtheorem{rem}{Remark}[section]
\newtheorem{ex}{Example}[section]
\theoremstyle{definition}
\newtheorem{alg}{Algorithm}[section]
\begin{document}
\title{${1:title}}
\author{${2:author}}
\maketitle
\begin{abstract}
${3:abstract}
\end{abstract}
\section{${4:section title}}
${5:start writing!}
\end{document}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>paper</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.tex.latex</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment