From Wiki
< Command
Revision as of 12:32, 5 July 2012 by Hraban (talk | contribs) (add comment about linebreaks depending on alignment (mail by Aditya))
Jump to navigation Jump to search



height fit broad dimension
width fit broad fixed local dimension
autowidth yes no force
offset none overlay default dimension
location depth hanging high lohi low top middle bottom
option (unset) none empty
strut yes no global local
align no flushleft flushright middle normal high low lohi
bottom command
top command
frame on off none overlay
topframe (unset) on off
bottomframe (unset) on off
leftframe (unset) on off
rightframe (unset) on off
frameoffset dimension
framedepth dimension
framecorner round rectangular
frameradius dimension
framecolor name
background screen color none foreground name
backgroundscreen number
backgroundcolor name
backgroundoffset frame dimension
backgrounddepth dimension
backgroundcorner round rectangular
backgroundradius dimension
depth dimension
corner round rectangular
radius dimension
empty yes no
foregroundcolor name
foregroundstyle name
rulethickness dimension


Key Possible values
  • broad: sets width to approximately \textwidth.
  • local: inherit the width from parent box.
  • fixed: ??;
  • fit: according to content.
  • none: set to 0pt. If the frame is inside another frame then the frame lines are doubled.
  • overlay: set to 0pt. If the frame is inside another one then the frame lines will overlap.
  • default: set to .25ex.
  • dimension
  • low (resembles \inframed): lowers the framed box by about
  • depth: lower framed box about \strutdp.
  • hanging: lower framed box by approx. its own height (baseline is on the top).
  • yes: do not display contents of the box.
  • no: display the contents
rulethickness sets the thickness of the frame border.


Beware: Without align={normal|middle|left|right}, \framed is equal to \hbox. You cannot have line breaks in a \hbox. With align=something, \framed is a \vbox, so you can have line breaks, e.g. using \\.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: