[Scilab-users] LaTeX mixed with normal string in xtitle
Calixte Denizet
calixte.denizet at scilab-enterprises.com
Thu Feb 21 15:33:15 CET 2013
Hi Christophe,
If you want to use the default Java font:
xtitle("$\times \jlmText{" +string(scale)+"}$")
The font to use with the special command jlmText (it is not a standard
LaTeX command) can be set with the command \jlmExternalFont, for example:
xtitle("$\jlmExternalFont{Liberation Mono}\times \jlmText{"
+string(scale)+"}$").
You can get the current loaded fonts in Scilab with the command xlfont()
(see help)
Best regards
Calixte
On 21/02/2013 14:51, Dang, Christophe wrote:
> De la part de Adrien Vogt-Schilb
> Envoyé : jeudi 21 février 2013 14:46
>
>> why not using:
>>
>> xtitle('foobar', '$x \times '+string(scale)+'$');
> OK, that's fine.
>
> It was just not intuitive to me
> (I guess it's a matter of parser).
>
> I think such example could be documented, e.g. in
> http://help.scilab.org/docs/5.4.0/en_US/math_rendering_features_in_graphic.html
>
> Anyway, thanks for the help.
>
> Best regards
>
--
Calixte Denizet
Software Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
http://www.scilab-enterprises.com
More information about the users
mailing list