X-Git-Url: https://code.communitydata.science/cdsc_tex.git/blobdiff_plain/7abc105835706e283170065f26007505a7733eda..refs/heads/master:/paper_template/cdsc-memoir.sty?ds=inline diff --git a/paper_template/cdsc-memoir.sty b/paper_template/cdsc-memoir.sty index 571202d..3735dc5 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. @@ -179,6 +179,11 @@ % reduce skip after section heading \setaftersecskip{1pt} \setbeforesecskip{-1em} + \setaftersubsecskip{1pt} + \setbeforesubsecskip{-1em} + % \setaftersubsubsecskip{1pt} + % \setbeforesubsubsecskip{-1em} + % 'abstract' title, bigger skip from title % \renewcommand{\maketitle}{\{\preauthor \theauthor\} \hfill \thetitle}