mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Drawing a line between 2 trees


Chronological Thread 
  • From: Nicola Mingotti <address@hidden>
  • To: Martial Tarizzo <address@hidden>
  • Cc: TeXmacs <address@hidden>
  • Subject: Re: [TeXmacs] Drawing a line between 2 trees
  • Date: Sun, 8 Mar 2015 19:46:28 +0100

Thank you for the example, it helped !

bye
Nicola

On Sun, Mar 8, 2015 at 6:15 PM, Martial Tarizzo <address@hidden> wrote:
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>
>
> =====================================================
>
>
>





Archive powered by MHonArc 2.6.19.

Top of page