User:Egm6341.s11.team2.zou/Math Temp

= Original math environment templates =

Original math environment templates is given by prof as one of his HW guides. They display equations as follows:

Equations without box:


 * {| style="width:100%" border="0"

$$  \displaystyle
 * style="width:95%" |
 * style="width:95%" |

\lim_{x \to 0}\frac{x} = \lim_{x \to 0}\frac{1} = 1 $$     (1.1)
 * 
 * }

and


 * {| style="width:100%" border="0"

$$  \displaystyle
 * style="width:95%" |
 * style="width:95%" |

f(x) = 1 $$     (1.2)
 * 
 * }

Equations with box:


 * {| style="width:100%" border="0"

$$  \displaystyle
 * style="width:92%; padding:10px; border:2px solid #8888aa" |
 * style="width:92%; padding:10px; border:2px solid #8888aa" |

\lim_{x \to 0}\frac{x} = \lim_{x \to 0}\frac{1} = 1

$$     (1.3)
 * 
 * }


 * {| style="width:100%" border="0"

$$  \displaystyle
 * style="width:92%; padding:10px; border:2px solid #8888aa" |
 * style="width:92%; padding:10px; border:2px solid #8888aa" |

f(x) = 1

$$     (1.4)
 * 
 * }

= Proposed math environment templates =

Since other teams may use prof's templates, so we can use another set of templates to avoid commonness.

As suggested by Chris, we'd better display our equations along the center line of the page, making it more formal, similar to publications.

I don't know whether we should use invariant boxes or adjustable boxes since I've never written any paper, but I think equations with adjustable boxes looks more lovely when there're 2 more boxed equations together.

General Equations with Eq number lying in the precise center:
and

General Equations with Eq number lying in the precise center, plus arrow:
and

(DEPRECATED)Equations with Eq number and invariable box(constant width: 80% of page):
and

Equations with adjustable box:
and

Equations with adjustable box, Eq number and arrow:
and

The mechanism of the templates:
The math templates are actually tables. Changing border="0" to border="1" will demonstrate the mechanism of this set of templates:

and

As we can see the equation consists of three parts: the left box of putting arrows, the middle box of displaying equation body, and the right box of putting equation numbers. The width of each box is set to 10%, 80%, 10% respectivly ensuring that the change of content in each part won't interfere with the other and that the equation lies precisely in the center of page. Also note that there's a smaller box without length definition which is inside the middle box, that's why the colored box can be adjustable to equation length.