From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Some questions about the letter module
Date: Thu, 18 Jul 2013 14:57:33 +0200 [thread overview]
Message-ID: <AAEC0B67-CA76-4B98-95ED-E3BBC7916E16@gmail.com> (raw)
In-Reply-To: <CAKTWfUOaJNErYmBEm9zp=kHWMKMF-uE5Lgu5S0B5XoWkH-OG1w@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1348 bytes --]
Am 18.07.2013 um 03:12 schrieb Michael Ash <mash@econs.umass.edu>:
> Dear Wolfgang,
>
> Thank you very much. This is very helpful.
>
> One note is that to center the footer required
>
> \setupletterframe[foot][align=middle]
Of course, the alignment is a framed feature.
> (NOT \setupletterlayer. Per http://wiki.contextgarden.net/Letter#Setup)
>
>
> A couple more questions.
> (1) is there a more efficient way to indent only the content of the letter:
>
> \setupindenting[yes,small]
> \setuplettersection[opening][indenting=no]
> \setuplettersection[subject][indenting=no]
> \setuplettersection[closing][indenting=no]
> \setuplettersection[signature][indenting=no]
You can use \setupletteroptions[indenting=…] which only passed to the content section.
> (2) The following did not properly left-justify the date (the date was towards the left but was not perfectly aligned with the other left-justified text):
> \setupletterlayer[reference][alternative=e]
This should be alternative c and not e.
\usemodule[letter]
\setupletterlayer[reference][alternative=c]
%\setupletterlayer[reference][alternative=c,list=reference] % default: list=date
%\setupletter[reference=\currentdate]
\setupletteroptions[indenting={yes,medium,next}]
\startletter
\input knuth
\stopletter
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2274 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2013-07-18 12:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-12 14:11 Michael Ash
2013-07-12 14:26 ` Michael Ash
2013-07-12 16:44 ` Hans Hagen
2013-07-15 16:34 ` Michael Ash
2013-07-17 20:08 ` Wolfgang Schuster
[not found] ` <23497_1374091731_51E6F9D3_23497_15321_1_0395100E-71DC-4F57-BBDF-EC0CA5E119EE@gmail.com>
2013-07-18 1:12 ` Michael Ash
2013-07-18 12:57 ` Wolfgang Schuster [this message]
2013-07-19 0:06 ` Can this layout be done in Context? Russell Urquhart
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=AAEC0B67-CA76-4B98-95ED-E3BBC7916E16@gmail.com \
--to=schuster.wolfgang@gmail.com \
--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).