Letter module: Subject below opening
British letters typically have the subject below the opening. A stackexchange user asked many moons ago how to accomplish this in ConTeXt, and received a rather hackish response (https://tex.stackexchange.com/questions/22438/how-to-place-the-subject-line-...). ConTeXt and the letter module have changed a lot since then, if my experience is correct. Is there a better solution than given there? Best, Parchd.
\usemodule[letter] \startletter [subject={How to change the position of the subject line}, opening={Hi Parchd,}] The elements of the letter environment can be changed with the \tex{setupletterelements} commands, the default order of them is \startitemize[packed] \item title, \item subject, \item opening, \item content, \item closing and \item appendices \stopitemize To put the subject after the opening you have to modify this order with the following setup: \starttyping \setupletterelements [section] [title, opening, subject, content, closing, appendices] \stoptyping \stopletter Wolfgang
Parchd mailto:parchd@archlinux.info 1. September 2017 um 13:04 British letters typically have the subject below the opening.
A stackexchange user asked many moons ago how to accomplish this in ConTeXt, and received a rather hackish response (https://tex.stackexchange.com/questions/22438/how-to-place-the-subject-line-...).
ConTeXt and the letter module have changed a lot since then, if my experience is correct. Is there a better solution than given there?
Best,
Parchd. ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
Thanks, Wolfgang. That worked nicely. I have added the information to the Wiki. Best, Parchd. On Sat, Sep 02, 2017 at 01:42:06PM +0200, Wolfgang Schuster wrote:
\usemodule[letter]
\startletter [subject={How to change the position of the subject line}, opening={Hi Parchd,}]
The elements of the letter environment can be changed with the \tex{setupletterelements} commands, the default order of them is
\startitemize[packed] \item title, \item subject, \item opening, \item content, \item closing and \item appendices \stopitemize
To put the subject after the opening you have to modify this order with the following setup:
\starttyping \setupletterelements [section] [title, opening, subject, content, closing, appendices] \stoptyping
\stopletter
Wolfgang
participants (2)
-
Parchd
-
Wolfgang Schuster