]> code.communitydata.science - cdsc_tex.git/blobdiff - paper_template/text.tex
added \samethanks command
[cdsc_tex.git] / paper_template / text.tex
index fa5cb320ae130a04e6f4655e6c9ebb5cca655649..e3f7f1d877ac8e0bfcb4a3c1e17520c6472addf8 100644 (file)
 \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}

Community Data Science Collective || Want to submit a patch?