Difference between revisions of "Command/simplealignedbox"
< Command
Jump to navigation
Jump to search
(Created page with "{{Reference |name={{\simplealignedbox}} |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd...") |
m (cleanup) |
||
Line 1: | Line 1: | ||
{{Reference | {{Reference | ||
− | |name= | + | |name=simplealignedbox |
|attributes= | |attributes= | ||
}} | }} | ||
Line 7: | Line 7: | ||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
<tr> | <tr> | ||
− | <td colspan="2" class="cmd"> | + | <td colspan="2" class="cmd">\simplealignedbox<!-- |
--><span class="first">{...}</span><!-- | --><span class="first">{...}</span><!-- | ||
--><span class="second">{...}</span><!-- | --><span class="second">{...}</span><!-- |
Revision as of 08:52, 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:
- Template:\simplealignedbox+sort:newest Template:\simplealignedbox on the mailing list (all results)
- Template:\simplealignedbox+sort:newest Template:\simplealignedbox on the mailing list (subject only)
- Template:\simplealignedbox Template:\simplealignedbox on stack exchange
- Template:\simplealignedbox Template:\simplealignedbox in ConTeXt's source
[[Category:Commands|Template:\simplealignedbox]]