changed sharelatex mode to overleaf mode
This commit is contained in:
parent
9bcc8f35bf
commit
eb509bcfb8
@ -57,7 +57,7 @@
|
|||||||
\makeoddfoot{cdsc-page-git}{}{\texttt{\footnotesize \textcolor{BrickRed}{git revision \VCRevision\ on \VCDateTEX}}}{}
|
\makeoddfoot{cdsc-page-git}{}{\texttt{\footnotesize \textcolor{BrickRed}{git revision \VCRevision\ on \VCDateTEX}}}{}
|
||||||
|
|
||||||
%%% print a datestamp from ShareLaTeX
|
%%% print a datestamp from ShareLaTeX
|
||||||
\makepagestyle{cdsc-page-sharelatex}
|
\makepagestyle{cdsc-page-overleaf}
|
||||||
\newcommand{\@slmarks}{%
|
\newcommand{\@slmarks}{%
|
||||||
\let\@mkboth\markboth
|
\let\@mkboth\markboth
|
||||||
\def\chaptermark##1{%
|
\def\chaptermark##1{%
|
||||||
@ -71,11 +71,11 @@
|
|||||||
\def\sectionmark##1{%
|
\def\sectionmark##1{%
|
||||||
\markright{##1}}
|
\markright{##1}}
|
||||||
}
|
}
|
||||||
\makepsmarks{cdsc-page-sharelatex}{\@slmarks}
|
\makepsmarks{cdsc-page-overleaf}{\@slmarks}
|
||||||
\makeevenhead{cdsc-page-sharelatex}{}{}{\scshape\thepage}
|
\makeevenhead{cdsc-page-overleaf}{}{}{\scshape\thepage}
|
||||||
\makeoddhead{cdsc-page-sharelatex}{}{}{\scshape\thepage}
|
\makeoddhead{cdsc-page-overleaf}{}{}{\scshape\thepage}
|
||||||
\makeevenfoot{cdsc-page-sharelatex}{}{\texttt{\footnotesize{\textcolor{BrickRed}{Buildstamp/Version:~\pdfdate}}}}{}
|
\makeevenfoot{cdsc-page-overleaf}{}{\texttt{\footnotesize{\textcolor{BrickRed}{Buildstamp/Version:~\pdfdate}}}}{}
|
||||||
\makeoddfoot{cdsc-page-sharelatex}{}{\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
|
%% Create a command to make a note at the top of the first page describing the
|
||||||
%% publication status of the paper.
|
%% publication status of the paper.
|
||||||
|
|||||||
@ -65,8 +65,8 @@
|
|||||||
% \pagestyle{cdsc-page-git}
|
% \pagestyle{cdsc-page-git}
|
||||||
|
|
||||||
% LATEX NOTE: this alternative line will just input a timestamp at the
|
% LATEX NOTE: this alternative line will just input a timestamp at the
|
||||||
% build process, useful for sharelatex
|
% build process, useful for Overleaf
|
||||||
% \pagestyle{cdsc-page-sharelatex}
|
% \pagestyle{cdsc-page-overleaf}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user