ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Discussion: correspondence with ConTeXt
Date: Thu, 17 Apr 2008 08:12:29 -0600	[thread overview]
Message-ID: <op.t9rdq3tunx1yh1@your-b27fb1c401> (raw)
In-Reply-To: <115224fb0804170113w70db8dadpb8528a18ef20c338@mail.gmail.com>

Hi Wolfgang,

On Thu, 17 Apr 2008 02:13:54 -0600, Wolfgang Schuster  
<schuster.wolfgang@googlemail.com> wrote:

> Take the following minimal example
>
> \usemodule[letter]
>
> \setupletter
>   [sender]
>   [name={Mike Meiers},
>    address={Mustergasse 12\\25694 Musterstadt}]
>
> \setupletter
>   [address]
>   [name={Hans Hansen},
>    address={Zielweg 34\\78561 Tiny Town}]
>
> \starttext
>
> \startletter
>   [opening={Dear Hans,}]
>
> letter text
>
> \stopletter
>
> \stoptext

You need a closing ("Sincerely,") and signature, and don't forget enough  
topspace to accommodate a company logo/letterhead :-)

FWIW: Here is the basic structure of my setup (based on someone else's  
work, I forget his name):
=================
\protect

%\setuppapersize[A4][A4]
\setuppapersize[letter][letter]

\setuplayout[header=.5in,
              topspace=1.37in,
              backspace=1.5in,
              footer=0mm,
              %header=0in,
              %,width=middle,
              width=middle,
			 lines=60,
              height=middle] % margins etc.
			
\setupbodyfontenvironment[default][em=italic]
\setuppagenumbering[state=stop]

\long\def\addresser#1{\leavevmode\blank[1*line]
					   \lbox{#1}}

% Defines field for receiver's address and places it at right position.
\long\def\addressee#1{\rbox{#1}}

% Subject line, in bold face.
\long\def\lettersubject#1{\blank[2*line]{\BF %Re:
                                         #1}}

\long\def\letteropening#1{\blank[line]#1} % opening...

\definestartstop
   [letter]
   [before={\blank[line]\setupwhitespace[medium]},
     after={}]

\long\def\letterclosing#1#2{\vbox{\blank[line]#1\blank[3*line]#2}} % and  
the closing formula

\unprotect

=================

Best wishes
Idris


-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2008-04-17 14:12 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17  8:13 Wolfgang Schuster
2008-04-17 12:40 ` Taco Hoekwater
2008-04-17 12:45   ` Arthur Reutenauer
2008-04-17 13:13   ` Olivier Guéry
2008-04-17 14:02     ` Wolfgang Schuster
2008-04-17 14:07       ` Olivier Guéry
2008-04-17 14:21         ` Wolfgang Schuster
2008-04-19 11:49       ` Antoine Junod
2008-04-21  7:09         ` Wolfgang Schuster
2008-04-21  7:52           ` Antoine Junod
2008-04-17 13:19   ` Wolfgang Schuster
2008-04-17 20:59   ` Peter Münster
2008-04-17 14:12 ` Idris Samawi Hamid [this message]
2008-04-17 15:08   ` Wolfgang Schuster
2008-04-17 15:34     ` Henning Hraban Ramm
2008-04-18  6:03       ` Wolfgang Schuster
2008-04-17 14:17 ` Henning Hraban Ramm
2008-04-17 14:32   ` Wolfgang Schuster
2008-04-17 15:32     ` Henning Hraban Ramm
2008-04-18  7:12       ` Wolfgang Schuster
2008-04-17 19:24     ` Gour
2008-04-17 20:48 ` Peter Münster
2008-04-18  6:21   ` Wolfgang Schuster
2008-04-18  6:51     ` Peter Münster
2008-04-18  6:59       ` Wolfgang Schuster
2008-04-18  7:50         ` Peter Münster
2008-04-18  7:50 ` Willi Egger
2008-04-18  8:13   ` Wolfgang Schuster
2008-04-18 19:45     ` Willi Egger
2008-04-19 10:30       ` Wolfgang Schuster
     [not found] <mailman.1.1208512802.14653.ntg-context@ntg.nl>
2008-04-18 18:40 ` Wolfgang Werners-Lucchini
2008-04-19 10:36   ` Wolfgang Schuster
     [not found] <mailman.6074.1208608916.4340.ntg-context@ntg.nl>
2008-04-19 16:35 ` Wolfgang Werners-Lucchini
2008-04-21  7:02   ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.t9rdq3tunx1yh1@your-b27fb1c401 \
    --to=ishamid@colostate.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).