Re: [NTG-context] simple style customization in t-letter

2010-05-24 Thread Piotr Kopszak
Works great! Will have to find out one day how ;)

Piotr



2010/5/21 Wolfgang Schuster schuster.wolfg...@googlemail.com:
 Am 21.05.10 10:56, schrieb Piotr Kopszak:

 I'm probably too dumb to figure that on my own, at least now. How one
 can change default style to move the reference line including date to
 the top of the letter page?


 You have create your own reference line, to make life easier it's
 possible to clone predefined layouts as done here.

 Just moving the predefined layouts is not possible because the start
 of the first text line depends on the reference line.

 \usemodule[letter]

 %\defineletterelement[reference][top]
 %  {\letterelement[reference][a]}

 \copyletterelement[reference][top][a]

 \setupletterstyle
  [reference]
  [alternative=top,
   list={phone,name,date},
   voffset=3cm]

 \setupletter
  [phone={1234/56789},
    name={Ben Lee User}]

 \starttext

 \startletter
 \input tufte
 \stopletter
 \stoptext

 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
 ___




-- 
http://okle.pl
___
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] simple style customization in t-letter

2010-05-21 Thread Piotr Kopszak
I'm probably too dumb to figure that on my own, at least now. How one
can change default style to move the reference line including date to
the top of the letter page?

Best

Piotr

-- 
http://okle.pl
___
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] simple style customization in t-letter

2010-05-21 Thread Wolfgang Schuster

Am 21.05.10 10:56, schrieb Piotr Kopszak:

I'm probably too dumb to figure that on my own, at least now. How one
can change default style to move the reference line including date to
the top of the letter page?



You have create your own reference line, to make life easier it's
possible to clone predefined layouts as done here.

Just moving the predefined layouts is not possible because the start
of the first text line depends on the reference line.

\usemodule[letter]

%\defineletterelement[reference][top]
%  {\letterelement[reference][a]}

\copyletterelement[reference][top][a]

\setupletterstyle
  [reference]
  [alternative=top,
   list={phone,name,date},
   voffset=3cm]

\setupletter
  [phone={1234/56789},
name={Ben Lee User}]

\starttext

\startletter
\input tufte
\stopletter
\stoptext

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
___