Difference between revisions of "Public:Writing LaTeX"

(Created page with "<div style="display:none;"><math> \newcommand\Ek{\mathbb E_k} \newcommand\Pk{\mathbb P_k} </math></div> <!-- Info: it is useful to wrap the initial <math>...</math> where we d...")
 
m
Line 10: Line 10:
-->
-->


This page serves as an example of how to write LaTeX formulas on this wiki.
Go to ''Edit'' of this page to see how it's done (especially see the top of the text where I define new macros the same way as we would do in the regular LaTeX).
Go to ''Edit'' of this page to see how it's done (especially see the top of the text where I define new macros the same way as we would do in the regular LaTeX).



Revision as of 17:46, 15 May 2020

\( \newcommand\Ek{\mathbb E_k} \newcommand\Pk{\mathbb P_k} \)

This page serves as an example of how to write LaTeX formulas on this wiki. Go to Edit of this page to see how it's done (especially see the top of the text where I define new macros the same way as we would do in the regular LaTeX).

Note that there are minor differences with LaTeX. Inline mathematics is typeset with $$...$$, \(...\), and math HTML tag. This means that $...$ won't work! And display style maths is written with \[...\], \begin{XXX}...\end{XXX}, where XXX can be, for example, align.


See for example this $$\Ek A$$ and \(\Pk A\) and also the following:

\[ \Ek A =\ ... \] and \begin{align} \Pk A = ... \end{align}