From eb509bcfb8a2ce6c684677d7c6116748717c07f7 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Thu, 8 Aug 2019 10:53:40 -0700 Subject: [PATCH] changed sharelatex mode to overleaf mode --- paper_template/cdsc-memoir.sty | 12 ++++++------ paper_template/text.tex | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/paper_template/cdsc-memoir.sty b/paper_template/cdsc-memoir.sty index 571202d..5c8af49 100644 --- a/paper_template/cdsc-memoir.sty +++ b/paper_template/cdsc-memoir.sty @@ -57,7 +57,7 @@ \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{% @@ -71,11 +71,11 @@ \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. diff --git a/paper_template/text.tex b/paper_template/text.tex index 1a316cd..994b6bb 100644 --- a/paper_template/text.tex +++ b/paper_template/text.tex @@ -65,8 +65,8 @@ % \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} -- 2.39.2