Closed ashander closed 6 years ago
I think that's fine... but would be fine with a different display if you think it better.
Cool. I guess the current formatting is to ensure the functions are normal text in mathmode but they're mostly (entirely?) used in plain text. I'll maybe suggest something
I just stuck in a very basic version using macros so that we can change the style easily later if we want. Maybe camelCase would be more appropriate (e.g., addNode)? I'm also fine with some other display form if you like.
at least for me the formatting for functions defined here_ has no effect, eg
log from make
``` pdflatex forwards_paper.tex This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./forwards_paper.tex LaTeX2e <2017/01/01> patch level 3 Babel <3.9r> and hyphenation patterns for 3 language(s) loaded. (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/preprint/fullpage.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg) (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)) Package hyperref Message: Driver (autodetected): hpdftex. (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty (/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu) (/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu) (/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu))) (/usr/share/texlive/texmf-dist/tex/latex/natbib/natbib.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def))) (/usr/share/texlive/texmf-dist/tex/latex/enumitem/enumitem.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg)) \@input{macros.aux} (./macros.tex) (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)) No file forwards_paper.aux. (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty)) (./forwards_paper.out) (./forwards_paper.out) (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty) (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) Package natbib Warning: Citation `martin2017human' on page 1 undefined on input line 99. Package natbib Warning: Citation `wakeley2003gene' on page 1 undefined on input line 103. Package natbib Warning: Citation `maruvka2011recovering' on page 1 undefined on input line 103. Package natbib Warning: Citation `bhaskar2014distortion' on page 1 undefined on input line 103. Package natbib Warning: Citation `harris2016genetic' on page 1 undefined on inp ut line 106. Package natbib Warning: Citation `slim' on page 1 undefined on input line 106. Package natbib Warning: Citation `Sanjak2017-ko' on page 1 undefined on input l ine 108. Package natbib Warning: Citation `fwdpp' on page 1 undefined on input line 109. Package natbib Warning: Citation `haller2017flexible' on page 1 undefined on in put line 126. Package natbib Warning: Citation `fwdpp' on page 1 undefined on input line 126. Package natbib Warning: Citation `haller2017flexible' on page 1 undefined on in put line 129. Package natbib Warning: Citation `fwdpp' on page 1 undefined on input line 131. Package natbib Warning: Citation `Hernandez2015-wf' on page 1 undefined on inpu t line 131. Package natbib Warning: Citation `fwdpp' on page 1 undefined on input line 133. [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] Package natbib Warning: Citation `kelleher2016efficient' on page 2 undefined on input line 155. Package natbib Warning: Citation `peng2005simupop' on page 2 undefined on input line 177. Package natbib Warning: Citation `fwdpp' on page 2 undefined on input line 177. Package natbib Warning: Citation `Neuhauser1997-nn' on page 2 undefined on inpu t line 211. [2] Package natbib Warning: Citation `Tange2011a' on page 3 undefined on input line 237. LaTeX Warning: Reference `fig:runtimes_selection' on page 3 undefined on input line 244. LaTeX Warning: Reference `fig:runtimes_selection' on page 3 undefined on input line 248. LaTeX Warning: Reference `fig:relative_speedup_selection' on page 3 undefined o n input line 249. LaTeX Warning: Reference `fig:relative_speedup_selection' on page 3 undefined o n input line 250. LaTeX Warning: Reference `fig:runtimes_selection' on page 3 undefined on input line 251. LaTeX Warning: Reference `sfig:rawspeed_nosel' on page 3 undefined on input lin e 257. LaTeX Warning: Reference `fig:runtimes_selection' on page 3 undefined on input line 258. LaTeX Warning: Reference `sfig:speedup_nosel' on page 3 undefined on input line 259. LaTeX Warning: Reference `fig:relative_speedup_selection' on page 3 undefined o n input line 260. LaTeX Warning: Reference `sfig:rawspeed_nosel' on page 3 undefined on input lin e 262. LaTeX Warning: Reference `sfig:speedup_nosel' on page 3 undefined on input line 263.