Life In 19x19
http://prod.lifein19x19.com/

subscripts
http://prod.lifein19x19.com/viewtopic.php?f=14&t=4191
Page 1 of 2

Author:  cyclops [ Fri Jul 08, 2011 3:17 pm ]
Post subject:  subscripts

For my useless OT topic I need subscripts. I saw the "font=" button while editing but I have no idea how to use it to get subscripts.

Author:  Jordus [ Fri Jul 08, 2011 4:08 pm ]
Post subject:  Re: subscripts

not sure if subscripts is supported... but you use the font button like so...

Code:
[font= fontname ]your text[/font]


examples

hello in arial
hello in magneto
hello in papyrus

Author:  Kirby [ Fri Jul 08, 2011 5:11 pm ]
Post subject:  Re: subscripts

I guess you could always try using different font sizes for subscripts. For example:

X0, X1, X2, ..., Xn

Is there a pressing desire for subscripts or superscripts?

Author:  Solomon [ Fri Jul 08, 2011 5:39 pm ]
Post subject:  Re: subscripts

Take it 50 steps further and implement LaTeX :D.

Author:  HermanHiddema [ Sat Jul 09, 2011 3:43 am ]
Post subject:  Re: subscripts

Kirby wrote:
I guess you could always try using different font sizes for subscripts. For example:

X0, X1, X2, ..., Xn

Is there a pressing desire for subscripts or superscripts?



Yes, please! I've been annoyed countless times at the lack of it.

Author:  cyclops [ Sat Jul 09, 2011 4:13 am ]
Post subject:  Re: subscripts

Jordus wrote:
not sure if subscripts is supported... but you use the font button like so...

Code:
[font= fontname ]your text[/font]


examples

hello in arial
hello in magneto
hello in papyrus


This helps of course. Kirby helps also. But then where can I find what fonts are implemented?

Author:  Kirby [ Sat Jul 09, 2011 6:18 am ]
Post subject:  Re: subscripts

cyclops wrote:
...

This helps of course. Kirby helps also. But then where can I find what fonts are implemented?


It just transforms it into a tag that is rendered by your browser. Specifically, it sets the font-family CSS property, I think (http://www.w3schools.com/cssref/pr_font_font-family.asp).

Your browser will attempt to render the text based on the font that you specify in the property, I believe, so I don't think it's a thing that's specific to this forum.

Author:  Kirby [ Sat Jul 09, 2011 6:19 am ]
Post subject:  Re: subscripts

Araban wrote:
Take it 50 steps further and implement LaTeX :D.


The funny thing is, this thought entered my mind as I was posting about subscripts, but I didn't want to jump into that wormhole... :-p

Author:  Kirby [ Sat Jul 09, 2011 6:25 am ]
Post subject:  Re: subscripts

Subscripts should now work by using the "subscript" tag, and superscripts should now work by using the "superscript" tag around the text that you'd like to {sub|super}script.

Here're a couple of examples:
H2O

L192

It'll take a bit longer to get full latex support working...

Author:  HermanHiddema [ Sat Jul 09, 2011 6:36 am ]
Post subject:  Re: subscripts

Can we make that sub/sup? this is rather long.

Author:  Kirby [ Sat Jul 09, 2011 6:43 am ]
Post subject:  Re: subscripts

HermanHiddema wrote:
Can we make that sub/sup? this is rather long.


No problem. I updated it. I was afraid that people might not guess what it was, but I think the help text is probably sufficient.

Author:  HermanHiddema [ Sat Jul 09, 2011 6:50 am ]
Post subject:  Re: subscripts

THANKS!

Author:  Joaz Banbeck [ Sat Jul 09, 2011 8:18 am ]
Post subject:  Re: subscripts

Kirby, while you're under the hood, can you fix the 'sl' tag? It has an extraneous '='.
Thanks

Author:  Kirby [ Sat Jul 09, 2011 9:35 am ]
Post subject:  Re: subscripts

Joaz Banbeck wrote:
Kirby, while you're under the hood, can you fix the 'sl' tag? It has an extraneous '='.
Thanks


Sure, Joaz, but could you provide clarification on the behavior that you'd like? The way the sl tag currently works is that you use the "=" to specify the SL page that you want to go to, and you use what's between the brackets to indicate the text.

For example, you could link to joseki like this.

Author:  Redundant [ Sat Jul 09, 2011 11:52 am ]
Post subject:  Re: subscripts

Kirby wrote:
It'll take a bit longer to get full latex support working...


Not sure if serious, but if you Do this, and those who know latex will be able to win any argument through beautiful typography. Are you sure you want to give this power?

Author:  Kirby [ Sat Jul 09, 2011 11:57 am ]
Post subject:  Re: subscripts

Redundant wrote:
Kirby wrote:
It'll take a bit longer to get full latex support working...


Not sure if serious, but if you Do this, and those who know latex will be able to win any argument through beautiful typography. Are you sure you want to give this power?


Hehe. I don't know, what do you think? Do we want to give people that power? At least we can have an easier time arguing about math.

There are some latex mods for phpbb, so I might not have to do everything manually if I were to get this implemented.

Author:  Redundant [ Sat Jul 09, 2011 12:17 pm ]
Post subject:  Re: subscripts

Kirby wrote:
Redundant wrote:
Kirby wrote:
It'll take a bit longer to get full latex support working...


Not sure if serious, but if you Do this, and those who know latex will be able to win any argument through beautiful typography. Are you sure you want to give this power?


Hehe. I don't know, what do you think? Do we want to give people that power? At least we can have an easier time arguing about math.

There are some latex mods for phpbb, so I might not have to do everything manually if I were to get this implemented.


I really like texing things ... as in I'd probably tex up grocery lists if I did such a thing. It's a really nonessential item for this forum, though.

Author:  Joaz Banbeck [ Sat Jul 09, 2011 2:38 pm ]
Post subject:  Re: subscripts

Kirby wrote:
Joaz Banbeck wrote:
Kirby, while you're under the hood, can you fix the 'sl' tag? It has an extraneous '='.
Thanks


Sure, Joaz, but could you provide clarification on the behavior that you'd like? The way the sl tag currently works is that you use the "=" to specify the SL page that you want to go to, and you use what's between the brackets to indicate the text.

For example, you could link to joseki like this.


Ahhh...I see. It does work. Thanks. I was just using improperly. I assumed that, like most tage, we had to put stuff between the tags. I didn't realize that we had to modify the tag itself.

[sl=]my mistakes look like this[/sl]

Author:  Dusk Eagle [ Sun Jul 10, 2011 6:36 am ]
Post subject:  Re: subscripts

Joaz Banbeck wrote:
Kirby wrote:
Joaz Banbeck wrote:
Kirby, while you're under the hood, can you fix the 'sl' tag? It has an extraneous '='.
Thanks


Sure, Joaz, but could you provide clarification on the behavior that you'd like? The way the sl tag currently works is that you use the "=" to specify the SL page that you want to go to, and you use what's between the brackets to indicate the text.

For example, you could link to joseki like this.


Ahhh...I see. It does work. Thanks. I was just using improperly. I assumed that, like most tage, we had to put stuff between the tags. I didn't realize that we had to modify the tag itself.

[sl=]my mistakes look like this[/sl]


You can use just the 'sl' tag, but it will fail if you use any spaces, so I just always use 'sl='.

As for LaTeX support, I know the xkcd forums have it, so it's definitely possible.

Author:  cyclops [ Sun Jul 10, 2011 9:08 am ]
Post subject:  Re: subscripts

Dusk Eagle wrote:
As for LaTeX support, I know the xkcd forums have it, so it's definitely possible.

Wouldn't it be nice if you could just copy paste this feature from xkcd to L192

Page 1 of 2 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/