[Discussion]Subscript, superscript, and strikethrough

Moderator: CmdrWilkens

Locked
User avatar
RedImperator
Roosevelt Republican
Posts: 16465
Joined: 2002-07-11 07:59pm
Location: Delaware
Contact:

[Discussion]Subscript, superscript, and strikethrough

Post by RedImperator »

This came up a while back in the HoC, but it somehow never made it onto the Senate's radar, so I'm bringing it up now: A number of users have asked to have strikethrough implemented. Apparently, adding it to the board is dead simple. This page has the instructions. As you can see, it can be done without modding the software or monkeying with the code. I don't see any harm in having it, and I can actually see a few non-comedy applications (such as marking up a draft in Fanfics or the Writer's Guild).

Also, it is apparently just as easy to add superscript and subscript, both of which would be very helpful, in SLAM especially. All in all, implementing all three text options would be fast and easy, has broad popular support and many potentially useful applications, and has no drawbacks.

Your thoughts?
Image
Any city gets what it admires, will pay for, and, ultimately, deserves…We want and deserve tin-can architecture in a tinhorn culture. And we will probably be judged not by the monuments we build but by those we have destroyed.--Ada Louise Huxtable, "Farewell to Penn Station", New York Times editorial, 30 October 1963
X-Ray Blues
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Stark »

This has come up before, and there haven't been any objections; no clarification was provided with regard to who would have to implement it or even if Mike can be assed. I obviously support it, and hopefully it'll get somewhere this time. It's a shame it didn't come up around the php3 move when many other, similar changes were implemented.
User avatar
Coyote
Rabid Monkey
Posts: 12464
Joined: 2002-08-23 01:20am
Location: The glorious Sun-Barge! Isis, Isis, Ra,Ra,Ra!
Contact:

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Coyote »

I like the ideas; consider this a "second" if needed.
Something about Libertarianism always bothered me. Then one day, I realized what it was:
Libertarian philosophy can be boiled down to the phrase, "Work Will Make You Free."


In Libertarianism, there is no Government, so the Bosses are free to exploit the Workers.
In Communism, there is no Government, so the Workers are free to exploit the Bosses.
So in Libertarianism, man exploits man, but in Communism, its the other way around!

If all you want to do is have some harmless, mindless fun, go H3RE INST3ADZ0RZ!!
Grrr! Fight my Brute, you pansy!
User avatar
RedImperator
Roosevelt Republican
Posts: 16465
Joined: 2002-07-11 07:59pm
Location: Delaware
Contact:

Re: [Discussion]Subscript, superscript, and strikethrough

Post by RedImperator »

Stark wrote:This has come up before, and there haven't been any objections; no clarification was provided with regard to who would have to implement it or even if Mike can be assed. I obviously support it, and hopefully it'll get somewhere this time. It's a shame it didn't come up around the php3 move when many other, similar changes were implemented.
As I understand it, any admin could implement it. It doesn't have to be done at the server end.
Image
Any city gets what it admires, will pay for, and, ultimately, deserves…We want and deserve tin-can architecture in a tinhorn culture. And we will probably be judged not by the monuments we build but by those we have destroyed.--Ada Louise Huxtable, "Farewell to Penn Station", New York Times editorial, 30 October 1963
X-Ray Blues
User avatar
Kuja
The Dark Messenger
Posts: 19322
Joined: 2002-07-11 12:05am
Location: AZ

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Kuja »

You actually beat me to it, Red. I was re-reading some of the old threads in the Senate and the House the other night after I was seeing that thing in people's sigs and I thought "wait, didn't we talk about that?"

So, I was turning it over in my head how to make a post to bring it back up and you went ahead and did it for me. Love you, you bastard.

But yes, joking aside, I would see this as a positive addition to the board and I'm all for it.
Image
JADAFETWA
User avatar
Imperial Overlord
Emperor's Hand
Posts: 11978
Joined: 2004-08-19 04:30am
Location: The Tower at Charm

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Imperial Overlord »

I am in favor of it.
The Excellent Prismatic Spray. For when you absolutely, positively must kill a motherfucker. Accept no substitutions. Contact a magician of the later Aeons for details. Some conditions may apply.
User avatar
Thanas
Magister
Magister
Posts: 30779
Joined: 2004-06-26 07:49pm

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Thanas »

Quick question - has anyone ever contacted an admin about this?
Whoever says "education does not matter" can try ignorance
------------
A decision must be made in the life of every nation at the very moment when the grasp of the enemy is at its throat. Then, it seems that the only way to survive is to use the means of the enemy, to rest survival upon what is expedient, to look the other way. Well, the answer to that is 'survival as what'? A country isn't a rock. It's not an extension of one's self. It's what it stands for. It's what it stands for when standing for something is the most difficult! - Chief Judge Haywood
------------
My LPs
User avatar
RedImperator
Roosevelt Republican
Posts: 16465
Joined: 2002-07-11 07:59pm
Location: Delaware
Contact:

Re: [Discussion]Subscript, superscript, and strikethrough

Post by RedImperator »

Thanas wrote:Quick question - has anyone ever contacted an admin about this?
I take it from the deafening silence nobody has.
Image
Any city gets what it admires, will pay for, and, ultimately, deserves…We want and deserve tin-can architecture in a tinhorn culture. And we will probably be judged not by the monuments we build but by those we have destroyed.--Ada Louise Huxtable, "Farewell to Penn Station", New York Times editorial, 30 October 1963
X-Ray Blues
User avatar
Thanas
Magister
Magister
Posts: 30779
Joined: 2004-06-26 07:49pm

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Thanas »

*Snicker* So instead of someone taking the easiest way out of this there has to be weeks and weeks of people waiting for the options to be implemented? Instead we have more discussion?

For the record, I am going to contact one admin right now so that this can be resolved.
Whoever says "education does not matter" can try ignorance
------------
A decision must be made in the life of every nation at the very moment when the grasp of the enemy is at its throat. Then, it seems that the only way to survive is to use the means of the enemy, to rest survival upon what is expedient, to look the other way. Well, the answer to that is 'survival as what'? A country isn't a rock. It's not an extension of one's self. It's what it stands for. It's what it stands for when standing for something is the most difficult! - Chief Judge Haywood
------------
My LPs
User avatar
AdmiralKanos
Lex Animata
Lex Animata
Posts: 2648
Joined: 2002-07-02 11:36pm
Location: Toronto, Ontario

Re: [Discussion]Subscript, superscript, and strikethrough

Post by AdmiralKanos »

Hmmm, new codes, eh?

OK, let's check try this out.

I just drank around 355 cm3 of root beer, since plain H2O is too boring.

Cool?
For a time, I considered sparing your wretched little planet Cybertron.
But now, you shall witnesss ... its dismemberment!

Image
"This is what happens when you use trivia napkins for research material"- Sea Skimmer on "Pearl Harbour".
"Do you work out? Your hands are so strong! Especially the right one!"- spoken to Bud Bundy
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Darth Wong »

Now if there were only a practical way to depict equations on a BBcode forum. Superscript and subscript help, but what's really needed is a way to show fractions. Mathematical symbols would be nice too, but the lack of fractions is what makes even a fairly simple equation look really confusing onscreen.
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
User avatar
Coyote
Rabid Monkey
Posts: 12464
Joined: 2002-08-23 01:20am
Location: The glorious Sun-Barge! Isis, Isis, Ra,Ra,Ra!
Contact:

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Coyote »

You da man, DW! [/Bachmann] :wink:
Something about Libertarianism always bothered me. Then one day, I realized what it was:
Libertarian philosophy can be boiled down to the phrase, "Work Will Make You Free."


In Libertarianism, there is no Government, so the Bosses are free to exploit the Workers.
In Communism, there is no Government, so the Workers are free to exploit the Bosses.
So in Libertarianism, man exploits man, but in Communism, its the other way around!

If all you want to do is have some harmless, mindless fun, go H3RE INST3ADZ0RZ!!
Grrr! Fight my Brute, you pansy!
User avatar
AdmiralKanos
Lex Animata
Lex Animata
Posts: 2648
Joined: 2002-07-02 11:36pm
Location: Toronto, Ontario

Re: [Discussion]Subscript, superscript, and strikethrough

Post by AdmiralKanos »

Hmmm, as long as we're talking about math, let's try this:

y=x+3
For a time, I considered sparing your wretched little planet Cybertron.
But now, you shall witnesss ... its dismemberment!

Image
"This is what happens when you use trivia napkins for research material"- Sea Skimmer on "Pearl Harbour".
"Do you work out? Your hands are so strong! Especially the right one!"- spoken to Bud Bundy
User avatar
AdmiralKanos
Lex Animata
Lex Animata
Posts: 2648
Joined: 2002-07-02 11:36pm
Location: Toronto, Ontario

Re: [Discussion]Subscript, superscript, and strikethrough

Post by AdmiralKanos »

Damn, it only looks right on Firefox. I wonder if it's worth keeping.
For a time, I considered sparing your wretched little planet Cybertron.
But now, you shall witnesss ... its dismemberment!

Image
"This is what happens when you use trivia napkins for research material"- Sea Skimmer on "Pearl Harbour".
"Do you work out? Your hands are so strong! Especially the right one!"- spoken to Bud Bundy
User avatar
RedImperator
Roosevelt Republican
Posts: 16465
Joined: 2002-07-11 07:59pm
Location: Delaware
Contact:

Re: [Discussion]Subscript, superscript, and strikethrough

Post by RedImperator »

Thanas wrote:*Snicker* So instead of someone taking the easiest way out of this there has to be weeks and weeks of people waiting for the options to be implemented? Instead we have more discussion?
That's how we roll.
Image
Any city gets what it admires, will pay for, and, ultimately, deserves…We want and deserve tin-can architecture in a tinhorn culture. And we will probably be judged not by the monuments we build but by those we have destroyed.--Ada Louise Huxtable, "Farewell to Penn Station", New York Times editorial, 30 October 1963
X-Ray Blues
User avatar
CmdrWilkens
Emperor's Hand
Posts: 9093
Joined: 2002-07-06 01:24am
Location: Land of the Crabcake
Contact:

Re: [Discussion]Subscript, superscript, and strikethrough

Post by CmdrWilkens »

AdmiralKanos wrote:Damn, it only looks right on Firefox. I wonder if it's worth keeping.
I don't know how often we present square roots but its certainly neat enough I'd say go with it.
Image
SDNet World Nation: Wilkonia
Armourer of the WARWOLVES
ASVS Vet's Association (Class of 2000)
Former C.S. Strowbridge Gold Ego Award Winner
MEMBER of the Anti-PETA Anti-Facist LEAGUE

"I put no stock in religion. By the word religion I have seen the lunacy of fanatics of every denomination be called the will of god. I have seen too much religion in the eyes of too many murderers. Holiness is in right action, and courage on behalf of those who cannot defend themselves, and goodness. "
-Kingdom of Heaven
User avatar
Thanas
Magister
Magister
Posts: 30779
Joined: 2004-06-26 07:49pm

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Thanas »

I suspect the vast majority of users is using Firefox anyway.
Whoever says "education does not matter" can try ignorance
------------
A decision must be made in the life of every nation at the very moment when the grasp of the enemy is at its throat. Then, it seems that the only way to survive is to use the means of the enemy, to rest survival upon what is expedient, to look the other way. Well, the answer to that is 'survival as what'? A country isn't a rock. It's not an extension of one's self. It's what it stands for. It's what it stands for when standing for something is the most difficult! - Chief Judge Haywood
------------
My LPs
User avatar
AdmiralKanos
Lex Animata
Lex Animata
Posts: 2648
Joined: 2002-07-02 11:36pm
Location: Toronto, Ontario

Re: [Discussion]Subscript, superscript, and strikethrough

Post by AdmiralKanos »

Just added the ability to input HTML special characters (the type that are coded in HTML with an ampersand and a semicolon (for example, &#deg; in HTML becomes °, ie- the degree symbol). They normally don't work in BBcode forums because the ampersand is automatically converted into the HTML entity &, which is why this BBcode is necessary in order to display them. For example:

÷ = divide
© = copy
µ = micro
· = middot
¶ = para
± = plusmn
€ = euro
£ = pound
® = reg
§ = sect
™ = trade
“ = ldquo
” = rdquo
← = larr
↑ = uarr
→ = rarr
↓ = darr
° = deg
² = sup2
³ = sup3
½ = frac12
¼ = frac14
¾ = frac34
Ø = Oslash
α = alpha
β = beta
Δ = Delta
ζ = zeta
θ = theta
π = pi
ρ = rho
Σ = Sigma
σ = sigma
Ω = Omega
ω = omega

It should also work for unicodes:
∞ = #8734
∫ = #8747
∴ = #8756
∼ = #8764
≅ = #8733
≠ = #8800
⨯ = #10799
⅓ = #8531
⅔ = #8532
⅕ = #8533
⅖ = #8534
⅗ = #8535
⅘ = #8536
⅙ = #8537
⅚ = #8538
⅛ = #8539
⅜ = #8540
⅝ = #8541
⅞ = #8542

So now, we can write E=½mv² and f(x)=∫(x² - cos(x)) dx without having to use superscripts and subscripts or copy and pasting symbols from a word processor and hoping they work on everyones' browsers. Of course, this doesn't work for more complicated situations, so you still need the superscripts and subscripts for that.
For a time, I considered sparing your wretched little planet Cybertron.
But now, you shall witnesss ... its dismemberment!

Image
"This is what happens when you use trivia napkins for research material"- Sea Skimmer on "Pearl Harbour".
"Do you work out? Your hands are so strong! Especially the right one!"- spoken to Bud Bundy
User avatar
Surlethe
HATES GRADING
Posts: 12267
Joined: 2004-12-29 03:41pm

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Surlethe »

Oh, that's beautiful. I wonder if it would be easy to write a python module to render simple LaTeX into embedded images.
A Government founded upon justice, and recognizing the equal rights of all men; claiming higher authority for existence, or sanction for its laws, that nature, reason, and the regularly ascertained will of the people; steadily refusing to put its sword and purse in the service of any religious creed or family is a standing offense to most of the Governments of the world, and to some narrow and bigoted people among ourselves.
F. Douglass
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Re: [Discussion]Subscript, superscript, and strikethrough

Post by phongn »

Surlethe wrote:Oh, that's beautiful. I wonder if it would be easy to write a python module to render simple LaTeX into embedded images.
You rang?
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Darth Wong »

Personally, I find the use of embedded images to be a necessary but unfortunate kludge. I would vastly prefer a more elegant form of markup where the equation is actually coded as text instead of simply being turned into an image. Unfortunately, HTML is just horrendous at equations (ironic since it was originally invented by academic and scientific types rather than the mass-media types who now rely so heavily on it).
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Re: [Discussion]Subscript, superscript, and strikethrough

Post by phongn »

Darth Wong wrote:Personally, I find the use of embedded images to be a necessary but unfortunate kludge. I would vastly prefer a more elegant form of markup where the equation is actually coded as text instead of simply being turned into an image. Unfortunately, HTML is just horrendous at equations (ironic since it was originally invented by academic and scientific types rather than the mass-media types who now rely so heavily on it).
There is a markup called MathML but it isn't well-supported right now. However, W3C is working on using CSS to overcome the lack of native support and there are some early testbeds available.
User avatar
The Yosemite Bear
Mostly Harmless Nutcase (Requiescat in Pace)
Posts: 35211
Joined: 2002-07-21 02:38am
Location: Dave's Not Here Man

Re: [Discussion]Subscript, superscript, and strikethrough

Post by The Yosemite Bear »

yaaa, the thread has outgeeked the bots!!!

too much talk about actual coding, has caused the bots to loose interest in this thread.
Image

The scariest folk song lyrics are "My Boy Grew up to be just like me" from cats in the cradle by Harry Chapin
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Re: [Discussion]Subscript, superscript, and strikethrough

Post by Kuroneko »

Suggestion: it would be slightly less troublesome if superscript bbcodes were simply sup ... /sup instead of super ... /super. For compatibility with prior posts, perhaps this can be an addition rather than a replacement of an existing code.

Test: Tαβ = (ρ+p/c²)uαuβ + pgαβ.

--- Addendum:
Instant Sunrise wrote:Actually, changing it wouldn't affect posts already made at all. Since the board software only parses for BBCode at the time of posting, not afterwards.

So changing superscript from to [sup] would not affect existing posts, only posts made or edited after the change was implemented.

I figured this out after strikethrough was implemented, posts that used the strikethrough tag before the change was rolled out were unchanged until the post was edited.

Huh. Does this mean that phpBB actually keeps two copies of each post--a pre-processed and post-processed one? I don't think it reverse-parses it when the post is about to be edited, because it seems to keep the difference between, say, and (which have the same effect on the text).
"The fool saith in his heart that there is no empty set. But if that were so, then the set of all such sets would be empty, and hence it would be the empty set." -- Wesley Salmon
Locked