ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Adam Duck <duck@informatik.uni-frankfurt.de>
Subject: Re: Reg. fonts and math
Date: Sat, 14 Jan 2006 17:58:56 +0100	[thread overview]
Message-ID: <87slrq690v.fsf@informatik.uni-frankfurt.de> (raw)
In-Reply-To: <Pine.WNT.4.63.0601131951280.732@nqvgln> (Aditya Mahajan's message of "Fri, 13 Jan 2006 20:48:56 -0500 (EST)")

Just to give you some hints what's already there...

Aditya Mahajan <adityam@umich.edu> writes:

< 63 lines deleted by Adam Duck >
> 1. Have align support with variable number of columns.
>  a &= b
>    &= c &+ d
>    &    &+ e
>
> should be typeset as
>
>  a = b
>    = c + d
>        + e

At least this should be possible with \wall and \return (using the
"nath" module), like this:

#v+
a \wall = b \\
= c \wall + d \\
+ e
\return\return
#v-

< 20 lines deleted by Adam Duck >
> 5. have a splitformula environment that allows
>
>  a =& b
>     & + c \\
>     & + d
>
> to come out as
>
>   a = b
>       + c
>       + e        (1)
>
> with only one formula number. The formula number should be at the last
> line or the center of the whole formula, configurable by an option.
< 142 lines deleted by Adam Duck >

Again, this is a \wall-\return thingy, but \placeformula places the
number vertically centered...

#v+
\usemodule[nath]
\starttext

\placeformula
\startformula
a \wall = b \\
+c \\
+e \return
\stopformula

\startformula
a \wall = b \\
= c \wall + d \\
+e \return\return
\stopformula

\stoptext
#v-

cu, Adam.

  parent reply	other threads:[~2006-01-14 16:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-12  0:55 Kumar Appaiah
2006-01-12  8:20 ` Hans Hagen
2006-01-12 16:06   ` Aditya Mahajan
2006-01-12 17:47     ` Hans Hagen
2006-01-12 21:29       ` Aditya Mahajan
2006-01-13 17:59         ` Hans Hagen
2006-01-14  1:48           ` Aditya Mahajan
2006-01-14  8:36             ` Aditya Mahajan
2006-01-14 16:58             ` Adam Duck [this message]
2006-01-14 17:04               ` Aditya Mahajan
2006-01-14  9:47           ` Tobias Burnus
2006-01-15 17:27             ` Hans Hagen

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=87slrq690v.fsf@informatik.uni-frankfurt.de \
    --to=duck@informatik.uni-frankfurt.de \
    --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).