# Support

has been integrated into this site, making it easy to include mathematics into the pages you edit. This is not a standard feature of PmWiki, so it is not covered in the usual documentation on text formatting rules. This page covers the inclusion of code and addresses some of the complications that arise.

The syntax used to produce output is basically what you would expect. For example, the formula is produced by the code $A\in 2^\omega$. The usual markup is also provided for display mathematics. In addition, text delimited by \@ and \@ is compiled as in text mode and included inline. Text beween \@@ and \@@ is compiled in text mode too, but then centered in the same way as display mathematics.

The following table summerizes the different ways to include in pages on this site.

 Markup
 inline mathematics $...$ or $$...$$ display mathematics $$...$$ or $...$ inline text \@...\@ display text \@@...\@@

## Important nical Notes

1. code is compiled in documentclass article with amssymb and amsmath loaded. Please request macros and additional packages which you would find particularly useful.

2. I have tried to ensure that the vertical alignment of inline formulas is correct on browsers that support CSS (cascading style sheets). Please contact me if the formulas below do not align well on your browser.

Formulas like and should be aligned with the surrounding text.

3. The first matching end delimiter is always interpreted as the end of the expression. Thus, $\$$ produces an error but $$\$$ produces . 4. To produce a dollar sign type [=$=]. This prevents the Wiki engine from interpreting it as part of an inline formula.

5. You must explicitly change the font of inline to match changes in the surrounding text font. For example, if you enter [+++'''Let $A\in 2^\omega$ be 1-random.'''+++] then you get

Let be 1-random.

In order to generate

Let be 1-random.

you should enter [+++'''Let \@\boldmath \LARGE $A\in 2^\omega$\@ be 1-random.'''+++]. Note that math font information is generally set before entering math mode, so the \@...\@ markup is usefull here.

Although not perfect, there is a fairly reasonable correspondence between font sizes in and in the text markup on this site. The following tables suggests the code to use in various situations.

 Matching Font Sizes
 PmWiki markup Corresponding [+++...+++] \LARGE [++...++] \Large [+...+] \large [-...-] \footnotesize [--...--] \scriptsize
 PmWiki markup Corresponding ! \boldmath\LARGE or \bf\LARGE !! \boldmath\Large or \bf\Large !!! \boldmath\large or \bf\large