ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Left-justifying the date in the letter module
@ 2013-07-31  1:32 Michael Ash
  2013-07-31  6:50 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Ash @ 2013-07-31  1:32 UTC (permalink / raw)
  To: ntg-context


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

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

* Re: Left-justifying the date in the letter module
  2013-07-31  1:32 Left-justifying the date in the letter module Michael Ash
@ 2013-07-31  6:50 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2013-07-31  6:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 605 bytes --]


Am 31.07.2013 um 03:32 schrieb Michael Ash <mash@econs.umass.edu>:

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

This is fixed, there module produced a unwanted space at the begin of the reference line which is now gone.

> BTW are the values for the "alternative" key ("example", "e", "c", etc.) documented somewhere?

You can look at the predefined arguments in the old manual which is available online: https://bitbucket.org/wolfs/correspondence/downloads.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1282 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
___________________________________________________________________________________

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

end of thread, other threads:[~2013-07-31  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31  1:32 Left-justifying the date in the letter module Michael Ash
2013-07-31  6:50 ` Wolfgang Schuster

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).