Template talk:Oiiint
To get the LaTeX code we have to right click on three PNGs
[edit]Can we put a transparent rectangle covering the three PNGs so that we can right click to access all the LaTex at once? — TentaclesTalk or ✉ mailto:Tentacles 00:35, 12 April 2016 (UTC)
- I don't think so; how would you get the LaTeX?
-- [[User:Edokter]] {{talk}}
10:54, 12 April 2016 (UTC)
The code
:<span class="nowrap">{{oiiint | preintegral = <math alt="\frac{1}{\sqrt{2\pi}} \oiiint_{\Omega} \frac{\partial F}{\partial s} \, {\rm d}\Sigma">\frac{1}{\sqrt{2\pi}}</math> | intsubscpt = <math alt="\frac{1}{\sqrt{2\pi}} \oiiint_{\Omega} \frac{\partial F}{\partial s} \, {\rm d}\Sigma">{\scriptstyle \Omega}</math> | integrand = <math alt="\frac{1}{\sqrt{2\pi}} \oiiint_{\Omega} \frac{\partial F}{\partial s} \, {\rm d}\Sigma">\frac{\partial F}{\partial s} \, {\rm d}\Sigma</math> }}</span>
yields (right-click, then select "Info about image" shows all the LaTeX in "Associated text", except on the integral symbol image)
Now
:[[File:OiiintLaTeX.svg|x44px|alt=\frac{1}{\sqrt{2\pi}} \oiiint_{\Omega} \frac{\partial F}{\partial s} \, {\rm d}\Sigma|link=]]
yields (right-click, then select "Info about image" shows all the LaTeX in "Associated text")
We could implement this if {{{preintegral|}}} {{{intsubscpt|}}} {{{integrand|}}}
didn't include the <math>...</math>
tags and we let the template do it. Unfortunately we can't use the {{#invoke:String|replace|...}}
Lua module to remove the <math>
and </math>
tags, because they are already parsed and rendered as PNGs. — TentaclesTalk or ✉ mailto:Tentacles 19:13, 12 April 2016 (UTC)
- it doesn’t here with Safari. It’s not a standard feature of web browsers that I know. If anyone cannot view the images then they have the option of rendering math as mathematical formulae in their preferences. If someone is interested in a particular formula they can edit the page source to view it.--JohnBlackburnewordsdeeds 20:06, 12 April 2016 (UTC)
- You're right, it only works with Firefox. Unfortunately, IE and Chrome don't seem to support that feature. — TentaclesTalk or ✉ mailto:Tentacles 20:51, 12 April 2016 (UTC)