SandBox: Difference between revisions

From LPTMS Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:


<math>a^2 = \sqrt{x^3-1}</math>
<math>a^2 = \sqrt{x^3-1}</math>
let's spin:
<math>\vert{\uparrow\downarrow}\rangle</math>


fichier PNG:
fichier PNG:
Line 8: Line 11:


Fichier SVG:
Fichier SVG:
[[File:Drawing.svg|100px|]]


Fichier JPG:
Fichier JPG:
Line 14: Line 19:


Fichier PDF:
Fichier PDF:
[[File:DysonMaxwell041989.pdf]]


Fichier EPS:
Fichier EPS:
Line 23: Line 30:
{
{
   std::cout << "Hello, world!\n";
   std::cout << "Hello, world!\n";
}
template<typename T> class B
{
private:
  T t;
public:
  B(T const& _t) : t(_t) {};
  T value() const {return t;};
};
int main()
{
  B<int> b(2);
}
}
</source>
</source>
Line 35: Line 56:
     return b
     return b
</source>
</source>
<rst>
<rst-options: 'toc' = False/>
<rst-options: 'reset-figures' = False/>
Your RST code here, etc.
Images must be included as:
.. figure:: reactor.png
    :scale: 40
    :align: center
This implies that an image, with the name "reactor.png" must be uploaded
into the Mediawiki.
</rst>

Latest revision as of 16:19, 1 February 2012

Hello World!

<math>a^2 = \sqrt{x^3-1}</math>

let's spin: <math>\vert{\uparrow\downarrow}\rangle</math>

fichier PNG:

DeclarationEtudiant.png

Fichier SVG:

Drawing.svg

Fichier JPG:

InterféromètreFP-Mercure.JPG

Fichier PDF:

File:DysonMaxwell041989.pdf

Fichier EPS:

<source lang="cpp">

  1. include <iostream>

int main() {

  std::cout << "Hello, world!\n";

}

template<typename T> class B { private:

 T t;

public:

 B(T const& _t) : t(_t) {};
 T value() const {return t;};

};

int main() {

  B<int> b(2);

} </source>

<source lang="py"> from math import *

print pi**2/4

def foo(a):

   b = [a]*3
   return b

</source>


<rst> <rst-options: 'toc' = False/> <rst-options: 'reset-figures' = False/>

Your RST code here, etc.

Images must be included as:

.. figure:: reactor.png

   :scale: 40
   :align: center

This implies that an image, with the name "reactor.png" must be uploaded into the Mediawiki. </rst>