[Scilab-users] New constant %chars to get sets of symbols

Samuel Gougeon sgougeon at free.fr
Thu Dec 31 16:36:45 CET 2020


Le 31/12/2020 à 16:11, Antoine Monmayrant a écrit :
> On 31/12/2020 15:43, Samuel Gougeon wrote:
>> .../...
>> We enter and display
>> --> %chars   // (OK not here. See the proposed documentation for the 
>> full display)
>>
>> or for a chosen class
>>
>> --> %chars.greek
>>  ans  =
>>   lower = "αβδεϵζηθικλμνξοπρστυφϕχψωάϐέήϑίϊϰόϱςύϋΰϖώ"
>>   upper = "ΑΒΓΔΕΖΗΘϴΙΪΚΛΜΝΞΟΠΡΣΤΥΫΦΧΨΩ KΩ℧"
>
> OK, I see better what you propose.
> But you are trading remembering a code (ie \lambda for λ) for 
> remembering which class the symbol you are looking for belongs to...

%chars displays all of them, on less than a screen (50 characters per 
line x 20 lines make 1000 characters ;-). It is illustrated in the 
provided help page.
And it is hierarchical. So remembering 2 to 10 trivial fields names is 
enough (instead of 1000 codes), if you wish to display subsets.


> Again, for some of them, it might be obvious (ie \lambda is easy, so 
> is %chars.greek for a Greek symbol) but for some others it's far from 
> obvious.
> Like where would you put your \Diamond or \vdash?

I may not understand the question. Please see the documentation. Both 
are already included in my current %chars illustrated in the doc.


> I've used my share of LaTeX IDEs and all the symbols assistants failed 
> me in the same way: they give you easy and obvious access to symbols 
> you already know by heart (ie \alpha is in Greek, top first element) 
> but are a useless mess when looking for more obscure symbols (why is 
> \bigstar in Misc-Math, between \blacklozenge and \spadsuit ?)

+1. That's the point. This is why most often i display the whole %chars. 
Just %chars. Without any codes.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20201231/62847379/attachment.htm>


More information about the users mailing list