ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Willi Egger" <w.egger@boede.nl>
Subject: Re: Re: Right-aligning blocks of text
Date: Thu, 5 Jun 2003 12:40:36 +0200	[thread overview]
Message-ID: <005201c32b4f$030c89f0$0100a8c0@vademecum> (raw)
In-Reply-To: <u1xy942t7.fsf@multiline.com.au>

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

Guy wrote:
 
> 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

\startnarrower[left]  % [2*left]
    some text
    more text
    even more text
\stopnarrower

Willi

      reply	other threads:[~2003-06-05 10:40 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
2003-06-05 10:40   ` Willi Egger [this message]

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='005201c32b4f$030c89f0$0100a8c0@vademecum' \
    --to=w.egger@boede.nl \
    --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).