emacs/.emacs.d/snippets/org-mode/hwhead

17 lines
559 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: Homework Header
# key: hwhead
# --
#+Author: Adam Goldsmith
#+Title: ${1:title}
#+Date: `(format-time-string "%Y-%m-%d")`
#+LaTeX_HEADER: \newcommand{\class}{${2:class}}
#+LATEX_CLASS_OPTIONS: [12pt]
#+OPTIONS: toc:nil num:nil ^:{}
#+LATEX_HEADER: \usepackage[margin=1in, nohead, nofoot]{geometry}
#+LATEX_HEADER: \makeatletter \def\@maketitle{{\noindent\@title} {\hfill\@author\unskip\strut\par} {\noindent\class\unskip\strut} {\hfill\@date\par \vspace{\baselineskip}}\makeatother}
#+LATEX_HEADER: \pagenumbering{gobble}
$0