ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Sample of the day
@ 1999-09-10 18:42 David Arnold
  1999-09-11 22:23 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 1999-09-10 18:42 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

Hans, All,

\documentclass{article}
\usepackage{amsmath}

\begin{document}
I like the gather environment, useful when you don't want things
aligned on the equal sign.

\begin{gather}
f(x)=x+|x+3|-|x-3|\\
-3\le x<3
\end{gather}

I like the split environment, which allows nice formatting of
equations too long to fit on one line.

\begin{equation}
\begin{split}
f(x)&=f(x)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^2+\frac{f'''(a)}{3!}+\cdots\\
 &\qquad
 +\frac{f^{(n)}(a)}{n!}(x-a)^n+\frac{f^{(n+1)}(\xi)}{(n+1)!}(x-\xi)^{n+1}
\end{split}
\end{equation}
\end{document}

[-- Attachment #2: gather.dvi --]
[-- Type: application/octet-stream, Size: 1404 bytes --]

[-- Attachment #3: Type: text/plain, Size: 257 bytes --]

David Arnold
College of the Redwoods
Mathematics Department
7351 Tompkins Hill Rd
Eureka, CA 95501
(707) 476-4222 Office
(707) 476-4424 Fax
http://online.redwoods.cc.ca.us/instruct/darnold/
http://online.redwoods.cc.ca.us/instruct/darnold/StaffDev/Index.htm

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

* Re: Sample of the day
  1999-09-10 18:42 Sample of the day David Arnold
@ 1999-09-11 22:23 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 1999-09-11 22:23 UTC (permalink / raw)
  Cc: ntg-context

Hi David,

You are preparing us a nice testbed! 

I wonder if we can grab some of those alignments in a combined tabular
alike environment, accompanied with a similar \define.. macro. 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


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

end of thread, other threads:[~1999-09-11 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-10 18:42 Sample of the day David Arnold
1999-09-11 22:23 ` 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).