%$ $%. Similar to LaTeX's inline math mode, the math markup is rendered on the same line as other text in the string. Example:
%\[ \]% or %MATHMODE{ ... }%. These equations will be rendered with center justification on their own line. Example:

%BEGINLATEX%
\begin{<environment>}
_latex markup_
\end{<environment>}
%ENDLATEX%
Typically, the declared <environment> will be displaymath, although there is no limitation. Example using eqnarray*:
%BEGINLATEX%
\begin{eqnarray*}
\sum_{i=1}^{k+1} i &=& (k+1) + k(k+1)/2 \\
&=& {{2k+2 + k(k+1)} \over 2} \ &=& {{k^2 + 3k + 2} \over 2} \ &=& {{(k+1)(k+2)} \over 2}
\end{eqnarray*}
%ENDLATEX%
References
%ATTACHURLPATH% is a variable that automatically converts to the correct path.
%RED% red text %ENDCOLOR% and %GREEN% green text %ENDCOLOR%
Note:%<color>%text must end with%ENDCOLOR%. If you want to switch from one color to another one you first need to end the active color with%ENDCOLOR%, e.g. write%RED% some text %ENDCOLOR% %GREEN% more text %ENDCOLOR%.
/afs/andrew/scs/cs/15251/student/assignment*N*/handin/*userid* won't work, /afs/andrew/scs/cs/15251/student/assignmentN/handin/userid will.
), put an _{} to correct the vertical alignment (e.g. %$n_{}$%). This is a quirk of TWiki, not Latex (the images are too short and the css style always aligns them at the bottom)