18 Oct
2014
18 Oct
'14
7:41 p.m.
Am 18.10.2014 um 09:13 schrieb Fabrice Couvreur
: 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