X-Git-Url: https://code.communitydata.science/cdsc_tex.git/blobdiff_plain/4a46d628008cf09708408d572d537cd7f4852455..3a16b40a5cadde12f78ca0b0cf136eb2e84fb6cf:/paper_template/text.tex diff --git a/paper_template/text.tex b/paper_template/text.tex index fa5cb32..1a316cd 100644 --- a/paper_template/text.tex +++ b/paper_template/text.tex @@ -1,15 +1,14 @@ \documentclass[12pt]{memoir} -% article-1 and article-2 styles were originally based on kieran healy's -% templates -\usepackage{mako-mem} -\chapterstyle{article-2} - -% with article-3 \chapterstyle, change to: \pagestyle{memo} -\pagestyle{mako-mem} +\usepackage{cdsc-memoir} +% there are two chapter styles: cdsc-article and cdsc-memo +% memo assumes that you remove the "\\" and the email address from the +% \author field below as well as that you will comment out the +% \published tag +\chapterstyle{cdsc-article} \usepackage[utf8]{inputenc} - +\usepackage{wrapfig} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage[garamond]{mathdesign} @@ -32,6 +31,14 @@ \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=Blue, urlcolor=Blue, unicode=true} +% list of footnote symbols for \thanks{} +\makeatletter +\renewcommand*{\@fnsymbol}[1]{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or + \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger + \or \ddagger\ddagger \else\@ctrerr\fi}} +\makeatother +\newcommand*\samethanks[1][\value{footnote}]{\footnotemark[#1]} + % add bibliographic stuff \usepackage[american]{babel} \usepackage{csquotes} @@ -55,11 +62,11 @@ % will add version control information to the bottom of each page. This can be % useful for keeping track of which version of a document somebody has: % \input{vc} -% \pagestyle{mako-mem-git} +% \pagestyle{cdsc-page-git} % LATEX NOTE: this alternative line will just input a timestamp at the % build process, useful for sharelatex -% \pagestyle{mako-mem-sharelatex} +% \pagestyle{cdsc-page-sharelatex} \begin{document} @@ -72,8 +79,8 @@ \baselineskip 16pt \title{Title} -\author{Benjamin Mako Hill\\ - \href{mailto:makohill@uw.edu}{makohill@uw.edu}} +\author{Your Name\\ + \href{mailto:youremail@uw.edu}{youremail@uw.edu}} \date{} \published{\textsc{\textcolor{BrickRed}{This document is an @@ -176,6 +183,7 @@ lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog \citep{989866}. % bibliography here +\setcounter{biburlnumpenalty}{9001} \printbibliography[title = {References}, heading=secbib]