SandBox: Difference between revisions

From LPTMS Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 20: Line 20:
Fichier PDF:
Fichier PDF:


[[File:Test.pdf|100px|]]
[[File:Test.pdf]]


Fichier EPS:
Fichier EPS:

Revision as of 15:17, 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:Test.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>