Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Drawing a line between 2 trees

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Drawing a line between 2 trees


Chronological Thread 
  • From: Martial Tarizzo <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Drawing a line between 2 trees
  • Date: Sun, 08 Mar 2015 18:15:47 +0100

A solution :
- put two text boxes in a drawable image.
- put a tree in each textbox. Move text boxes as needed
- draw the line between the trees

see attached file

Martial Tarizzo

Le dimanche 08 mars 2015 à 04:07 +0100, Nicola Mingotti a écrit :
> Hi !
>
> I've just finished drawing a couple of trees with "tree", I woud like to
> draw
> a line to join them.
>
> I saw there is a tool "draw image" but i can't choose
> "draw over selection" if i keep selected both of the trees.
>
> Is there maybe a way to join the 2 trees in a single widget that
> is drawable ?
>
> I put below the code for the trees.
>
> bye
> Nicola
>
> ========================================================
> <TeXmacs|1.99.2>
>
> <style|generic>
>
> <\body>
> \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
> <tree|SIMULATIONS|<tree|GR:0/6|
> <tree|wn(<math|\<sigma\>>)|<tree|<math|\<sigma\>:0.5>|21|22|23>|<tree|<math|
> \<sigma\>:1>|24|28>|<tree|<math|\<sigma\>:2>|26|27|29>|<tree|<math|\<sigma\>:
> 3>
> | \ 25 \ \
> >>>|<tree||<tree||<tree||<tree||>>>>|<tree|GR:5/6|<tree|wn(<math|
> \<sigma\>>)|<tree|<math|\<sigma\>:0.5>|
> \ 31 \
> |32|33>|<tree|<math|\<sigma\>:1>|34>|<tree|<math|\<sigma\>:2>|36|37>|
> <tree|<math|\<sigma\>:3>|35>>>|<tree|GR:6/6|<tree|wn(<math|\<sigma\>>)|<tree|
> <math|\<sigma\>:2>|46>>>>
>
> \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
> <tree|GR:2/6|<tree|wn(<math|\<sigma\>>)|
> <tree|<math|\<sigma\>>:0.5|1|2|3|<tree|<strong|<math|>><math|\<beta\>2>|11|12|
> 13>>|<tree|<math|\<sigma\>>:1|4|8|<tree|<math|\<beta\>2>|14|18>>|<tree|<math|
> \<sigma\>>:2|6|7|9|<tree|<math|\<beta\><rsub|>2>|16|17|19>>|<tree|<math|
> \<sigma\>>:3|5|10|<tree|<math|\<beta\>2>|15|20>>>|<tree|wn(<math|t<rsub|6>>)|
> 51|52|52>|<tree|wn(<math|t<rsub|4>>)|56>>
>
> \;
> </body>
>
> <\initial>
> <\collection>
> <associate|page-type|letter>
> <associate|preamble|false>
> </collection>
> </initial>
>
> =====================================================
>
>
>

<TeXmacs|1.99.2>

<style|generic>

<\body>
  <center|<with|gr-mode|<tuple|edit|spline>|gr-frame|<tuple|scale|1cm|<tuple|0.5gw|0.5gh>>|gr-geometry|<tuple|geometry|0.884923par|0.569717par|center>|gr-arrow-end|\<gtr\>|<graphics||<line|<point|-0.294433787538034|0.0284925254663315>|<point|-0.230338007672973|4.01741301759492>>|<text-at|<tree|GR:2/6|<tree|wn(<math|\<sigma\>>)|
  <tree|<math|\<sigma\>>:0.5|1|2|3|<tree|<strong|<math|>><math|\<beta\>2>|11|12|
  13>>|<tree|<math|\<sigma\>>:1|4|8|<tree|<math|\<beta\>2>|14|18>>|<tree|<math|
  \<sigma\>>:2|6|7|9|<tree|<math|\<beta\><rsub|>2>|16|17|19>>|<tree|<math|
  \<sigma\>>:3|5|10|<tree|<math|\<beta\>2>|15|20>>>|<tree|wn(<math|t<rsub|6>>)|
  51|52|52>|<tree|wn(<math|t<rsub|4>>)|56>>|<point|-6.81083807381929|-0.505638973409181>>|<text-at|<tree|SIMULATIONS|<tree|GR:0/6|
  <tree|wn(<math|\<sigma\>>)|<tree|<math|\<sigma\>:0.5>|21|22|23>|<tree|<math|
  \<sigma\>:1>|24|28>|<tree|<math|\<sigma\>:2>|26|27|29>|<tree|<math|\<sigma\>:
  3> | \ 25 \ \ >>>|<tree|GR:5/6|<tree|wn(<math|
  \<sigma\>>)|<tree|<math|\<sigma\>:0.5>| \ 31
  \ |32|33>|<tree|<math|\<sigma\>:1>|34>|<tree|<math|\<sigma\>:2>|36|37>|
  <tree|<math|\<sigma\>:3>|35>>>|<tree|GR:6/6|<tree|wn(<math|\<sigma\>>)|<tree|
  <math|\<sigma\>:2>|46>>>>|<point|-6.04168871543855|4.15198769678529>>>>>

  \;
</body>

<\initial>
  <\collection>
    <associate|page-type|letter>
    <associate|preamble|false>
  </collection>
</initial>



Archive powered by MHonArc 2.6.19.

Top of Page