|
Option
|
Explanation
|
| corner |
| This option determines whether or not the corners of the frame and background are rounded. It also allows drawing only selected corners. See the example below. |
| rectangular |
square corners |
| round |
rounded corners |
|
| framecorner |
| This option applies only to the frame corners. |
|
| backgroundcorner |
| This option applies only to the background corners. |
|
| radius |
| background and frame corner radius, if corner=round |
|
| frameradius |
| frame radius, if framecorner=round |
|
| backgroundradius |
| background radius, if backgroundcorner=round |
|
| framecolor |
|
| topframe |
| on |
show upper border |
| off |
don’t show |
|
| bottomframe |
| on |
show lower border |
| off |
don’t show |
|
| leftframe |
| on |
show left border |
| off |
don’t show |
|
| rightframe |
| on |
show right border |
| off |
don’t show |
|
| rulethickness |
| sets the thickness of the frame border (line width). |
|
| frameoffset |
| Gives frame an extra offset without affecting surrounding text. |
|
| frame |
This option determines whether a frame is drawn or not.
Option "dash" for dashed lines is new since LMTX 2024-02-22, set dashstep to a dimension to change the pattern. |
| on |
show border |
| off |
don’t show |
|
| background |
| color |
a color, to be set with backgroundcolor |
| name |
a named background, use \defineoverlay |
|
| backgroundoffset |
| Gives background an extra offset without affecting surrounding text. |
|
| backgroundcolor |
| A color, only used if background=color |
|
| offset |
| This is the offset around the framed content. The frame itself is controlled by frameoffset |
| default |
set to 0.25ex. |
| overlay |
set to 0pt. If the frame is inside another one then the frame lines will overlap. |
| none |
set to 0pt. If the frame is inside another frame then the frame lines are doubled. |
|
| width |
| Specifies the width of the element. |
| local |
inherit the width from parent box |
| fit |
according to content |
| broad |
sets width to approximately \textwidth |
| fixed |
like fit, but with an implied autowidth=no |
|
| height |
| Specifies the height of the frame. |
|
| align |
| If the align parameter is unspecified, \framed produces a \hbox, inside which linebreaks (if any) will appear as spaces; when align is specified, \framed will produce a \vbox that allows for multi line text. |
|
| strut |
| ensure that the height is at least a full line height including height and depth |
|
| location |
| depth |
lower framed box about \strutdp. |
| low |
(resembles \inframed): lowers the framed box by about \strutdp+offset+framelinewidth. |
| hanging |
lower framed box by approx. its own height (baseline is on the top). |
|
| empty |
| yes |
do not display contents of the box. |
|
| loffset |
| override the left value of offset
|
|
| roffset |
| override the right value of offset
|
|
| toffset |
| override the top value of offset
|
|
| boffset |
| override the bottom value of offset
|
|
| orientation |
|