Skip to content

Commit

Permalink
Merge pull request #118 from bashtage/citation-fix
Browse files Browse the repository at this point in the history
ENH: Improve spacing aroudn citations
  • Loading branch information
bashtage authored Jul 23, 2021
2 parents f94eccf + ff14603 commit 8aba3ac
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,15 @@ from all files. Use them like so::
Citation usage is similar to footnote usage, but with a label that is not
numeric or begins with ``#``.

Here we take a look at some actual citations of famous papers such as [Chetty]_
in the American Economic Review or [Silver]_ in Nature.

.. [Chetty] Chetty, Raj, Nathaniel Hendren, and Lawrence F. Katz. "The effects of
exposure to better neighborhoods on children: New evidence from the Moving to
Opportunity experiment." *American Economic Review* 106.4 (2016): 855-902.
.. [Silver] Silver, David, et al. "Mastering the game of Go with deep neural
networks and tree search." *nature* 529.7587 (2016): 484-489.
Substitutions
-------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,4 +415,9 @@ div.rendered_html table {
display: block;
margin-left: auto;
margin-right: auto;
}
}

/* GH 93 */
dl.citation dt span.brackets {
margin-right: 0.3rem;
}

0 comments on commit 8aba3ac

Please sign in to comment.