ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to create horizontal line for signature?
Date: Tue, 13 Dec 2011 13:49:27 +0100	[thread overview]
Message-ID: <56941AD2-F544-47FD-B86C-79B14B730481@googlemail.com> (raw)
In-Reply-To: <1323779803.7004.25.camel@mattotaupa>


Am 13.12.2011 um 13:36 schrieb Paul Menzel:

> Dear ConTeXt folks,
> 
> 
> sometimes you need to insert a line for signature. I could not find
> anything usefull especially `\underbar{\hspace[10*\big]}` [2] did not
> work. I ended up abusing `\framed` [3].
> 
>        \starttext
>        \startstandardmakeup[align=right]
>        Alles rechtens. Everything is fine and nobody cheated.
>        \blank[medium]
>        London, den 28.\,June 2011
>        \blank[3*big]
>        \framed[width=5cm, frame=off, topframe=on]{\small John Doe}
>        \stopstandardmakeup
>        \stoptext
> 
> The down side is, that its widths is not perfectly aligned with the
> location and date.
> 
> I guess there is something simpler to do it. I looked at Wolfgang’s
> letter module but could not figure out how it is done there.

The module doesn’t draw a rule for the signature.

> Something like the examples posted for LaTeX on Stack Exchange [3] for
> ConTeXt would be nice.

\startTABLE[frame=off,align=middle]
\NC London, den 28.\,June 2011                \NC\NR
\NC[height=1cm]                               \NC\NR
\NC[topframe=on,style=smallbodyfont] John Doe \NC\NR
\stopTABLE

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


  reply	other threads:[~2011-12-13 12:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13 12:36 Paul Menzel
2011-12-13 12:49 ` Wolfgang Schuster [this message]
2011-12-13 12:58   ` [solved] " Paul Menzel
2011-12-13 18:40     ` Philipp A.

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=56941AD2-F544-47FD-B86C-79B14B730481@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).