Difference between revisions of "Command/simplealignedbox"
< Command
Jump to navigation
Jump to search
m (cleanup) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
}} | }} | ||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>simplealignedbox</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
+ | <syntax>simplealignedbox</syntax> | ||
+ | |||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
<tr> | <tr> | ||
Line 41: | Line 45: | ||
== See also == | == See also == | ||
+ | * {{cmd|hbox}} | ||
+ | * {{cmd|framed}} | ||
+ | * {{cmd|setupframed}} | ||
<!-- something like this: | <!-- something like this: | ||
* {{cmd|setuphead}} | * {{cmd|setuphead}} | ||
Line 48: | Line 55: | ||
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == | ||
All issues with: | All issues with: | ||
− | {{Forum| | + | {{Forum|simplealignedbox}} |
− | [[Category: | + | [[Category:Command/Frames|simplealignedbox]] |
Latest revision as of 13:17, 13 October 2019
\simplealignedbox
Syntax (autogenerated)
\simplealignedbox{...}{...}{...} | |
{...} | dimension |
{...} | left right middle flushleft flushright inner outer |
{...} | content |
Syntax
\simplealignedbox{...}{...}{...} | |
{...} | dimension |
{...} | left right middle flushleft flushright inner outer |
{...} | content |
\simplealignedbox{...}{...}{...} | |
{...} | width |
{...} | alignment: left | right | flushleft | flushright | middle |
{...} | content |
Description
The command is a simple wrapper around \hbox with a fixed width and the possibility to align the content either to the left, right or centred within the box.
Example
\ruledhbox{\simplealignedbox{3cm}{flushleft}{TEXT}} \ruledhbox{\simplealignedbox{3cm}{flushright}{TEXT}} \ruledhbox{\simplealignedbox{3cm}{middle}{TEXT}} \ruledhbox{\simplealignedbox{3cm}{left}{TEXT}} \ruledhbox{\simplealignedbox{3cm}{right}{TEXT}}
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: