Difference between revisions of "Template:Tutorial"
From ONELAB
Line 21: | Line 21: | ||
we cannot use xml tags directly for the "include" extension because it prevents | we cannot use xml tags directly for the "include" extension because it prevents | ||
parameter expansion, so we use the #tag parser function | parameter expansion, so we use the #tag parser function | ||
+ | |||
+ | we use class="tex2jac_ignore" to prevent MathJax to interpret $$ in included files | ||
+ | as inline equations | ||
--> | --> |
Revision as of 14:35, 21 March 2011
Help
Ce template permet d'inclure simplement un fichier de tutorial pour onelab
Afficher le fichier complet:
{{tutorial|nom_de_fichier}}
Afficher seulement une partie:
{{tutorial|nom_de_fichier|height=22em}}