SandBox: Difference between revisions

From LPTMS Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 35: Line 35:
     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>

Revision as of 23:48, 5 February 2011

Hello World!

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

fichier PNG:

DeclarationEtudiant.png

Fichier SVG:

Fichier JPG:

InterféromètreFP-Mercure.JPG

Fichier PDF:

Fichier EPS:

<source lang="cpp">

  1. include <iostream>

int main() {

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

} </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>