Format notes

From timescalewiki
Revision as of 22:19, 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

Time Scale foo Functions
$\mathbb{T}$
$\mathbb{R}$ $foo_p(t)= $
$\mathbb{Z}$ $foo_p(t) = $
$h\mathbb{Z}$ $foo_p(t) = $
$\mathbb{Z}^2$ $foo_p(t) = $
$\overline{q^{\mathbb{Z}}}, q > 1$ $foo_p(t) = $
$\overline{q^{\mathbb{Z}}}, q < 1$ $foo_p(t) =$
$\mathbb{H}$ $foo_p(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***">