Date: Tue, 28 Feb 2006 13:34:58 +0100 From: Sigbert Klinke sigbert@wiwi.hu-berlin.de Subject: [Mediawiki-l] LaTeX question To: mediawiki-l@Wikimedia.org Message-ID: 44044372.4050801@wiwi.hu-berlin.de Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
in a formula I write <math>\frac{\sum_{i=1}^n ...}{...}</math>. The sum sign appears always in \textmode. I tried to use <math>\frac{\displaystyle \sum_{i=1}^n ...}{...}</math>, but during rendering an error occured: unknown function \displaystyle. What can I do to force \displaystyle ?
Thanks in advance
Sigbert Klinke
On en.wikipedia, the texvc program has been updated fairly recently to include support for both \displaystyle and \textstyle. If you're talking about your own wiki, you might consider upgrading your texvc to the latest one available. If that's not possible, I don't think there is any way to force displaystyle. You *can* force textstyle with a nasty hack involving \begin{matrix} ... \end{matrix}, but no such luck with displaystyle. (Maybe someone else can prove me wrong.)
David Harvey