[NTG-context] (no subject)

Fabrice Couvreur fabrice1.couvreur at gmail.com
Fri Jul 15 16:19:23 CEST 2016


Hi Wolfgang,
Thank you. Now I want the figures or boxes with text are automatically
placed in the right margin. Is this the best way ?
How have justified text in the boxes ?
Fabrice

########################################################
\useMPlibrary [dum]

\setuplayout
  [width=13cm,
   rightmargin=5cm]

\setupbodyfont[pagella,11pt]

\definefloat
   [recipe]
   [figure]

\setupfloat
   [recipe]
   [default={rightmargin,none}]

\setupframed
  [frame=on,
   width=\rightmarginwidth,
   align=flushleft,
   location=low,
   rulethickness=1pt,
   framecolor=blue,
   corner=00]

\starttext

\showframe

\placerecipe{}{\externalfigure [dummy] [width=\rightmarginwidth]}

\placerecipe{}{\framed{La vie n'est pas un long fleuve tranquille !}}

\stoptext
#######################################################


2016-07-15 13:26 GMT+02:00 Wolfgang Schuster <schuster.wolfgang at gmail.com>:

> Fabrice Couvreur <fabrice1.couvreur at gmail.com>
> 15. Juli 2016 um 13:17
> Hello everyone,
> The document
> https://drive.google.com/file/d/0B-mkD83s36jbREZmbGdPaGVHUDg/view?usp=sharing shows
> what I would do at the place reserved for the text and that reserved for
> comments, ratings ...
> Must use two columns or predefine the dimensions of the paper ?
>
> Change the layout of the page, the blue boxes are margin texts.
>
> \setuplayout
>   [width=13cm,
>    rightmargin=5cm]
>
> \showframe
>
> \starttext
> \page[dummy]
> \stoptext
>
> Wolfgang
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160715/ff0e6533/attachment.html>


More information about the ntg-context mailing list