Hard Light Productions Forums

Off-Topic Discussion => General Discussion => Topic started by: Topgun on July 22, 2008, 09:10:07 am

Title: how do right this thing[sub]?[/sub]
Post by: Topgun on July 22, 2008, 09:10:07 am
what do you call a subscript in chemistry? I know what it means but don't now what it's called.
and is there any way to write one in just asci characters? like how you write an exponent is x^2, so how do you write a subscript?
Title: Re: how do right this thing[sub]?[/sub]
Post by: Al Tarket on July 22, 2008, 09:21:18 am
H2O/CO2 such as that?.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Snail on July 22, 2008, 09:44:55 am
H2O/CO2 such as that?.
There's no such thing as CO2, or H2O. It's CO2 and H2O. I really hate it when people do that.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Jeff Vader on July 22, 2008, 10:35:11 am
I really hate it when people do that.
For me it depends on the context. x years ago they were airing an infomercial about some face cream. The trick of the cream, according to the narrator, was that it enriched the oxygen on the skin to O3. And the three was specifically in the superscript. Sounds like one ****ing awesome cream if you ask me.

(Note: the comment above was meant to be a comical interlude. The author of this post knows more than well that proper chemical symbol of oxygen (in its normal, gaseous form) is indeed O2. If necessary (usually when dealing with ions), the superscript can be used to indicate electronic charges. Those, who didn't know, Infomercials are used to sell **** (both figurative and literate) to dumb people. Products in Infomercials are often stated to do things defied by common sense, and even the laws of nature. Concidering that they claimed this cream to "enrich" oxygen (O2) to something else (O3) should make anyone, who's even heard of the word "chemistry", lol. Or be intimidated.

Good day.)
Title: Re: how do right this thing[sub]?[/sub]
Post by: perihelion on July 22, 2008, 11:19:18 am
 :wtf:  I just don't even know where to start...

Snail is dead right, Lobo.  More over, there is a specific meaning in chemistry for numerical superscripts versus subscripts.  I very much doubt that any skin cream is capable of not only dissociating oxygen, but also knocking off 3 electrons to give it a net 3e positive charge.  Not only pretty much impossible, if it were possible, expect pretty severe chemical burns.

Yet another cheap marketing gimmick trying the old, "Hey look!  It's really science!  It's cool!" schtick.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Jeff Vader on July 22, 2008, 12:05:40 pm
I guess the word "Infomercial" didn't say much to you. You know, they had those other awesome products such as Motor-Up, that could bring the engine of a 60-year-old car back to life, Ab-Tronic and other devices with the prefix "Ab-", that would make you look like Arnold Schwarzenegger with little to no effort... the list goes on.

I did take more than one course of chemistry back in high school. And it was included in my previous study program as well. Oh, I'll edit the previous post so that others might notice the sarcastic tone in it.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Topgun on July 22, 2008, 01:28:02 pm
hey this is all good, but it doesn't answer my question.
Title: Re: how do right this thing[sub]?[/sub]
Post by: redsniper on July 22, 2008, 01:38:34 pm
You can't! AHAHAHAHAAAAAAAA!

Seriously, I always did my chemistry work in some kind of word processor that allowed subscripts or just left the number the same size as the letters: H2O, CO2, etc.
Title: Re: how do right this thing[sub]?[/sub]
Post by: colecampbell666 on July 22, 2008, 01:42:42 pm
In MS Word, hilight the letter and right click the number. Go to "Font" and check the"subscript" box.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Herra Tohtori on July 22, 2008, 01:45:33 pm
If you had been reading Al Tarket's message carefully enough you may have noticed a way to do it already... :rolleyes:

H2O / CO2
Title: Re: how do right this thing[sub]?[/sub]
Post by: colecampbell666 on July 22, 2008, 01:49:07 pm
If you had been reading Al Tarket's message carefully enough you may have noticed a way to do it already... :rolleyes:
He wants to do it in MSWord or the equivalent.
Title: Re: how do right this thing[sub]?[/sub]
Post by: redsniper on July 22, 2008, 01:54:55 pm
He wants to do it in MSWord or the equivalent.
Quote from: Topgun
is there any way to write one in just asci characters?
Title: Re: how do right this thing[sub]?[/sub]
Post by: Herra Tohtori on July 22, 2008, 02:05:28 pm
Ah. My bad.

ASCII doesn't support superscript or subscript characters. Unicode does (http://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts), apparently.

H₂O, CO₂.
Title: Re: how do right this thing[sub]?[/sub]
Post by: BloodEagle on July 22, 2008, 02:06:12 pm
No, you can't do it with plain ASCII.

:EDIT:

GAH!! Beat me to it.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Topgun on July 22, 2008, 03:58:38 pm
you can do this in ascii: x^2. I want to do the opposite.
Title: Re: how do right this thing[sub]?[/sub]
Post by: perihelion on July 22, 2008, 05:40:28 pm
@ Lobo:  [peri feels a bit sheepish]

@Topgun: I think the best you are going to do is like H2SO4 if ascii is all you have to work with.
Title: Re: how do right this thing[sub]?[/sub]
Post by: FUBAR-BDHR on July 22, 2008, 05:47:08 pm
If you can use sizing you can cheat and do something like this:

H2O

That 12 point, 6 point, 12 point font.


Also found this:

Quote
The following conventions regarding ChEBI formulae are followed:

    * Unless immediately following a dot '.' any numeral refers to the preceding element in the formula. Example: H2O really means there are two oxygen atoms and one oxygen atom.
    * The dot '.' convention is used when dividing a formula into parts. Any numeral following a dot refers to all the elements within that part of the formula that follow it. Example: C2H3O2.Na.3H2O (CHEBI:32138) really means that after C2H3O2 there is one sodium (Na), six hydrogen and three oxygen atoms.
    * Parentheses are used within ChEBI formulae to mean multiplication of elements.
    * The 'n' convention is used to show an unknown quantity by which a formula is multiplied. For example: (C12H20O11)n from CHEBI:15443 really means that a C12H20O11 unit is multiplied by an unknown quantity.
    * A comma can be used to indicate that there is one or more of the elements divided by the comma but that the exact stoichiometry can vary. For instance, actinolite is a mineral with the chemical formula Ca2(Mg,Fe)5Si8O22(OH)2, which means that it could be anything in the continuous series between Ca2Mg5Si8O22(OH)2 and Ca2Fe5Si8O22(OH)2.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Topgun on July 22, 2008, 06:23:43 pm
okay, I think that will work.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Al Tarket on July 23, 2008, 02:51:48 am
X² there is an ascii character for the small 2
Title: Re: how do right this thing[sub]?[/sub]
Post by: Herra Tohtori on July 23, 2008, 03:12:51 am
X² there is an ascii character for the small 2

Character(or three of them) equals not superscript/subscript support...

I think there are individual superscripted 1, 2 and 3, but no subscript equivalents and no other numerals.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Al Tarket on July 23, 2008, 03:20:52 am
thats correct.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Topgun on July 23, 2008, 11:51:40 am
what are the subscripts called anyways?
Title: Re: how do right this thing[sub]?[/sub]
Post by: Herra Tohtori on July 23, 2008, 12:42:38 pm
Depends of the context, they can be used to notate the number of some atoms in a molecule, or particles in nuclei, as well as a indexes in maths, as well as many other things.

In text formatting context, they are just subscript and superscript text, nothing more special.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Topgun on July 23, 2008, 12:46:57 pm
Depends of the context, they can be used to notate the number of some atoms in a molecule,

when it's that thing.
Title: Re: how do right this thing[sub]?[/sub]
Post by: MP-Ryan on July 23, 2008, 02:36:13 pm
Depends of the context, they can be used to notate the number of some atoms in a molecule,

when it's that thing.

I don't believe there is a formal term for it.

Incidentally, there does exist a convention where typed molecular formuale are considered acceptable if the numerals are written as such:  CO2, H2O.  However, check with your individual instructor first.  For that matter, MS Word is able to subscript individual characters in text:  I believe it's found under Format - Paragraph.  Select the appropriate characters and click the subscript checkbox.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Topgun on July 23, 2008, 03:37:30 pm
well you see, it's for a program I'm writing. I it's supposed to help me do stoichemetry faster.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Herra Tohtori on July 23, 2008, 03:45:00 pm
well you see, it's for a program I'm writing. I it's supposed to help me do stoichemetry faster.


My advice is this: Use pen and paper. You'll gain a lot more practice by doing the reaction equations that way, and you don't need to waste time on making a program for it... and eventually you'll get fast enough in it that the difference to a computer program (to which you would need to manually feed the appropriate values anyway) becomes small enough to be practically insignificant.

Of course, that's assuming you aren't dealing with some complex protein reactions or other stuff like that... :nervous:
Title: Re: how do right this thing[sub]?[/sub]
Post by: Topgun on July 24, 2008, 11:03:18 am
well, they are pretty complex but, I am writing the program mostly just so I won't get rusty, while at the same time, making something useful.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Solatar on July 25, 2008, 01:28:12 am
Just curious, are you trying to write it for a computer or for one of the several graphing calculator models?
Title: Re: how do right this thing[sub]?[/sub]
Post by: Topgun on July 26, 2008, 09:54:30 am
I am writing it for dos :lol:.
Title: Re: how do right this thing[sub]?[/sub]
Post by: Colonol Dekker on July 26, 2008, 10:01:24 am
I miss BASIC :(
Title: Re: how do right this thing[sub]?[/sub]
Post by: Topgun on July 26, 2008, 10:06:54 am
I am using c++.