Adding references#
Adding a citation to a lecture#
QuantEcon supports multiple citation styles to accommodate different writing contexts.
Standard citations#
To add a reference to the text of a QuantEcon lecture you can use the cite
role:
{cite}`<bibtex-label>`
For example
* {cite}`StokeyLucas1989`, chapter 2
is rendered in HTML and LaTeX as:
[SLP89], chapter 2
In-text citations#
For citations that are part of a sentence, use the cite:t
role:
{cite:t}`<bibtex-label>`
For example
This QuantEcon lecture describes randomized response surveys in the tradition of {cite:t}`Warner1965` that are designed to protect respondents' privacy.
is rendered in HTML and LaTeX as:
This QuantEcon lecture describes randomized response surveys in the tradition of Warner [1965] that are designed to protect respondents' privacy.
When to use each style#
Use
{cite}
for standard academic citations, typically at the end of sentences or in listsUse
{cite:t}
when the author name(s) are part of the sentence flow and you want them to appear as regular text
Adding a new reference to QuantEcon#
To add a new reference to the project, a bibtex entry needs to be added to <repo>/lectures/_static/quant-econ.bib
.