lak Posted November 17, 2007 Share Posted November 17, 2007 I want to put some maths terms like, A2(A sqaure) .How to put square, cube .If i type that a2, its coming in same line only. Link to comment Share on other sites More sharing options...
Synook Posted November 17, 2007 Share Posted November 17, 2007 There are <sup> and <sub> tags, so you can have A<sup>2</sup> Link to comment Share on other sites More sharing options...
Reg Edit Posted November 17, 2007 Share Posted November 17, 2007 There are <sup> and <sub> tags, so you can haveA<sup>2</sup> Another way to output the superscript 2 symbol (and other symbols) is to use HTML entities:& sup2; NOTE There should not be a space after the "&". That's just what I had to do to make the code post here. If you look at the HTML entities reference you'll see there's no space really. Link to comment Share on other sites More sharing options...
Synook Posted November 18, 2007 Share Posted November 18, 2007 Like this - ⊃ Link to comment Share on other sites More sharing options...
Reg Edit Posted November 18, 2007 Share Posted November 18, 2007 Like this - ⊃That wouldn't work, would it? The number "2" is part of the html entity. Link to comment Share on other sites More sharing options...
Shonumi Posted November 18, 2007 Share Posted November 18, 2007 Why not test it then? Yup, works just fine. ⊃ and ² are the same things, in function at least. It's more or less that the shorthand is ⊃ because most commonly you'd be doing things in math, particularly algebra, with 2nd degrees. ³ is for 3rd degree expressions and such. ⊃ and ² have different entity numbers and names, even though both serve the same purpose.http://webref.info/?ID=12105http://webref.info/?ID=12055 Link to comment Share on other sites More sharing options...
Reg Edit Posted November 18, 2007 Share Posted November 18, 2007 Why not test it then? Yup, works just fine. ⊃ and ² are the same things, in function at least. It's more or less that the shorthand is ⊃ because most commonly you'd be doing things in math, particularly algebra, with 2nd degrees. ³ is for 3rd degree expressions and such. ⊃ and ² have different entity numbers and names, even though both serve the same purpose.http://webref.info/?ID=12105http://webref.info/?ID=12055 I find it strange that you say that, because according to your links, they are not the same thing at all! The one without a 2 doesn't render a superscript 2, but instead renders a "superset of" symbol: ⊃ Link to comment Share on other sites More sharing options...
Synook Posted November 19, 2007 Share Posted November 19, 2007 Hmm! Browser differences or encoding problems? Link to comment Share on other sites More sharing options...
Reg Edit Posted November 19, 2007 Share Posted November 19, 2007 Hmm! Browser differences or encoding problems? what does your browser/encoding produce then, when you view the above links?When I view http://webref.info/?ID=12055, my browser displays an info page with the text "Superscript 2", in the category "Numbering Characters". When I view http://webref.info/?ID=12105, my browser displays an info page with the text "Superset Of", in the category "Advanced Mathematical Symbols".Is there another reference, that really does show & sup being superscript 2? It would be nice to get a definitive answer on this. Link to comment Share on other sites More sharing options...
Shonumi Posted November 20, 2007 Share Posted November 20, 2007 Why not test it then? Yup, works just fine. ⊃ and ² are the same things, in function at least. I find it strange that you say that, because according to your links, they are not the same thing at all!Proper reading of my posts is much appreciated. I even said they were different entities... Link to comment Share on other sites More sharing options...
Synook Posted November 20, 2007 Share Posted November 20, 2007 Oh well - use sup2; - it works Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.