<div dir="ltr"><span style="font-family:verdana,sans-serif"><span id="result_box" class="" lang="en"><span class="">Hi</span><span>,</span> <br><span class="">Is it possible</span> <span class="">to put</span> <span class="">side by side</span> <span class="">text and</span> <span class="">a figure created</span> <span class="">in a</span> <span class="">TikZ</span> <span class="">environment ?</span> <br>
<span class="">Thank you</span><span>,</span> <br><span class="">Fabrice<br><br>\usemodule[tikz]<br>\usetikzlibrary[calc]<br>\starttext<br>\def\smiley{%<br>\starttikzpicture[baseline=-0.75ex,black]<br>\filldraw[fill=orange] circle (2mm);<br>
\node[fill,circle,inner sep=0.5pt] (left eye) at (135:0.8mm) {};<br>\node[fill,circle,inner sep=0.5pt] (right eye) at (45:0.8mm) {};<br>\draw (-145:0.9mm) arc (-120:-60:1.5mm);<br>\stoptikzpicture}<br>\placefigure[right,none]{}{<br>
\starttikzpicture<br>\coordinate (c1) at (0,0);<br>\draw[thick,fill=darkgreen] ($(c1) + (0:30mm)$) arc (0:360:30mm)<br>($(c1) + (360:35mm)$) arc (360:0:35mm);<br>\draw[thick,fill=gray] ($(c1) + (0:3mm)$) arc (0:360:3mm);<br>
\foreach \x in {0,36,...,180}<br>\draw[fill=red, draw=black](c1)--(\x:30mm) arc (\x:\x+36:30mm)--(c1);<br>\foreach \x in {216,252,...,324}<br>\draw[fill=blue, draw=black](c1)--(\x:30mm) arc (\x:\x+36:30mm)--(c1);<br>\foreach \x in {3,12,...,360}<br>
\draw[fill=lightgray] (\x:28mm) circle (2pt);<br>\draw[thick,fill=white!30] ($(c1) + (0:3mm)$) arc (0:360:3mm)<br>($(c1) + (360:4mm)$) arc (360:0:4mm);<br>\draw[thick,fill=darkgray] ($(c1) + (0:3mm)$) arc (0:360:3mm);<br>
\foreach \x in {18,54,...,198}<br>\node [white,rotate=\x] at (\x:17.5mm){\small \bf PERDU};<br>\foreach \x in {234,270,306,342}<br>\node [] at (\x:17.5mm) {\smiley};<br>\draw[darkgray,-latex,line width=4pt, line cap=round] (90:37mm) -- (90:26mm);<br>
\stoptikzpicture}<br>\input knuth<br>\stoptext<br><br><br></span></span></span></div>