Nice Pithy Motto

# npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!

## ng-katex

1.2.0 • Public • Published

# ng-KaTeX

## Description

Angular module to write beautiful math expressions in TeX syntax boosted by KaTeX library. You can see a demo here.

## Install

To install the module you can simply type it on your command line:

npm install ng-katex --save


To add the module to your proyect add the KatexModule to import's field of your parent module:

#### Important!

If you're using angular-cli, add the katex css import to your styles.css:

If you're not using the angular-cli, import the stylesheet to your index.html:

## Usage

You can write a LaTeX equation as follows:

Also, you can add options to ng-katex components with:

The options object structure is defined here.

If you want to write a paragraph with LaTeX equations, you can do it as follows:

## Changelog

See changelog page to get info about release changes.

## Contributing

### install

npm i ng-katex

482

1.2.0

MIT

github.com

github