Format notes

From timescalewiki
Revision as of 22:24, 4 October 2014 by Tom (talk | contribs)
Jump to: navigation, search

This is a list of common code templates and styles we use at timescalewiki.

Theorem/proof box template

The code

<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
<strong>THEOREM/LEMMA/PROPOSITION:</strong> STATEMENT OF THEOREM
<div class="mw-collapsible-content">
<strong>Proof:</strong> proof goes here █ 
</div>
</div>

creates

THEOREM/LEMMA/PROPOSITION: STATEMENT OF THEOREM

Proof: proof goes here █

Generic list of time scales

The code

{| class="wikitable"
|+Time Scale foo Functions
|-
|$\mathbb{T}$
|
|-
|[[Real_numbers | $\mathbb{R}$]]
|$foo(t)=  $
|-
|[[Integers | $\mathbb{Z}$]]
|$foo(t) = $
|-
|[[Multiples_of_integers | $h\mathbb{Z}$]]
| $foo(t) = $
|-
| [[Square_integers | $\mathbb{Z}^2$]]
| $foo(t) = $
|-
|[[Quantum_q_greater_than_1 | $\overline{q^{\mathbb{Z}}}, q > 1$]]
| $foo(t) = $
|-
|[[Quantum_q_less_than_1 | $\overline{q^{\mathbb{Z}}}, q < 1$]]
| $foo(t) =$
|-
|[[Harmonic_numbers | $\mathbb{H}$]]
|$foo(t) = $
|}

generates

Time Scale foo Functions
$\mathbb{T}$
$\mathbb{R}$ $foo(t)= $
$\mathbb{Z}$ $foo(t) = $
$h\mathbb{Z}$ $foo(t) = $
$\mathbb{Z}^2$ $foo(t) = $
$\overline{q^{\mathbb{Z}}}, q > 1$ $foo(t) = $
$\overline{q^{\mathbb{Z}}}, q < 1$ $foo(t) =$
$\mathbb{H}$ $foo(t) = $

BiBTeX

Place all references at the bottom of the document below a

=References=

inside of

<bibtex>....</bibtex>

tags. Use the following code as a template:

<div id="deots"></div><bibtex>
 @inproceedings{MR1843232,
   title="Dynamic equations on time scales",
   author="Bohner, Martin and Peterson, Allan",
   booktitle="Birkhäuser Boston, Inc., Boston, MA",
   year="2001",
   doi="10.1007/978-1-4612-0201-1",
   url="http://dx.doi.org/10.1007/978-1-4612-0201-1"
 }
</bibtex>

creates

<bibtex>
@inproceedings{deots,
  title="Dynamic equations on time scales",
  author="Bohner, Martin and Peterson, Allan",
  booktitle="Birkhäuser Boston, Inc., Boston, MA",
  year="2001",
  doi="10.1007/978-1-4612-0201-1",
  url="http://dx.doi.org/10.1007/978-1-4612-0201-1"
}

</bibtex>

We use the code

<sup>[[#***ABC*** | pp.##]]</sup>

to create a link in the main text that looks like pp.##

which links to the reference next to
<div id="***ABC***">