ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* t-letter: problem with align
@ 2011-07-07 15:42 Peter Münster
  2011-07-07 16:09 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2011-07-07 15:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

The align key seems to be ignored here:

\usemodule[letter]
\setupletterstyle[head][align=flushright]
\setupletterstyle[letterhead][align=flushright]
\setupletter[fromname=bla, fromaddress=bla bla]
\starttext
\startletter
bla
\stopletter
\stoptext

TIA for any help!

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: t-letter: problem with align
  2011-07-07 15:42 t-letter: problem with align Peter Münster
@ 2011-07-07 16:09 ` Wolfgang Schuster
  2011-07-07 21:23   ` Peter Münster
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-07-07 16:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.07.2011 um 17:42 schrieb Peter Münster:

> Hello,
> 
> The align key seems to be ignored here:
> 
> \usemodule[letter]
> \setupletterstyle[head][align=flushright]
> \setupletterstyle[letterhead][align=flushright]

The head use predefined layouts and you can select between
a left aligned, a centered or a right aligned layout.

\setupletterstyle[head][alternative=right]

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: t-letter: problem with align
  2011-07-07 16:09 ` Wolfgang Schuster
@ 2011-07-07 21:23   ` Peter Münster
  2011-07-08  4:23     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2011-07-07 21:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: t-letter: problem with align
  2011-07-07 21:23   ` Peter Münster
@ 2011-07-08  4:23     ` Wolfgang Schuster
  2011-07-08  5:15       ` Peter Münster
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-07-08  4:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: t-letter: problem with align
  2011-07-08  4:23     ` Wolfgang Schuster
@ 2011-07-08  5:15       ` Peter Münster
  2011-07-08  5:34         ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2011-07-08  5:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Jul 08 2011, Wolfgang Schuster wrote:

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

So the sentence
"the text is left aligned but this can be changed with the align key."
should be dropped perhaps?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: t-letter: problem with align
  2011-07-08  5:15       ` Peter Münster
@ 2011-07-08  5:34         ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-07-08  5:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 08.07.2011 um 07:15 schrieb Peter Münster:

> So the sentence
> "the text is left aligned but this can be changed with the align key."
> should be dropped perhaps?

Like a few more things from the manual.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-07-08  5:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-07 15:42 t-letter: problem with align 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
2011-07-08  5:15       ` Peter Münster
2011-07-08  5:34         ` Wolfgang Schuster

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