Skip to content

Commit 8aba3ac

Browse files
authored
Merge pull request #118 from bashtage/citation-fix
ENH: Improve spacing aroudn citations
2 parents f94eccf + ff14603 commit 8aba3ac

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/basics.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,15 @@ from all files. Use them like so::
601601
Citation usage is similar to footnote usage, but with a label that is not
602602
numeric or begins with ``#``.
603603

604+
Here we take a look at some actual citations of famous papers such as [Chetty]_
605+
in the American Economic Review or [Silver]_ in Nature.
606+
607+
.. [Chetty] Chetty, Raj, Nathaniel Hendren, and Lawrence F. Katz. "The effects of
608+
exposure to better neighborhoods on children: New evidence from the Moving to
609+
Opportunity experiment." *American Economic Review* 106.4 (2016): 855-902.
610+
611+
.. [Silver] Silver, David, et al. "Mastering the game of Go with deep neural
612+
networks and tree search." *nature* 529.7587 (2016): 484-489.
604613
605614
Substitutions
606615
-------------

sphinx_material/sphinx_material/static/stylesheets/application-fixes.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,4 +415,9 @@ div.rendered_html table {
415415
display: block;
416416
margin-left: auto;
417417
margin-right: auto;
418-
}
418+
}
419+
420+
/* GH 93 */
421+
dl.citation dt span.brackets {
422+
margin-right: 0.3rem;
423+
}

0 commit comments

Comments
 (0)