ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* cases
@ 2004-10-27  5:08 David Arnold
  0 siblings, 0 replies; only message in thread
From: David Arnold @ 2004-10-27  5:08 UTC (permalink / raw)


All,

Try:

\documentclass[12pt]{article}
\usepackage{amsmath}

\begin{document}

\begin{equation}
  \label{func}
  P_{r-j}=
  \begin{cases}
    0, & \text{if $r-j$ is odd}\\
    r!(-1)^{(r-j)/2}, & \text{if $r-j$ is even.}
  \end{cases}
\end{equation}

\end{document}

Then try:

\usemodule[amsl]

\starttext

\placeformula[func]
\startformula
P_{r-j}=
\startcases
0, & \text{if $r-j$ is odd}\\
r!(-1)^{(r-j)/2}, & \text{if $r-j$ is even.}
\stopcases
\stopformula

\stoptext

You'll note that the spacing in the latter is not as good.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-27  5:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-27  5:08 cases David Arnold

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