Skip to content

Instantly share code, notes, and snippets.

@siddMahen
Created December 1, 2018 15:05
Show Gist options
  • Save siddMahen/f048e3ed2e5140940cef2674465e5b65 to your computer and use it in GitHub Desktop.
Save siddMahen/f048e3ed2e5140940cef2674465e5b65 to your computer and use it in GitHub Desktop.
% -- Provides the math notes class "note"
% -- based on https://gist.github.com/jhwilson/1278588
%
% This package replicates, to the best of my ability, the look of my
% hand-written notes.
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{note}[2018/10/27 Mathematical Notes, Siddharth Mahendraker]
\LoadClass[a4paper,12pt]{article}
\RequirePackage{fancyhdr}
\RequirePackage[top=1in,bottom=1in,left=1in,right=1in]{geometry}
\setlength{\headheight}{15pt}
\lhead{\@author}\chead{\@title}\rhead{\@date}
\lfoot{}\cfoot{\thepage}\rfoot{}
\pagestyle{fancy}
\newenvironment{exercise}[1]%
{\makebox[0pt][r]{\textbf{#1}\;}\begin{minipage}[t]{\textwidth}}%
{\end{minipage}\hspace{1em}}
\newenvironment{pf}%
{\makebox[0pt][r]{\textit{Proof:}\;}\begin{minipage}[t]{\textwidth}}%
{\hfill\qedsymbol\end{minipage}\hspace{1em}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment