MicaSim Style Guide

From Micasim

Jump to: navigation, search

Contents

Project Headers

We have a standard header associated with each project, to unify the pages associated with that project. If you're adding or editing a page related to a given project, please include the following text at the top of the page:

{{Project|Project Name}}

Where "Project Name" is the standardized name of the project. See the page Template:Project for a list of defined project names.

Tips for Equations and stuff

Superscripts and Subscripts

Do do a subscripted 1, type {{sub|1}}. For instance, r{{sub|1}} will render as r1. Similaly, r{{sup|2}} will render as r2.


LaTeX equations

You can use LaTeX to include equations in pages. For example:

<math>
\frac{\ddot R}{R}\ =\ -\frac{4}{3}\pi\,G(\rho\,+3\,p)
</math>

will render as:


\frac{\ddot R}{R}\ =\ -\frac{4}{3}\pi\,G(\rho\,+3\,p)

I have also predefined a template that will allow you to do (manually only, alas) numbered equations. For an example of its usage, see Chapter 5 of Moving Stars Around. A brief example here:

{{Equation|
<math>
\frac{\ddot R}{R}\ =\ -\frac{4}{3}\pi\,G(\rho\,+3\,p)
</math>
|equation=42}}

renders as:

(Equation 42)


\frac{\ddot R}{R}\ =\ -\frac{4}{3}\pi\,G(\rho\,+3\,p)

Personal tools