## reflar /latex

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
This package is abandoned and no longer maintained. No replacement package was suggested.

Renders LaTeX expressions.

##### Details

Source

Issues

189

0

4

3

1

Type:flarum-extension

0.2.0 2018-09-15 21:26 UTC

This package is auto-updated.

Last update: 2021-05-19 05:06:25 UTC

A Flarum extension to render LaTeX expressions in your posts.

Original by Flagrow.

### Installation

Use Bazaar or install manually with composer:

composer require reflar/latex

### Updating

composer update reflar/latex
php flarum cache:clear

### Features

With reflar/latex you can render LaTeX mathematical expressions inside your forum just by typing them, in the same way you would do your TeX document.

It supports:

• Inline expressions like $\sin\theta$, as well as
• Display expressions, such as $$\frac{\cos(kx)}{\cos(x)}$$.

There's also an option so it doesn't mess up with Markdown and BBCode extensions, so you can use all of them at the same time.

This is how the previous paragraph would look like:

### Usage

Write LaTeX expressions in your post like you would in your TeX editor.

### Tip

If you want to actually show the LaTeX code, you must use Markdown in the following way:

This is an expression I don't want to render

$$\cos(\pi) + 1 = 0$$

While this is going to be rendered: $yes$