1. Math Commands
  2. Latex

Math Commands

Latex

Documentation for the latex command.

Description

The latex command is used to render latex code as an image.

Command Variations

The latex command can be used either as slash ( /latex ) or text ( j!latex ) command.

NOTE

If you use a different prefix than the default j! prefix, then you should use that prefix.

Usages

        latex <code>

      

Examples

        latex \sqrt{2}
latex \frac{1}{2}
latex \int_{0}^{1} x^2 dx

      

Restraints

Your expression must not be shorter than 1 character.

Your expression must not be longer than 1000 characters.

Your expression must not contain weird characters.

You can for example render the latex code \sqrt{2}.

Arguments

Argument Type Description Required Default
expression String The expression to render. Yes N/A

Aliases

  • none

Previous <- Graph