Fabrice Couvreur
25. Oktober 2016 um 16:14
Hello,
I can not make three columns and one row. But three rows and one column, it is possible.

You’re getting three columns but each framedtext has the width of the textblock and two
of your three frames are shown outside of the visible space, using framed instead of
framedtext helps.

\defineframed
  [algorithmframe]
  [width=fit,
   align=normal,
   strut=no,
   offset=1ex,
   foregroundstyle={\switchtobodyfont[8pt]},
   background=color,
   location=middle,
   backgroundcolor=lightgray,
   framecolor=darkred,
   corner=round]

\definelines
  [algorithm]
  [space=on,
   before={\startframed[algorithmframe]},
   after=\stopframed]

Wolfgang