> Am 18.10.2014 um 09:13 schrieb Fabrice Couvreur <fabrice1.couvr...@gmail.com>:
>
> Hi Wolfgang,
> How to reduce the size of the float ?
> Best regards,
> Fabrice
>
> \usemodule[algorithmic]
> \definefloat[algorithm][algorithms]
>
>
> \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00]
> \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00]
>
> \setupfloat
> [algorithm]
> [background=color,
> frame=on,
> framecolor=H1prime,
> backgroundcolor=H4,
> width=0.5\textwidth]
You have to put a framedtext environment around the algorithmic environment,
you can do this by replacing \setupfloat with \setupalgorithmic.
\setupalgorithmic
[algorithmic]
[before={\startframedtext[width=0.6\textwidth,background=color,backgroundcolor=H4,framecolor=H1prime]},
after={\stopframedtext}]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@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
___________________________________________________________________________________