ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: t-letter: problem with align
Date: Fri, 8 Jul 2011 06:23:09 +0200	[thread overview]
Message-ID: <0A056762-FFA8-42FE-8D71-CCE16FD6C174@googlemail.com> (raw)
In-Reply-To: <87vcvdn5tr.fsf@micropit.couberia.bzh>


Am 07.07.2011 um 23:23 schrieb Peter Münster:

> On Thu, Jul 07 2011, Wolfgang Schuster wrote:
> 
>> The head use predefined layouts and you can select between
>> a left aligned, a centered or a right aligned layout.
>> 
>> \setupletterstyle[head][alternative=right]
> 
> On page 99 of lettercorrespondence.pdf you write:
> 
> "The default alternative a prints the firstname and surname of the
> author in the first line and the address in the following lines, the
> text is left aligned but this can be changed with the align key."
> 
> What does that mean?
> 
> I thought, that "alternative" was more about the location and with
> "alternative=left, align=middle", one could get a header on the left
> side, and midaligned.

The “alternatives” are different predefined or user created layouts
for the elements (like head, reference etc.) and some of the layouts
restrict the options.

With the alternative “a” i print only the values from the variables
“fromname” and “fromaddress” while “left”, “middle” and “right” are
complexer. Another feature from the last three alternatives is that
the alignment is fixed and you can’t change it, when you want
a different layout then create your own header.

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:[~2011-07-08  4:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 15:42 Peter Münster
2011-07-07 16:09 ` Wolfgang Schuster
2011-07-07 21:23   ` Peter Münster
2011-07-08  4:23     ` Wolfgang Schuster [this message]
2011-07-08  5:15       ` Peter Münster
2011-07-08  5:34         ` Wolfgang Schuster

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=0A056762-FFA8-42FE-8D71-CCE16FD6C174@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).