paulremo / NRPMHandbook

Repository to store and track the development on the ADS/Matrisk project for developing a jupyter book of the NRPM handbook.
Other
1 stars 1 forks source link

Equations inside list-table directives #53

Closed paulremo closed 2 years ago

paulremo commented 2 years ago

When equations are placed inside list-table directives with the double-dollar-sign notation (e.g., $$x=1$$), the latex compiler fails because the amsmath equation* environment must not be placed inside tabulary environments. This is related to #38.

As a work-around, inline-math with the single-dollar-sign notation (e.g., $x=1$ ) should be used instead of display-style math.

As an example, the following:

*   - $$f_{X}(x) = \ \frac{\beta^{\alpha}}{\Gamma\left( \alpha \right)} \cdot \frac{\exp( - \beta x)}{x^{\alpha + 1}}$$

should be replaced with

*   - $f_{X}(x) = \ \frac{\beta^{\alpha}}{\Gamma\left( \alpha \right)} \cdot \frac{\exp( - \beta x)}{x^{\alpha + 1}}$
paulremo commented 2 years ago

@csxADS please confirm that my fix in 1274172786d420719c169995c32430075582b24e does not cause any problems in the HTML version of the document and then close this issue.

csxADS commented 2 years ago

No problem noticed