And here is the source for that:
:source-highlighter:
:stem:
= STEM equations in adoc Studio
From now on, write your equations and formulas with latexmath:[\LaTeX]. Did you get it? Since the last beta version, adoc Studio supports STEM (Science, Technology, Engineering and Math) in both variants: AsciiMath or LaTeX Math.
Start with: `:stem:` in your document header. Without a value, we use `asciimath` as the default. However, if you add `latexmath`, this language will be used for all equations. Possible values are:
[,adoc]
----
:stem:
:stem: asciimath
:stem: latexmath
----
.Inline usage with AsciiMath
If you don't drink enough stem:[H_2O], you will quickly become dehydrated!
.Inline usage with LaTeX Math
The most beautiful formulas coming from latexmath:[\LaTeX], would you agree?
.Block usage with AsciiMath
[stem]
++++
sqrt(4) = 2
++++
.Block usage with LaTeX Math
[latexmath]
++++
\lim_{n \to \infty}\frac{n}{\sqrt[n]{n!}} = {\large e}
++++