Format notes

From timescalewiki
Revision as of 03:55, 24 July 2014 by Tom (talk | contribs) (Theorem/proof box template)
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 █

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***">