From: Benjamin Mako Hill Date: Thu, 8 Aug 2019 17:53:40 +0000 (-0700) Subject: changed sharelatex mode to overleaf mode X-Git-Url: https://code.communitydata.science/cdsc_tex.git/commitdiff_plain/eb509bcfb8a2ce6c684677d7c6116748717c07f7?ds=inline;hp=--cc changed sharelatex mode to overleaf mode --- eb509bcfb8a2ce6c684677d7c6116748717c07f7 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}