binom, dbinom, and tbinom LaTeX commands display incorrectly

336 views
Skip to first unread message

Patrick

unread,
Jul 26, 2009, 3:27:32 AM7/26/09
to mnemosyne-proj-users
When I enter something like <latex>$\binom{n}{x}$</latex> into the
question or answer field, the result is identical to that obtained by
entering <latex>$nx$</latex>. Instead of displaying the "n" on top and
the "x" below, Mnemosyne displays them side-by-side without any
parantheses. This is the first problem that I have encountered in the
twenty or so equations I have entered. I am using Windows XP and
MiKTeX 2.7, and am running Mnemosyne as a portable installation.

Peter Bienstman

unread,
Jul 26, 2009, 4:15:21 AM7/26/09
to mnemosyne-...@googlegroups.com

\binom is not standard latex, but part of the amsmath package. Edit
.mnemosyne/latex/preamble to read

\documentclass[12pt]{article}
\usepackage{amsmath}
\pagestyle{empty}
\begin{document}

BTW, you can simplify your tags to read:

<$>\binom{n}{x}</$>

Cheers,

Peter

Reply all
Reply to author
Forward
0 new messages