-
Notifications
You must be signed in to change notification settings - Fork 93
LaTeX math mode support #39
Copy link
Copy link
Open
Description
It will be very useful if we can use LaTeX's math mode inside ditaa's ascii art.
That is, if we have a following ascii art,
$Box_1$ $Box^2$
+---------------------+ +------+ /---------\
|$\sum_{i=0}^{n}x^i$ | |$cBLU$| | |
| +--->|cRED +-=-+cGRE$C_k$|
|{io} | |cXYZ | |{o} |
+----------+----------+ +---+--+ \---------/
| |
| :
| V
| +-----------------+
+---------->|$A_i$ hello $B^i$|
+-----------------+
$Q_u^i$, $C_k$, $B_r^{own}$, $F_{ox}$ jumps
over a lazy $d\cdot\frac{o}{g}$.
$\forall x \in X, \quad \exists y \leq \epsilon$
$\sin A \cos B =$
$ \frac{1}{2}\left[ \sin(A-B)+\sin(A+B) \right]$
$\frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x).$
$v \sim \mathcal{N} (m,\sigma^2)$
I would see it rendered like this.
I have already implemented this feature in my forked repository and am going to open a pull request soon. Please kindly consider merging it when it's opened.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
