<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="">Hello,</span><br><span title="" class="gmail-">I am looking but without success !</span><br><span title="">I tried \ starthanging [location = right] {tree} \ stophanging but that does not work either.</span></span></div><div class="gmail_default" style="font-family:verdana,sans-serif"><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="">Fabrice<br></span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 16 nov. 2019 à 12:44, Fabrice Couvreur <<a href="mailto:fabrice1.couvreur@gmail.com">fabrice1.couvreur@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><span lang="en"><span title="">Hello,</span><br><span title="">I want to use a text frame to put text and a probability tree side by side, but it does not work.</span><br><span title="">Thanks for your help.</span><br><span title="">Fabrice</span></span></div><div class="gmail_default" style="font-family:verdana,sans-serif"><span lang="en"><span title=""><br></span></span></div><div class="gmail_default" style="font-family:verdana,sans-serif"><span lang="en"><span title="">\usemodule[tikz]<br>\usetikzlibrary[trees]<br><br>\definefloat<br>    [recipe]<br>    [figure]<br><br>  \setupfloat<br>    [recipe]<br>    [default={right,nonumber}]<br>\starttext<br>\startframedtext[width=\textwidth]<br>  \placerecipe{}{<br>    \hbox{<br>      \starttikzpicture<br>            [level 1/.style={level distance=20mm,sibling distance=15mm},<br>             level 2/.style={level distance=20mm,sibling distance=10mm}]<br>            \node{}[grow=right]<br>              child {node{\tfxx Réglisse}<br>                child{node{\tfxx Réglisse}edge from parent node[below=2pt]{\dots}}<br>                child{node{\tfxx Fraise}edge from parent node[above=2pt]{\dots}<br>                } edge from parent node[below=2pt]{\dots}}<br>              child {node{\tfxx Fraise} <br>                child{node{\tfxx Réglisse}edge from parent node[below=2pt]{\dots}}<br>                child{node{\tfxx Fraise}edge from parent node[above=2pt]{\dots}} edge from parent node[above=2pt]{\dots}};<br>          \stoptikzpicture<br>    }<br>  }<br>  \dorecurse{2}{\input knuth}<br>\stopframedtext</span></span></div><div class="gmail_default" style="font-family:verdana,sans-serif"><span lang="en"><span title="">\blank<br></span></span></div><div class="gmail_default" style="font-family:verdana,sans-serif"><span lang="en"><span title="">  \placerecipe{}{<br>    \hbox{<br>      \starttikzpicture<br>            [level 1/.style={level distance=20mm,sibling distance=15mm},<br>             level 2/.style={level distance=20mm,sibling distance=10mm}]<br>            \node{}[grow=right]<br>              child {node{\tfxx Réglisse}<br>                child{node{\tfxx Réglisse}edge from parent node[below=2pt]{\dots}}<br>                child{node{\tfxx Fraise}edge from parent node[above=2pt]{\dots}<br>                } edge from parent node[below=2pt]{\dots}}<br>              child {node{\tfxx Fraise} <br>                child{node{\tfxx Réglisse}edge from parent node[below=2pt]{\dots}}<br>                child{node{\tfxx Fraise}edge from parent node[above=2pt]{\dots}} edge from parent node[above=2pt]{\dots}};<br>          \stoptikzpicture<br>    }<br>  }<br>  \dorecurse{2}{\input knuth}<br>\stoptext</span></span></div></div>
</blockquote></div>