Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 920 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 920 Bytes

Notes for Meteor 0.9.x

The correct name of this package is currently mrt:mathjax, but it will probably change in the future.

meteor-mathjax

The package provides a handlebars helper that enables rendering mathematical formulas with mathjax. Currently, the mathjax source code is loaded from cloud as soon as the first formula is being rendered.

An example use of mathjax in a template may look like this:

{{#mathjax}}
<p>Let $(a_n)$, $(b_n)$ and $(c_n)$ be series
   of real numbers with $a_n\leq b_n\leq c_n$
   for each $n$. Supposing that $(a_n)$ and $(c_n)$
   are convergent to the same limit, $(b_n)$
   is also convergent, and moreover</p>
<p>
  <!-- this equation will be displayed -->
  $$
  \lim a_n=\lim b_n=\lim c_n.
  $$
</p>
{{/mathjax}}

Remember to use single dollars $...$ for inline math, and double $$...$$ for displaying equations.