# Help talk:Displaying a formula

*Please add new topics to the bottom of this page*

## Contents

- 1 LaTeX symbols
- 2 Converting LaTeX to SVG
- 3 some vandalism
- 4 Results of a formula
- 5 Long arrows
- 6 For reference: TeX to SVG via DVI and EPS
- 7 please, add support for comparision symbols!
- 8 description for \left| and \right| ???
- 9 Displaying ampersand (&)
- 10 Integer
- 11 Html????
- 12 ????
- 13 Translation system
- 14 Mediawiki math markup interpretation upgrade: generate MathML (not PNG) and automatically embed hyperlinks for each symbol

## LaTeX symbols[edit]

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)

## Converting LaTeX to SVG[edit]

I posted this suggestion at the talk page on Wikipedia. If you have any suggestions, please respond there. Ryan Reich 00:11, 14 January 2009 (UTC)

## some vandalism[edit]

There is some spam/vandalism with some "kpss"-links on this help page, which sometimes replaced old links. Example: [1]. I currently don't have time to search all original link targets. --95.208.4.121 21:25, 17 May 2009 (UTC)

## Results of a formula[edit]

I am working on Tables for a Wiki that I am wondering if i could get the results to display. this article appears to work for displaying the formula itself. I am building a Template and when an editor/creator fills in the field of the template, it will populate a cell in the table with the value. --Christopher.perkins 18:07, 11 September 2009 (UTC)

- For doing computations see Help:Calculation and mw:Help:Extension:ParserFunctions. The syntax of the formulas is different from that for displaying a formula .--Patrick (talk) 21:02, 11 September 2009 (UTC)

## Long arrows[edit]

How can that ugly rendering of the long arrows be fixed? -- 79.217.232.40 20:01, 24 November 2009 (UTC)

## For reference: TeX to SVG via DVI and EPS[edit]

Here’s an alternative way of going from TeX to SVG, of some use in commutative diagrams. It’s not useful for most purposes, hence I’m removing it from the main page (as I was the one who put it there), but is of some reference value, so I include it here:

latex comm.tex dvips -E -y 2500 -o comm.eps comm.dvi eps2eps -dNOCACHE comm.eps comm2.eps pstoedit -f sk comm2.eps comm.sk inkscape -z -f comm.sk -l comm.svg # pstoedit -f svg comm2.eps comm.svg # this may also work

- “These produce a DVI file, convert it to EPS (rescaling by 2.5x), convert fonts to outlines, and convert to SVG via Sketch. One advantage is that rescaling makes smaller or more complex diagrams more legible, as xy-pic normally sizes for printed matter.”
- Nbarth 11:06, 2 December 2009 (UTC)

## please, add support for comparision symbols![edit]

those symbols are in unicode and a way much easier to input than use google to find some indirect way to math-syntax help! symbols are "≤" and "≥" Tex was designed for old-time punch cards, that lacked maaaany symbols. Now that symbols are given, please make use of them! —*The preceding unsigned comment was added by* 93.157.184.200 (talk • contribs) 15 December 2009.

- Even if texvc supported those characters in "math" code (which it apparently doesn't), many people would still not be able to generate those characters on their keyboards... - dcljr (talk) 08:53, 28 April 2012 (UTC)

## description for \left| and \right| ???[edit]

no help on "absolute value" standard math function. and shouldn't it be in TeX somthing like \abs{value} ? —*The preceding unsigned comment was added by* 93.157.184.200 (talk • contribs) 15 December 2009.

- The absolute value function is implemented using the vertical bar (
`|`). It can be used with \left and \right. See "Bars and double bars" under Parenthesizing big expressions, brackets, bars. I've added a parenthetical remark on the help page. - dcljr (talk) 08:46, 28 April 2012 (UTC)

## Displaying ampersand (&)[edit]

When I try \&, I get a can't parse error. How does one get a displayed ampersand?

Thanks. Russ Abbott 04:01, 17 May 2011 (UTC)

## Integer[edit]

How do you get, say 2,424÷1,000, to display as a whole number i.e. 2?--Launchballer (talk) 05:07, 27 February 2013 (UTC)

- For computations see Help:Calculation. You can use round or trunc.--Patrick (talk) 08:02, 27 February 2013 (UTC)

## Html????[edit]

Newbie reader here, quite confused by the use of "html" in this article. Near as I can tell, what's being called "html" looks like a wiki macro called math. (Certainly when I copy the "html" into a notepad file, save it as html and open it with my browser.... well, it doesn't look at all like a formula should. If there are straight html tags that one can use, even when the math macro isn't available, I'd sure like to know about them.) And... in the meantime, maybe the "html" coding, should be renamed wiki-macro coding. I doubt it works anywhere except on wikimedia sites. 173.206.176.77 22:43, 3 April 2013 (UTC)

- The article distinguishes between html and the special TeX code between math tags.--Patrick (talk) 23:17, 3 April 2013 (UTC)

## ????[edit]

Formula in MathJax displays good, but in PNG displays bad. Here is a source of the formula:

\begin{matrix} \mbox{trilelea} &=& 100 \underbrace{????…????} \\ & & 99 \underbrace{????…????} \\ & & 98 \underbrace{????…????} \\ & & \,\,\qquad\vdots\qquad\,\, \\ & & 4 \underbrace{????…????}\\ & & 3?? \\ \end{matrix}

Trilelea (talk) 19:56, 14 June 2013 (UTC)

## Translation system[edit]

What do you think about enabling the Translate extension on this page? It is a lot easier to update the translations using it... Helder 13:12, 20 November 2013 (UTC)

## Mediawiki math markup interpretation upgrade: generate MathML (not PNG) and automatically embed hyperlinks for each symbol[edit]

Probably the most unhelpful part of Wikipedia is its implementation of mathematical formulae (the generation of static images from math markup prevents user interaction). For a general user encountering a new equation, they are often shown a) various undefined operators/functions, and b) various undefined variables/constants. I suggest the following updates to Mediawiki/Wikipedia to extend its high level of usability to its interpretation of math markup;

a) i. Latex format should be retained for user equation editing, however the equation renderer must be updated substantially. The Latex code should be converted by the Mediawiki server to MathML before being sent to the client's browser. Users without native MathML support should be encouraged to update to a W3C standards compliant browser asap (e.g. Firefox). ii. Wikipedia should automatically generate MathML hyperlinks for every operator/operation/function (e.g. <msqrt href="en.wikipedia.org/wiki/Square_root">) and variable/constant (e.g. <mi href="en.wikipedia.org/wiki/Euclidean_vector">x</mi>) in the formula.

b) Consider creating a new Wikipedia Template specific to ambiguous mathematical formulae (with one or more undefined variable/constant) called "Template:Definition needed".

Richardbrucebaxter (talk) 00:40, 19 December 2013 (UTC)