ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange Behaviour in \framed
@ 2009-07-09 21:11 Stirling Westrup
  2009-07-09 21:17 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Stirling Westrup @ 2009-07-09 21:11 UTC (permalink / raw)
  To: ntg-context

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.




-- 
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Strange Behaviour in \framed
  2009-07-09 21:11 Strange Behaviour in \framed Stirling Westrup
@ 2009-07-09 21:17 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2009-07-09 21:17 UTC (permalink / raw)
  To: swestrup, mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2009-07-09 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-09 21:11 Strange Behaviour in \framed Stirling Westrup
2009-07-09 21:17 ` Hans Hagen

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