ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: swestrup@gmail.com, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Strange Behaviour in \framed
Date: Thu, 09 Jul 2009 23:17:49 +0200	[thread overview]
Message-ID: <4A565E7D.2020209@wxs.nl> (raw)
In-Reply-To: <18e9c2dc0907091411y426de6fu700077b5ceb8f921@mail.gmail.com>

Stirling Westrup wrote:
> If I try out the following simple .tex script, I end up with a box
> that is framed everywhere but on the top:
> 
> \starttext
> \newbox\FootBox
> \setbox\FootBox=\hbox
>   { \framed
>       [ align=right
>       , topframe=on
>       , width=\textwidth
>       , offset=none%
>       ]
>       {\tfxx datasheet:}
>   }
> \copy\FootBox
> \stoptext
> 
> Also, I find that if I don't have the '%' after the word none, then it
> doesn't even compile.

        [align=right,
        topframe=on,
        width=\textwidth,
        offset=none,
        ]

spaces before keywords are ignores but not after values (after all, a 
space is a proper value)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


      reply	other threads:[~2009-07-09 21:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 21:11 Stirling Westrup
2009-07-09 21:17 ` Hans Hagen [this message]

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=4A565E7D.2020209@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=swestrup@gmail.com \
    /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).