This package has been deprecated

Author message:

No longer maintained

vuepress-plugin-latex

0.1.3 • Public • Published

vuepress-plugin-latex

npm version KaTeX version

This plugin uses KaTeX to render LaTeX for VuePress pages.

Install

yarn add vuepress-plugin-latex

Note: VuePress supports plugins from v1.0, which is now an alpha version, so you must install vuepress@next to use this plugin.

Usage

Configure your VuePress site at .vuepress/config.js:

module.exports = {
  plugins: [
    'latex' // or 'vuepress-plugin-latex'
  ]
}

See the documentation of VuePress for more information.

Customized macros

This plugin provides some semantic macros for authors to write LaTeX better:

Macro Target
\numset \mathbb
\all \forall\,
\exi \exists\,
\me \mathrm{e}
\mi \mathrm{i}
\st \,\text{s.t.}\,
\diff \mathop{}\!\mathrm{d}
\pdiff \mathop{}\!\partial
\trans \mathrm{T}
\ctrans \mathrm{*}

Package Sidebar

Install

npm i vuepress-plugin-latex

Weekly Downloads

19

Version

0.1.3

License

MIT

Unpacked Size

5.54 kB

Total Files

8

Last publish

Collaborators

  • npm