feat(image): make math packages configurable. Closes #1295

This commit is contained in:
Folke Lemaitre 2025-02-19 06:48:02 +01:00
parent aaed4a9411
commit e27ba726b1
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 20 additions and 3 deletions

View file

@ -2,6 +2,7 @@
\usepackage{graphicx} % For images
\usepackage{amsmath} % For math symbols
\usepackage{amssymb} % For extra math symbols
\usepackage{multirow} % For extra math symbols
\begin{document}
@ -20,8 +21,17 @@ Inline image:
\newpage
\section{Math Tests}
$
cases(
E_x = E_0 e^(j omega t - y z),
H_y = gamma / (j omega mu_0) E_x = eta^e E_0 e^(j omega - y z) = H_0 e^(j omega t - y z)
)
$
Inline math: \(E=mc^2$ and $\int_0^1 x^2 \,dx\)
Inline math: $E=mc^2$ and $\int_0^1 x^2 \,dx$

View file

@ -11,7 +11,7 @@
#set text(size: 12pt, fill: rgb("#FF0000"))
$ 5 + 5 = 10 $
$ E = m c^2 $
$ E = g c^2 $
$ A = pi r^2 $
@ -21,7 +21,8 @@ $ cal(A) :=
{ x in RR | x "is natural" } $
#let x = 5
$ #x < 17 $
$ x < 17 $
$ (3x + y) / 7 &= 9 && "given" \
3x + y &= 63 & "multiply by 7" \