<div dir="ltr"><div><div><span style="font-family:verdana,sans-serif"><span id="result_box" class="" lang="en"><br> <span class="">Hi,</span><br> <span class="">Is it possible</span> <span class="">to center horizontally</span> <span class="">and vertically</span> <span class="">the table</span> <span class="">with the graphics</span><span> ?<br></span></span></span></div><span style="font-family:verdana,sans-serif"><span id="result_box" class="" lang="en"><span>Best regards,<br></span></span></span></div><span id="result_box" class="" lang="en"><span><span style="font-family:verdana,sans-serif">Fabrice</span><br><br><span style="font-family:verdana,sans-serif">\defineparagraphs[TwoColumns][n=2]<br>\setupparagraphs[TwoColumns][1][width=0.45\textwidth]<br><br>\startsetups[table:initialize]<br>  \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex,style=small]<br>  \setupTABLE[row][first][background=color,backgroundcolor=lightgray]<br>\stopsetups<br><br>\usemodule[graph]<br>\definecolor[mycolor][c=.4,m=0,y=0,k=0]<br>\starttext<br>\startTwoColumns<br>\start<br>\switchtobodyfont[small]<br>\startMPpage[instance=graph]<br>    drawoptions(withpen pencircle scaled 1pt);<br>    w := 10cm; h := 8cm;<br>    ahlength := .25cm;<br>    draw begingraph (w,h)<br>        numeric xmin, xmax, ymin, ymax;<br>        xmin := 0; xmax :=100; ymax :=8000 ;ymin:=0;<br>        setrange((xmin,ymin),(xmax,ymax));<br>        for x=xmin step 10 until xmax:<br>            grid.bot(format("@g",x),x) withcolor \MPcolor{mycolor}<br>                withpen pencircle scaled .3pt;<br>        endfor<br>        for y=ymin step 1000 until ymax:<br>            grid.lft(format("@g",y),y) withcolor \MPcolor{mycolor}<br>                withpen pencircle scaled .3pt;<br>        endfor<br>        glabel.bot(textext("Nombre de chaises"),OUT);<br>        glabel.lft(textext("Euros") rotated 90,OUT);<br>        glabel.bot("${\cal C}$",(5,3000));<br>        glabel.top("${\cal R}$",(15,500));<br>        save a; numeric a[];<br>        a0 := 2000 ; a1 := 50 ; a2 := -0.2 ; <br>        gdraw makefunctionpath(xmin,90,1000,polynomial_function(a,2,x));<br>        b0 := 0 ; b1 := 80 ;<br>        gdraw makefunctionpath(xmin,90,1000,polynomial_function(b,1,x));<br>    endgraph ;<br>\stopMPpage<br>\stop<br>\TwoColumns<br>\framed[frame=off,width=local,align={lohi,middle},location=middle]{%<br>\bTABLE[setups=table:initialize]<br>\bTR<br>    \bTD Jours \eTD<br>    \bTD Entrées \eTD<br>\eTR<br>\bTR<br>    \bTD 1 \eTD<br>    \bTD \unknown \eTD<br>\eTR<br>\bTR<br>    \bTD 2 \eTD<br>    \bTD \unknown \eTD<br>\eTR<br>\bTR<br>    \bTD 3 \eTD<br>    \bTD \unknown \eTD<br>\eTR<br>\bTR<br>    \bTD 4 \eTD<br>    \bTD \unknown \eTD<br>\eTR<br>\bTR<br>    \bTD 5 \eTD<br>    \bTD 870 \eTD<br>\eTR<br>\bTR<br>    \bTD 6 \eTD<br>    \bTD 910 \eTD<br>\eTR<br>\bTR<br>    \bTD 7 \eTD<br>    \bTD 1\,000 \eTD<br>\eTR<br>\eTABLE<br>}<br>\stopTwoColumns<br>\stoptext</span><br></span></span></div>