ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Letter module: Subject below opening
@ 2017-09-01 11:04 Parchd
  2017-09-02 11:42 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Parchd @ 2017-09-01 11:04 UTC (permalink / raw)
  To: ntg-context

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-under-the-greeting-line-in-t-letter-module-in-cont).

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Letter module: Subject below opening
@ 2017-09-02 11:28 Parchd
  0 siblings, 0 replies; 4+ messages in thread
From: Parchd @ 2017-09-02 11:28 UTC (permalink / raw)
  To: ntg-context

On Fri, Sep 01, 2017 at 01:04:44PM +0200, Parchd wrote:
> 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-under-the-greeting-line-in-t-letter-module-in-cont).
> 
> ConTeXt and the letter module have changed a lot since then, if my
> experience is correct. Is there a better solution than given there?
> 

In answer to my own question, the following is certainly nicer than what
I found on stackexchange. Perhaps there is still something better,
though?


    \startsetups[letter:section:opening]
    \correspondenceparameter{opening}
    \blank
    {\bf\correspondenceparameter{subject}}
    \stopsetups
    
    \startsetups[letter:section:subject]
    \stopsetups
    
    \setuplettersection[opening][alternative=setups]
    \setuplettersection[subject][alternative=setups]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-02 12:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-01 11:04 Letter module: Subject below opening Parchd
2017-09-02 11:42 ` Wolfgang Schuster
2017-09-02 12:06   ` Parchd
2017-09-02 11:28 Parchd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).