ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco.hoekwater@wkap.nl>
Cc: ntg-context@ntg.nl
Subject: Re: ConTeXt: math formulars + framed/grey background
Date: Fri, 16 Oct 1998 15:37:47 +0200 (W. Europe Daylight Time)	[thread overview]
Message-ID: <13863.19499.760000.670332@PC709> (raw)

>>>>> "WH" == Wolfgang Huber <hwolf@technix.oeh.uni-linz.ac.at> writes:

 WH> Hi !
 >> I don't need it right now, but is there is simple why to frame
 >> everything within \{start|stop}formulas?

An entire formula is easy: 

   \startbuffer 
   \startformula 
   .....  
   \stopformula 
   \stopbuffer

   \framed{\getbuffer}

For a partial thing you needs something along the lines of:

	\def\mframed#1{\relax\ifmmode
	   \vcenter{\hbox{\framed{$\ifinner 
				\else \displaystyle \fi #1$}}}%
	\else \framed{$\relax #1$}\fi}

Which allows \mframed{\alpha}, but with slightly less than optimal
spacing.

 WH> That reminds me -- has there been work on the math-part of
 WH> context in the recent time?

No, but I promise I'll get around to that in the next couple of
months. We first had to get some extensions to the font mechanism in
place, and that work is now finished.

Greetings, Taco


             reply	other threads:[~1998-10-16 13:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-16 13:37 Taco Hoekwater [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-10-18 22:48 Hans Hagen
1998-10-18 13:52 Hans Hagen
1998-10-17 20:22 Hans Hagen
1998-10-17 15:23 Tobias Burnus
1998-10-16 17:23 Hans Hagen
1998-10-17 15:16 ` Taco Hoekwater
1998-10-16 17:18 Hans Hagen
1998-10-17 15:16 ` Taco Hoekwater
1998-10-16 16:31 Tobias Burnus
1998-10-16 14:58 Tobias Burnus
1998-10-16 11:05 Tobias Burnus
1998-10-16 12:34 ` Wolfgang Huber

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=13863.19499.760000.670332@PC709 \
    --to=taco.hoekwater@wkap.nl \
    --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).