Difference between revisions of "Format notes"

From timescalewiki
Jump to: navigation, search
(Generic list of time scales)
Line 25: Line 25:
 
|-
 
|-
 
|[[Real_numbers | $\mathbb{R}$]]
 
|[[Real_numbers | $\mathbb{R}$]]
|$foo_p(t)=  $
+
|$foo(t)=  $
 
|-
 
|-
 
|[[Integers | $\mathbb{Z}$]]
 
|[[Integers | $\mathbb{Z}$]]
|$foo_p(t) = $
+
|$foo(t) = $
 
|-
 
|-
 
|[[Multiples_of_integers | $h\mathbb{Z}$]]
 
|[[Multiples_of_integers | $h\mathbb{Z}$]]
| $foo_p(t) = $
+
| $foo(t) = $
 
|-
 
|-
 
| [[Square_integers | $\mathbb{Z}^2$]]
 
| [[Square_integers | $\mathbb{Z}^2$]]
| $foo_p(t) = $
+
| $foo(t) = $
 
|-
 
|-
 
|[[Quantum_q_greater_than_1 | $\overline{q^{\mathbb{Z}}}, q > 1$]]
 
|[[Quantum_q_greater_than_1 | $\overline{q^{\mathbb{Z}}}, q > 1$]]
| $foo_p(t) = $
+
| $foo(t) = $
 
|-
 
|-
 
|[[Quantum_q_less_than_1 | $\overline{q^{\mathbb{Z}}}, q < 1$]]
 
|[[Quantum_q_less_than_1 | $\overline{q^{\mathbb{Z}}}, q < 1$]]
| $foo_p(t) =$
+
| $foo(t) =$
 
|-
 
|-
 
|[[Harmonic_numbers | $\mathbb{H}$]]
 
|[[Harmonic_numbers | $\mathbb{H}$]]
|$foo_p(t) = $
+
|$foo(t) = $
 
|}
 
|}
  

Revision as of 22:20, 4 October 2014

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