ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \simplealignedbox (was: itemize)
Date: Thu, 7 Mar 2013 15:06:20 +0100	[thread overview]
Message-ID: <BF812541-539E-496D-B9DB-E1E4F1658489@gmail.com> (raw)
In-Reply-To: <op.wtkv9oldwshuv7@lpr>


Am 07.03.2013 um 14:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>:

> Hello,
> 
> kind request - \simplealignedbox is not known to me - could anyone familar add some info to wiki?

With the \simplealignedbox command you can align a given text in a box with a given width,
the width of the box is set with the first argument, the alignment with the second and the content
with the third argument of the command.

Example with all possible alignments:

\starttext
\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}}
\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-03-07 14:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04 12:52 itemize Meer, H. van der
2013-03-04 13:19 ` itemize Marco Patzer
2013-03-04 13:34   ` itemize Meer, H. van der
2013-03-04 14:06     ` itemize Marco Patzer
2013-03-07 13:40   ` \simplealignedbox (was: itemize) Procházka Lukáš Ing. - Pontex s. r. o.
2013-03-07 14:06     ` Wolfgang Schuster [this message]
2013-03-07 14:09     ` Marco Patzer
2013-03-07 14:11       ` [***Spam/VIR***] " Procházka Lukáš Ing. - Pontex s. r. o.
2013-03-08  8:05         ` \simplealignedbox Thomas A. Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BF812541-539E-496D-B9DB-E1E4F1658489@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).