Wikipedia talk:Manual of Style/Superscripts and subscripts: Difference between revisions

Content deleted Content added
Apply to article title?: use displaytitle
Lost semantic integrity: :: Thanks for your reply. Of course we can't have all thousands of Unicode characters on our keyboards, but they are available by many other means, most ostensibly the insert section at the bottom of this edit window. And searching for "2" (two) should not find "²" (square), they do not have the same meaning. The Wikipedia search should be fixed, but it is a problem of its own.--~~~~
Line 23:
I'm pretty surprised of this guideline: the [[semantic integrity]] of the super/subscript is lost to favour rendering hacks. The real meaning is lost by using <code>&lt;sup&gt;</code> or <code>&lt;sub&gt;</code>: when copy-pasting the example w{{sup|i}}x{{sup|2}}z{{sup|(n + 6)}} <small>[<nowiki>w{{sup|i}}x{{sup|2}}z{{sup|(n + 6)}}</nowiki>]</small> you end up with <code>wix2z(n + 6)</code> while the unicode wⁱx²z⁽ⁿ⁺⁶⁾ stays <code>wⁱx²z⁽ⁿ⁺⁶⁾</code>. Presentation shortcomings should be treated separately (by using a different font or by automatically enlarging/shifting sub/superscript to a more visible size, I don't know precisely, I'm no expert) Plus the wikitext is easier to edit in unicode. It's not 2010 anymore, unicode support is great everywhere!--[[User:Marc Lacoste|Marc Lacoste]] ([[User talk:Marc Lacoste|talk]]) 09:43, 9 September 2019 (UTC)
:Unicode causes many complications, for example in my browser I cannot type those suffix Unicode characters and I only know to copy and paste them from elsewhere. Also searching for "2" does not find "²". The Wikipedia search treats "²" as if it didn't exist, though a regex search can spot it. [[User:Graeme Bartlett|Graeme Bartlett]] ([[User talk:Graeme Bartlett|talk]]) 11:26, 9 September 2019 (UTC)
:: Thanks for your reply. Of course we can't have all thousands of [[Unicode]] characters on our keyboards, but they are available by many other means, most ostensibly the insert section at the bottom of this edit window. And searching for "2" (two) should not find "²" (square), they do not have the same meaning. The Wikipedia search should be fixed, but it is a problem of its own.--[[User:Marc Lacoste|Marc Lacoste]] ([[User talk:Marc Lacoste|talk]]) 13:26, 9 September 2019 (UTC)