Am 2009-07-02 um 15:56 schrieb Wolfgang Schuster:
I'd like to change the reference table of alternative "e" a little bit to fit my logo:
voffset=130mm, % absolute coordinates hoffset=40mm, width=20mm, % width of label
It doesn't work in \setupletterstyle[reference][]. Where must I put it? Or should I define my own alternative, like yours in default.nli ?
The alternatives a–e are not so easy to move to the place you prefer because the start of the bodytext depends on the position (I try to keep always two lines between them) but you can copy the layout of one element to another one with
\copyletterlement[<element>][<new alternative>][<old alternative>]
which looks for you
\copyletterelement[reference][hraban][e]
You can now place the reference line with
\setupletterstyle [reference] [hoffset=..., voffset=...]
and the width of the elements in the reference line with
\setupletter [phone,street,...] [width=20mm]
Thank you! Offset works, width doesn't (i.e. stays automatical).
BTW: I'm using your simplefonts module for the first time in the same project - works great, thank you! (I had to refresh my font database several times, until LuaTeX could find all faces of my font family, but that's not your module's fault.)
mtxrun --script fonts --list --pattern=... helps to find the right name.
I know, it's in the wiki (Fonts_in_LuaTeX). Thanks anyway.
BTW: You can another example for the use of the simplefonts module in the source of the correspondence manual (correspondence- environment.tex).
Just wanted to ask if you published the source anywhere - didn't check the "source" tree before... Now I have enough examples for the moment, I think ;-) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)