From: Michael Ash <mash@econs.umass.edu>
To: ntg-context@ntg.nl
Subject: Left-justifying the date in the letter module
Date: Tue, 30 Jul 2013 21:32:13 -0400 [thread overview]
Message-ID: <CAKTWfUMLQc0bq5BzCkME-L_c-NZOoqp9byFUursOhOCNN+VK0A@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 743 bytes --]
I am still having a problem with left-justifying the date in letters. The
date is towards the left but is aligned several mm to the right of the
other text.
\usemodule[letter]
%% Omit the word "Date", attempt to left-justify date (doesn't align
perfectly)
\setupletterlayer[reference][alternative=c]
\defineletterelement[layer][address][example]{\correspondenceparameter{toname}\par}
\setupletterlayer[address][alternative=example]
\starttext
\startletter[
toname={The Addressee},
opening={Dear Addressee:},
closing={Best regards,},
signature={I.M. Sender}]
\input knuth
\stopletter
\stoptext
BTW are the values for the "alternative" key ("example", "e", "c", etc.)
documented somewhere?
Thank you again.
Best,
Michael
[-- Attachment #1.2: Type: text/html, Size: 1334 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 reply other threads:[~2013-07-31 1:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-31 1:32 Michael Ash [this message]
2013-07-31 6:50 ` 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=CAKTWfUMLQc0bq5BzCkME-L_c-NZOoqp9byFUursOhOCNN+VK0A@mail.gmail.com \
--to=mash@econs.umass.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).