This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Thumbnail boxes for images have a "right" or "left" function that moves the image-box all the way to the right or left page border. In LaTeX or for this template "Equation Box 1" that works fine for the LEFT border. But what to do, if you'd like a boxed equation (or even a non-boxed one) to go to the RIGHT border, as (for example) part of the introductory infobox-like illustration of an article? Turns out this is hard. You can use enough colons in the Equation Box 1 template to move your equation "all the way over to the right" but if you do, you find that with some other browser your equation box is now not displayed where you wanted it, but is either too far right or not far enough. There is no function to get an equation to display all the way to the right border in any browser, that I can find.
Anybody know of a way to do this? S B H arris 01:35, 25 April 2013 (UTC)
< div >
like this:
<div align="right">{{equation box 1|indent=|equation=<math>E=mc^2</math>}}</div>
A leading colon is not a valid way of indenting anything. It introduces a description list, and using them this way is first of all invalid HTML (definitions must be preceded by at least one term), and second it is an accessibility error (see MOS:INDENTGAP). Hairy Dude ( talk) 12:50, 3 March 2019 (UTC)
:
or ::
to the indent
parameter it is automatically translated to a CSS margin property; no definition list should be generated.
User:GKFX
talk
18:49, 30 June 2019 (UTC)The equation text is in white over a white background in the android app using the dark theme. You can see this visiting Definite matrix in the android app. Miguelsxvi ( talk) 10:50, 31 May 2023 (UTC)
title
parameter defaults to black text and isn't configurable. This creates a black title on a black background as in
Dirac Equation.
JScherer-WMF (
talk)
16:59, 22 July 2024 (UTC)This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Thumbnail boxes for images have a "right" or "left" function that moves the image-box all the way to the right or left page border. In LaTeX or for this template "Equation Box 1" that works fine for the LEFT border. But what to do, if you'd like a boxed equation (or even a non-boxed one) to go to the RIGHT border, as (for example) part of the introductory infobox-like illustration of an article? Turns out this is hard. You can use enough colons in the Equation Box 1 template to move your equation "all the way over to the right" but if you do, you find that with some other browser your equation box is now not displayed where you wanted it, but is either too far right or not far enough. There is no function to get an equation to display all the way to the right border in any browser, that I can find.
Anybody know of a way to do this? S B H arris 01:35, 25 April 2013 (UTC)
< div >
like this:
<div align="right">{{equation box 1|indent=|equation=<math>E=mc^2</math>}}</div>
A leading colon is not a valid way of indenting anything. It introduces a description list, and using them this way is first of all invalid HTML (definitions must be preceded by at least one term), and second it is an accessibility error (see MOS:INDENTGAP). Hairy Dude ( talk) 12:50, 3 March 2019 (UTC)
:
or ::
to the indent
parameter it is automatically translated to a CSS margin property; no definition list should be generated.
User:GKFX
talk
18:49, 30 June 2019 (UTC)The equation text is in white over a white background in the android app using the dark theme. You can see this visiting Definite matrix in the android app. Miguelsxvi ( talk) 10:50, 31 May 2023 (UTC)
title
parameter defaults to black text and isn't configurable. This creates a black title on a black background as in
Dirac Equation.
JScherer-WMF (
talk)
16:59, 22 July 2024 (UTC)