Skip to content

Export equations into Katex instead of latex #5636

@AlexCuan

Description

@AlexCuan

Describe feature

Since most of notetaking apps use katex as equation handler, and as an engineering student (heavily use of equations), I think it's a better choice to export equations into katex rather than "Latex"

Additional Information

Example of an export with strange Latex (double \ signs) :

# Joint entropy
The definition of entropy can be extended to more than one variable. Let us consider random variables \\(X\\) and \\(Y\\) such that

\\\[X \\in {x\_1, x\_2, \\cdots, x\_M}, \\text{ with known } p(x\_i), i = 1, \\cdots, M \\ Y \\in {y\_1, y\_2, \\cdots, y\_L}, \\text{ with known } p(y\_j), j = 1, \\cdots, L\\\]

i.e., they have different alphabets and probabilities. We define the joint entropy of \\(X\\) and \\(Y\\) as

**Definition 3.4.1: Joint entropy**

\\\[H(X, Y) = \\sum\_{i=1}^{M} \\sum\_{j=1}^{L} p(x\_i, y\_j) \\log\_2 \\frac{1}{p(x\_i, y\_j)} = - \\sum\_{i=1}^{M} \\sum\_{j=1}^{L} p(x\_i, y\_j) \\log\_2 p(x\_i, y\_j) \\frac{\\text{bits}}{\\text{symbol}}.\\\]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions