Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

N choose K (Stats with LaTeX)

3,890 views
Skip to first unread message

Michael Spittel

unread,
Jan 26, 1999, 3:00:00 AM1/26/99
to
Does anyone know how to get 'n over k' in brackets or
n
k
in LaTeX? I know how to get its
equivalent i.e. \frac{n!}{k!}{(n-k)!}
But I would to know how to get the former.
thanks in advanced.
mike

--
*********************************************************************
Michael Ludwig Spittel mspi...@ssc.wisc.edu
Center for Demography and Ecology ph. 608-262-7321
1180 Observatory DR. fax 608-262-8400
Madison, WI 53706
*********************************************************************

Jason Alexander

unread,
Jan 26, 1999, 3:00:00 AM1/26/99
to
> Does anyone know how to get 'n over k' in brackets or
> n
> k
> in LaTeX?

Include

\usepackage{amsmath}

in the preamble and type, e.g., $\binom{n}{k}$.

Cheers,

Jason

David Kastrup

unread,
Jan 27, 1999, 3:00:00 AM1/27/99
to Michael Spittel
mspi...@norman.ssc.wisc.edu (Michael Spittel) writes:

> Does anyone know how to get 'n over k' in brackets or
> n
> k
> in LaTeX?

Well, {n \choose k}. Unless you are using amsmath.sty the authors of
which decided to throw a tantrum about the syntax and made it
spew out an error message instead. There you need to use
\binom{n}{k}.

--
David Kastrup Phone: +49-234-700-5570
Email: d...@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209
Institut für Neuroinformatik, Universitätsstr. 150, 44780 Bochum, Germany

Graham Gough

unread,
Jan 27, 1999, 3:00:00 AM1/27/99
to
$n \choose k$
--
Graham D. Gough, Department of Computer Science,
University of Manchester, Oxford Road, Manchester, M13 9PL, U.K.
Tel: (+44) 161 275 6277 FAX: (+44) 161 275 6204
WWW: http://www.cs.man.ac.uk/fmethods/people/gdg/graham-gough.html

0 new messages