Learn R Programming

pkgdown (version 2.1.2)

test-math-examples: Test case: math rendering in examples

Description

Test case: math rendering in examples

Arguments

x

\(f(x) > 0\): inline equation

Details

Display equation:

$$y = \alpha + \beta X + \varepsilon$$

Multi-line equation (correctly rendered by katex only):

$$\mathit{Minimize} \space l \\ \mathit{subject \space to} \\ \sum_{i = 1}^{I} x_i r_{ij} + y_j \geq t_j \forall j \in J \\ l \geq \frac{y_j}{t_j} \forall j \in J \\ \sum_{i = 1}^{I} x_i c_i \leq B$$

See Also

Other tests: index, test-crayon, test-dont, test-figures, test-links, test-lists, test-long-lines, test-output-styles, test-params, test-sexpr-title, test-tables, test-verbatim