-
-
Notifications
You must be signed in to change notification settings - Fork 77
Writing Style Guide
Matrices always use square brackets. Use \begin{bmatrix} ... \end{bmatrix}
Sequences use curly brackets, such as \{ x_t \}_{t=0}^{\infty}
The use of align environments can be done using the \begin{algined} ... \end{aligned}
as it is not a full math environment and works within the equation wrapping of sphinx.
"Independent and identically distributed" is abbreviated to "IID".
Use bold for definitions and italic for emphasis. For example,
- A closed set is a set whose complement is open.
- All consumers have identical endowments.
- Capitalization of all words for all titles.
Example “How it Works: Data, Variables and Names”
To add a reference to the text of a QuantEcon lecture you need to use the :cite:<bibtex-label>
directive.
For example
:cite:`StokeyLucas1989`, chapter 2
is rendered rendered in HTML and LaTex as:
[SLP89], chapter 2
To add a new reference to the project, a bibtex entry needs to be added to QuantEcon.lectures/_static/quant-econ.bib
.
The syntax of the source files is reStructuredText.
Here is a nice primer on how to write reStructuredText files.
Here is the documentation for the Jinja template syntax.