17
0

changed sharelatex mode to overleaf mode

This commit is contained in:
Benjamin Mako Hill 2019-08-08 10:53:40 -07:00
parent 9bcc8f35bf
commit eb509bcfb8
2 changed files with 8 additions and 8 deletions

View File

@ -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.

View File

@ -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}