#!/bin/sh
# Helper script to export LaTeX templates for new documents
-# Copyright (c) 2009-2016 Benjamin Mako Hill <mako@atdot.cc>
+# Copyright (c) 2009-2018 Benjamin Mako Hill <mako@atdot.cc>
# Released under the GPLv3 or later.
CURDIR=$(pwd)
\makeoddfoot{cdsc-page-git}{}{\texttt{\footnotesize \textcolor{BrickRed}{git revision \VCRevision\ on \VCDateTEX}}}{}
%%% print a datestamp from ShareLaTeX
-\makepagestyle{cdsc-page-sharelatex}
+\makepagestyle{cdsc-page-overleaf}
\newcommand{\@slmarks}{%
\let\@mkboth\markboth
\def\chaptermark##1{%
\def\sectionmark##1{%
\markright{##1}}
}
-\makepsmarks{cdsc-page-sharelatex}{\@slmarks}
-\makeevenhead{cdsc-page-sharelatex}{}{}{\scshape\thepage}
-\makeoddhead{cdsc-page-sharelatex}{}{}{\scshape\thepage}
-\makeevenfoot{cdsc-page-sharelatex}{}{\texttt{\footnotesize{\textcolor{BrickRed}{Buildstamp/Version:~\pdfdate}}}}{}
-\makeoddfoot{cdsc-page-sharelatex}{}{\texttt{\footnotesize{\textcolor{BrickRed}{Buildstamp/Version:~\pdfdate}}}}{}
+\makepsmarks{cdsc-page-overleaf}{\@slmarks}
+\makeevenhead{cdsc-page-overleaf}{}{}{\scshape\thepage}
+\makeoddhead{cdsc-page-overleaf}{}{}{\scshape\thepage}
+\makeevenfoot{cdsc-page-overleaf}{}{\texttt{\footnotesize{\textcolor{BrickRed}{Buildstamp/Version:~\pdfdate}}}}{}
+\makeoddfoot{cdsc-page-overleaf}{}{\texttt{\footnotesize{\textcolor{BrickRed}{Buildstamp/Version:~\pdfdate}}}}{}
%% Create a command to make a note at the top of the first page describing the
%% publication status of the paper.
% \pagestyle{cdsc-page-git}
% LATEX NOTE: this alternative line will just input a timestamp at the
-% build process, useful for sharelatex
-% \pagestyle{cdsc-page-sharelatex}
+% build process, useful for Overleaf
+% \pagestyle{cdsc-page-overleaf}
\begin{document}