Help talk:Displaying a formula/Archives/2008

From Meta, a Wikimedia project coordination wiki

help

how do you make it so the formulas are NOT surrounded by the dotted-line box?

The dotted line box is due to placing a space at the beginning of the line. This has the same result on the formating as code tags. 82.10.79.163 22:06, 26 April 2008 (UTC)

amsmath not used consistently

One issue I've found is that texutil.ml fails to enable amsmath support for some symbols that need it (\overleftrightarrow for one, perhaps others). It's pretty easy to edit the source as fix, but annoying that texvc doesn't work as distributed.

Sizing symbols with subscripts

How can I make these two etas looks the same size and font? and -- Jtneill - Talk 05:40, 26 May 2008 (UTC)

One way seems to be to split the eta-squared and the subscript: and -- Jtneill - Talk 14:50, 29 May 2008 (UTC)
even better maybe is -- Jtneill - Talk 14:56, 29 May 2008 (UTC)

Numbered Equations

Is there any elegant way to label/number equations and reference them from other pages (or internally)? In Tex it would be \label{myEqLabel} ish.

This isn't possible. You'd have to number them yourself and refer to the number directly. MediaWiki doesn't know \label nor \ref. --Erwin(85) 19:00, 11 June 2008 (UTC)
Consider manually numerate the equations and then, use w:en:Template:Anchor for linking the equation from some page. Perhaps it works!Helder 20:55, 7 July 2008 (UTC)
I wrote a very simple template to format numbered equations (with an optional left text), see Template:Numb form and its large use into A_Treatise_on_Electricity_and_Magnetism. But it solves formatting issues only (no automatic numbering nor anchor added); I'll think about anchor!. --Alex brollo 09:55, 17 July 2008 (UTC)

Character & (code \And) added to Special

I added to Special characters (thanks to a suggestion of Kronin, an expert user of it.wikisource)--Alex brollo 09:47, 17 July 2008 (UTC)

A suggestion

While working at a book with hundred/thousands of complex formulas, I found very boring that I can't resize png image from TeX. It would great to add a parameter to <math> tag, best as a percentage of default sizing. Here the result (on a uploaded png image of a formula):

Original formula, defauld sizing:

Resized formula, 300px forced width:

here some talk about: s:Wikisource:Scriptorium#TeX --Alex brollo 10:09, 17 July 2008 (UTC)

External links

What is that strange formula in the end of the External links section? Shim'on 18:39, 18 July 2008 (UTC)

Fixed [1].--Patrick (talk) 23:48, 18 July 2008 (UTC)

Bug?

Is there a bug with the option "Always render PNG" in "My preferences"? When I use the following codes, the first one is not rendered (just appears "\alpha"), although the second one is rendered.

  • <math>\alpha</math>:
  • <math>\alpha(x) = \sqrt(\frac{x}{10})</math>:

Helder 13:27, 11 November 2008 (UTC)

Try this:
The seemingly superfluous space character forces it to get rendered.
Also, to put a fraction within a radical, do this:
<math>\alpha(x) = \sqrt{\frac{x}{10}}</math>:
And to put parentheses around a fraction and have it assume the proper size, do this:
<math> \left(\frac{x}{10}\right)</math>:
75.72.179.139 17:49, 13 November 2008 (UTC)
Hummm... interesting! I will do that! Thank you... (But I still think there is a bug... no one expect to see "\alpha" as result =/) Helder 17:54, 13 November 2008 (UTC)
The bug is happening with any single letter enclosed in <math> </math>. Not only is it not rendering as png even though I have Always render as PNG set, but it's not italicizing the letter as it should. The "\ " workaround still works. Could this be something that's happened in the last week or so? I'm pretty sure I would have noticed if it was doing it the whole time.--RDBury 12:01, 15 November 2008 (UTC)
  • Even if the code is <math>\epsilon \,</math>, the formula is not rendered: . But <math>\epsilon \ </math> really works: Helder 20:14, 19 November 2008 (UTC)

LaTeX symbols

Hello. I'd like to add an alternative layout for the LaTeX symbols. There is a sketch at en:Table of LaTeX symbols ia:Wikipedia:LaTeX symbols. I think that this layout would be very helpful for many people. What is your opinion? --Julian 00:53, 12 November 2008 (UTC)

Very nice layout! Helder 01:23, 12 November 2008 (UTC)