[Scilab-users] LaTeX mixed with normal string in xtitle

Antoine Monmayrant antoine.monmayrant at laas.fr
Thu Feb 21 16:08:02 CET 2013


On 21/02/2013 15:33, Calixte Denizet wrote:
> 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

Hi Calixte,

Is there a way to get LaTeX rendering for non mathmode (ie for plain 
text) without resorting to the use of "$\text{ ... plain text ... }$" ?

Cheers,

Antoine
>
> 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
>>
>
>





More information about the users mailing list