Skip to content

Instantly share code, notes, and snippets.

@eyliu
Created June 2, 2009 21:22
Show Gist options
  • Save eyliu/122603 to your computer and use it in GitHub Desktop.
Save eyliu/122603 to your computer and use it in GitHub Desktop.
LaTeX settings for Subversion keyword substitution
% LaTeX settings for Subversion keyword substitution
\usepackage{svn-multi}
\svnidlong
{$HeadURL: $}
{$LastChangedDate: $}
{$LastChangedRevision: $}
{$LastChangedBy: $}
\svnid{$Id: $}
% don't forget to set the Subversion properties:
% svn propset svn:keywords 'Id Author Date Rev URL' *.tex
% display revision information in page footer
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[ol]{Rev: \svnrev\ (\svnfilerev)}
\fancyfoot[or]{\svnyear-\svnmonth-\svnday\
\svnhour:\svnminute} %Date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment