Re: trees

Julien Frontisi <[email protected]>
Newsgroups gmane.editors.texmacs.user
Message-ID <[email protected]>
By nested trees, I just meant trees inside trees. That is already implemented in trees.

To make them horizontal, maybe a macro like <\rotate | 90 | <\tree | <\rotate | -90 | <arg>> | … |  <\rotate | -90 | <arg>> >
If you do it manually it works (clumsily) but it is not easy to access the elements of the tree after building it.

Julien

> Le 6 oct. 2023 à 10:42, vincent douce <[email protected]> a écrit :
> 
> yes, \tree corresponds to [mathmode]insert->tree and works very fine for « vertical » trees
> 
> but 99% of probabitliy papers (at least in high schools) and 99% of screenshot on google image with keywords « probabillity trees »  have horizontal trees, not vertical one
> 
> i have no idea if it would be difficult for the developer team to implement it ; or maybe it is in project
> 
> also, Julien, you say « nested trees » 
> do you mind nested trees exist in TeXmacs or do you suggest they would be welcome ?
> 
> Vincent
> 
>> Le 6 oct. 2023 à 09:01, Julien Frontisi <[email protected] <mailto:[email protected]>> a écrit :
>> 
>> In mode math, \tree works fine. Nested trees if you need more than a root and one generation of children.
>> One would need some kind of matrix transposition to make it horizontal.
>> Julien
>> 
>>> Le 6 oct. 2023 à 04:41, Giovanni Piredda <[email protected] <mailto:[email protected]>> a écrit :
>>> 
>>> How do you construct the vertical tree in TeXmacs? With the current TeXmacs, I would construct either tree with a drawing.
>>> 
>>> On 06/10/23 01:18, vincent douce wrote:
>>>> hello Giovanni
>>>> from TeXmacs (vertical) : <GraphiqueCollé-1.png>
>>>> 
>>>> preferred (horizontal) : <GraphiqueCollé-2.png>
>>>> 
>>>> when you type "tree probability » on internet you only get horizontal trees…
>>>> 
>>>> Vincent
>>>> 
>>>> 
>>>>> Le 5 oct. 2023 à 19:13, Giovanni Piredda <[email protected] <mailto:[email protected]>> a écrit :
>>>>> 
>>>>> 
>>>> 
>> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.