SubSurfWiki:Training/More advanced editing

Tables

 * Always use class="wikitable" in your tables, unless you are styling a completely new kind of container
 * You can also use sortable, collapsible, and collapsed, e.g.
 * Keep the amount of additional styling to a minimum (changing borders, changing cell colours, etc)
 * The templates Yes, No, and Perhaps are quite useful for some types of table
 * Make the table as readable as possible in wikitext, e.g. keeping rows if possible, rather than one cell per line

Mathematical formulae

 * Formulae that include mathematical letters, like $x$, and operators like  should not use the plain letter  . For a comprehensive set of symbols, and comparison between  tags and the math template see section TeX vs HTML.


 * The tag typesets using LaTeX markup, which may render as an image or as HTML, depending on environmental settings. The  tag is best for the complex formula on its own line in an image format. If you use this tag to put a formula in the line with text, put it in the nowrap template.


 * The math template uses HTML, and will size-match a serif font, and will also prevent line-wrap. All templates are sensitive to the  sign, so remember to replace   with   in template input. Use wikimarkup   and   inside the math template, as well other HTML entities. The math template is best for typeset formulas in line with the text.

Spacing in simple math formulae

 * Using   to prevent line break is not needed; the math template will prevent line breaks anyway; you can use if you need an explicit line break inside a formula.

Complicated formulae

 * See Help:Mathematics for how to use.
 * A formula displayed on a line by itself should probably be indented by using the colon  character.