diff options
author | Ryan Kavanagh <rak@rak.ac> | 2022-04-25 14:04:46 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2022-04-25 14:04:46 -0400 |
commit | 058cf543a32f2be331e1194597db0c2e7f0d4075 (patch) | |
tree | 167d3345c72fb3a590b4de3a2bbbf449744b3811 /cmuthesis_template.tex | |
parent | whitespace cleanup (diff) |
Switch from home brewed \draftstamp to gitinfo2
Diffstat (limited to '')
-rw-r--r-- | cmuthesis_template.tex | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/cmuthesis_template.tex b/cmuthesis_template.tex index 57e5117..a33a2c6 100644 --- a/cmuthesis_template.tex +++ b/cmuthesis_template.tex @@ -42,9 +42,21 @@ \PassOptionsToPackage{hscale=.8}{geometry} \PassOptionsToPackage{nomarginpar}{geometry} \PassOptionsToPackage{hmarginratio=1:1}{geometry} +%% If you're versioning your thesis with Git (which you really should), +%% then the following lines will add a stamp at the bottom of each page +%% with the build time and current commit number. Very useful for +%% knowing which particular draft of your thesis your advisors or +%% committee members are talking about in their comments. +%% +%% See "Setup and tailoring" in the documentation for instructions on +%% how to set up the post-commit, post-merge, and post-checkout hooks +%% that generate the Git information used by the package: +%% http://mirrors.ctan.org/macros/latex/contrib/gitinfo2/gitinfo2.pdf +\usepackage[hhmmss]{datetime} +\usepackage[mark,markifdirty,markifdraft]{gitinfo2} +\renewcommand{\gitMark}{\gitBranch\,@\,\gitDescribe{}~\textbullet{}~{\today}~\currenttime} +%% Comment them out if you do not want the stamp. -% Provides a draft mark at the top of the document. -\draftstamp{\today}{DRAFT} \title{ %% {\it \huge Thesis Proposal}\\ {\bf Awesome Work in Computer Science}} |