fix latex demo 11/14311/1
Antoine ELIAS [Thu, 3 Apr 2014 07:55:23 +0000 (09:55 +0200)]
Change-Id: I261269ad32aaf79fb8710038d2adcea8656bc4f5

scilab/modules/gui/demos/uicontrol_LaTeX.dem.sce

index 44cda07..deac58d 100644 (file)
@@ -37,15 +37,16 @@ demo_viewCode(SCI+ "/modules/gui/demos/uicontrol_LaTeX.dem.sce");
 
 uicontrol(f, ...
     "style", "pushbutton", ...
-    "string", "$\text{Text: }\Gamma(s)=\int_0^\infty t^{s-1}\mathrm{e}^{-t}\,\mathrm{d}t$", ...
+    "string","<math><mrow><mtext>MathML</mtext><mphantom><mi>a</mi></mphantom><msup><mi>x</mi><mn>2</mn></msup></mrow></math>", ...
     "horizontalalignment", "center", ...
+    "Callback", "mathml_callback();", ...
     "Fontsize", 16);
 
 uicontrol(f, ...
     "style", "text", ...
-    "string","<math><mrow><mtext>MathML</mtext><mphantom><mi>a</mi></mphantom><msup><mi>x</mi><mn>2</mn></msup></mrow></math>", ...
+    "string", "$\text{Text: }\Gamma(s)=\int_0^\infty t^{s-1}\mathrm{e}^{-t}\,\mathrm{d}t$", ...
     "horizontalalignment", "center", ...
-    "Callback", "mathml_callback();");
+    "Fontsize", 16);
 
 uicontrol(f, ...
     "style", "pushbutton", ...