Difference between revisions of "Command/simplealignedbox"

From Wiki
Jump to navigation Jump to search
m (cleanup)
m (more cleanup)
Line 48: Line 48:
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==
 
All issues with:
 
All issues with:
{{Forum|{{\simplealignedbox}}}}
+
{{Forum|simplealignedbox}}
  
[[Category:Commands|{{\simplealignedbox}}]]
+
[[Category:Commands|simplealignedbox]]

Revision as of 09:06, 8 March 2013

\simplealignedbox

Syntax

\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: