Skip to Content.
Sympa Menu

texmacs-users - Re: trees

Subject: mailing-list for TeXmacs Users

List archive

Re: trees


Chronological Thread 
  • From: Julien Frontisi <address@hidden>
  • To: vincent douce <address@hidden>
  • Cc: texmacs-users <address@hidden>
  • Subject: Re: trees
  • Date: Fri, 6 Oct 2023 12:21:16 +0200

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 <address@hidden> 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 <address@hidden> 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 <address@hidden> 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 <address@hidden> a écrit :








Archive powered by MHonArc 2.6.24.

Top of Page