>>>>> "Pete" == Pete Phillips <[EMAIL PROTECTED]> writes:
Pete> Hi I like the akletter class for letters, and spent last night
Pete> seeing if I could set up a layout file for it.
Pete> The akletter class starts the letter as follows:
Pete> \begin{letter}{A. N Other,\\ 23 The Warren,\\ Liverpool. }
Pete> Although I can grasp most of the layout stuff, I am not sure how
Pete> to get this argument to the letter environment working (clearly
Pete> I need to be able to have a "To" field which will get stuffed
Pete> into this argument).
Something like [not tested, just to get the idea]
Style ToField
LatexType Command
LatexName deftofield
...
Preamble
\newcommand{\deftofield}[1]{\def\tofield{##1}}
\deftofield{No address given}
EndPreamble
End
Style BeginLetter
LatexType Environment
LatexName letter
LatexArg {\tofield}
...
End
Hope this helps.
JMarc