ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Guy Worthington <guyw@multiline.com.au>
Subject: Re: Right-aligning blocks of text
Date: 05 Jun 2003 11:32:20 +0800	[thread overview]
Message-ID: <u1xy942t7.fsf@multiline.com.au> (raw)
In-Reply-To: <20030604151007.60878.qmail@web41503.mail.yahoo.com>

Andrew Lawson wrote 

>     I want to right-align a block of text, e.g. have
> the text left-aligned but the block right aligned. An
> ascii example would be
>
> |                                      |
> |                     Some text        |
> |                     More text        |
> |                     Even more text   |

I can't take credit for the following clever snippet of code:

\startalignment[left]
   \noindent\framed
     [width=fit,align=right,frame=off]
     {Some text\\More text\\Even more text}
\stopalignment

  parent reply	other threads:[~2003-06-05  3:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-04 15:10 Andrew Lawson
2003-06-04 16:03 ` Bill McClain
2003-06-05  3:32 ` Guy Worthington [this message]
2003-06-05 10:40   ` Willi Egger

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=u1xy942t7.fsf@multiline.com.au \
    --to=guyw@multiline.com.au \
    --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).