ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re:  Is there a mathematica	typesetting	manual	for	ConTeXt ?
Date: Sat, 14 May 2005 08:46:01 +0100	[thread overview]
Message-ID: <20050514084601.1131@mail.comp.lancs.ac.uk> (raw)
In-Reply-To: <42858728.5@physik.fu-berlin.de>

Tobias Burnus said this at Sat, 14 May 2005 07:05:44 +0200:

>(I have to admit, I cannot find m-math.tex/t-math.tex anywhere.)

I "assumed" Hans meant MathML. :)
\usemodule[mathml]


The basic math capabilities within ConTeXt do seem poorly documented,
mostly because they point to different sources, often in books. However,
ConTeXt does use  Plain TeX as its model for mathematics. 

The basics in ConTeXt are roughly equivalent to those described in:
<http://meta.wikimedia.org/wiki/Help:Formula>
   (I don't know if it will specifically help you, but I note there's a
zh version of that page)


...but it takes some practice to spot the things that don't work directly
in ConTeXt. Some differences are unimplemented features, some are
differing conventions, some are because LaTeX thought they would be
useful, and ConTeXt hasn't (yet).

Some differences from the examples on that page that I notice immediately:

Math is best delimited inline with \formula{ ... }, not $ ... $
Display math is best delimited with \startformula ... \stopformula , not
$$ ... $$

\operatorname  =>  \mfunction

The double-, triple-, and quadruple-integrals (\iiiint) are undefined in
basic ConTeXt's math.

The \begin{case} environment needs to be simplified into the Plain
\cases{} command.

The AMSmath/LaTeX-like:

$$ \begin{bmatrix} p & q \\
                   r & s   \end{bmatrix} $$

   ...can be interpreted as...

\startformula
\left[ \matrix{ p & q \cr
                r & s     } \right]
\stopformula


This might not be the best answer to the original poster, but I do hope
it provides a bit of a guide to the general ConTeXt newcomer.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2005-05-14  7:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 11:14 redox
2005-05-12 13:00 ` Hans Hagen
2005-05-12 19:43 ` Mikael Persson
2005-05-13  3:18   ` redox
2005-05-13  7:16     ` Hans Hagen
2005-05-14  4:03       ` redox
2005-05-14  5:05         ` Tobias Burnus
2005-05-14  7:46           ` Adam Lindsay [this message]
2005-05-14  9:44           ` Patrick Gundlach
2005-05-13  7:22     ` Maurice Diamantini
2005-05-14 11:49 xiaojf
2005-05-14 12:31 ` Adam Lindsay
2005-05-14 13:36 xiaojf
2005-05-14 16:41 ` Adam Lindsay
2005-05-18  7:22   ` Mojca Miklavec

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=20050514084601.1131@mail.comp.lancs.ac.uk \
    --to=atl@comp.lancs.ac.uk \
    --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).