Re: [NTG-context] t-letter: problem with align

2011-07-07 Thread Wolfgang Schuster

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
___


Re: [NTG-context] t-letter: problem with align

2011-07-07 Thread Peter Münster
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
___

Re: [NTG-context] t-letter: problem with align

2011-07-07 Thread Wolfgang Schuster

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
___


Re: [NTG-context] t-letter: problem with align

2011-07-07 Thread 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.

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


Re: [NTG-context] t-letter: problem with align

2011-07-07 Thread Wolfgang Schuster

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
___


[NTG-context] t-letter: problem with align

2011-07-07 Thread Peter Münster
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
___