How to use KaTex Math Typesetting on our Forum

Due to the high level of research our researchers are doing in the forums we decided to enabled the Discourse-Math plugin which supports KaTeX syntax for math formulas and equations.

To utilize KaTeX in the forums do the following:

Lets use the following equation for example:

  • KaTeX Expression: {w^0, P_0}....{w^N, P_N}

  • Rendered Katex Expression: {w^0, P_0}....{w^N, P_N}

To enable to KaTeX plugin you will enclose the expression in $ symbols. You can use a single $ for inline, and double $ for blocks, see our example below.

  • This is an example of an inline formula {w^0, P_0}....{w^N, P_N}
    • This is an example of an inline formula ${w^0, P_0}....{w^N, P_N}$`
      
  • This is an example of a formula Block
{w^0, P_0}....{w^N, P_N}
  • $$
    {w^0, P_0}....{w^N, P_N}
    $$
    

You can read more about the Plugin we are using here: Discourse Math - plugin - Discourse Meta

You can read more about KaTeX here:

3 Likes