PDA

View Full Version : Idea for board feature



VirtualAce
08-08-2006, 10:55 PM
Since math and comp sci are so closely related, would it be possible to implement the following on this board?

1. Superscripts (for exponents)
2. Subscripts (for variable notation)
3. Derivative symbol
4. Summation symbol
5. Integral symbol


I'm sure you can already do this via PHP here, but perhaps we could have an eaiser method.

Right now it is very difficult to write out an equation on here.

SlyMaelstrom
08-08-2006, 11:12 PM
Some of that could be very difficult to implement, particually the integral and summation symbol if you're going to need upper and lower bound numbers, derivative should be easy enough without any help, I would just use f'(x), superscript you can use ^, and subscript, of course, you could use the subscript operator. :) Other than that, I just break out my MS Paint or GIMP and draw up a quick pic of whatever I want to show. It's not too hard.

whiteflags
08-08-2006, 11:33 PM
Well I think Bubba is on to something. :P There are notations for this stuff, I'm not saying that we should be able to write it (as in without some third party piece to generate it) on the board but maybe we could support something like MathML (http://en.wikipedia.org/wiki/MathML).

Or TeX (http://en.wikipedia.org/wiki/TeX). I forgot about that... thought I'd mention it now.

So it looks nice, and you would be able to put equations in context instead of lumped at the bottom with an image. Look at how civil and smart that is.

-shiftily looks around- ...I'm not saying this is a terribly easy idea.

SlyMaelstrom
08-08-2006, 11:59 PM
I think it would also be difficult to ask people to learn the syntax required to properly use those tools. Leaving aside the fact that it may be very difficult and very hazzardous to implement. Have you ever seen a forum support these utilities?

whiteflags
08-09-2006, 12:07 AM
> Have you ever seen a forum support these utilities?
No.
> Leaving aside the fact that it may be very difficult and very hazzardous to implement.
Hazardous is a spooky word. I don't think it's all that 'dangerous', especially since we're only discussing some way of writing math on the board. The most dangerous thing that happens is probably you don't have the right font, and you get some nice boxes instead of math symbols.

Other than that I really don't know who would use it. I just thought it's a nice, possible idea.

anonytmouse
08-09-2006, 12:30 AM
>> Have you ever seen a forum support these utilities? <<

Physics Forums support LaTeX (http://www.physicsforums.com/showpost.php?p=1053485&postcount=3). The syntax (pdf) (http://www.physicsforums.com/misc/howtolatex.pdf) can be pretty complex. Extension (http://www.themathforum.com/math/showthread.php?p=621#post621).

pianorain
08-09-2006, 07:19 AM
This site (http://sciencesoft.at/index.jsp?link=latex&lang=en) will convert LaTeX into images. You can always create the image and then upload it into your post.

psychopath
08-09-2006, 10:12 AM
pianorain, the link in your sig is broken.

pianorain
08-09-2006, 10:19 AM
Does that fix it?

cboard_member
08-09-2006, 11:35 AM
Yes.

Perspective
08-09-2006, 11:43 AM
You mean ∑ and ∫ ?

edit: and ∂

valis
08-09-2006, 12:11 PM
I think it's a great idea bubba, I prefer tex over not tex and I like the idea of stuffing it right in a post.

Decrypt
08-09-2006, 01:47 PM
Does that fix it?
Not for me. Apparently I'm not cool enough. I don't have the correct privileges to see the fancy whatever-you-linked-to.

twomers
08-09-2006, 03:32 PM
You mean ∑ and ∫ ?

edit: and ∂

Oh, what's the ? one for?

Just go into MS word, or whatever, screenshot your equation and IMG it into the thread. Simple!



EDIT - Example given in next page

valis
08-09-2006, 03:46 PM
I assume your font isn't cool enough to display the either the summation, integration, or whatever that stylish backwards 6 I'm not familiar with is. Bitstream displays all three.

edit: here's a mod that adds a bbtag http://www.vbulletin.org/forum/showthread.php?t=91545&highlight=latex

twomers
08-09-2006, 03:49 PM
hi guyz, i'm a noob at c/c++ thing, will some1 give me da code 4 dis? lik, IMO how can it b done? lol

Mario F.
08-09-2006, 03:53 PM
You can always get away with the do-your-own-homework reply

twomers
08-09-2006, 03:56 PM
Dude, I said it was URGENT!! Honestly! What do I have to do to get some code around here


EDIT - I've just noticed, I seem to have what seems to be a Poker hand in my equation! I'd prob fold with it though :(

valis
08-09-2006, 04:01 PM
I realize you have the power to open an editor and save the image, and then attach it or upload it to some server but that's a lot of work compared to just $\lim_{lazy \to \infinity}........(lazy^max)$

Mario F.
08-09-2006, 04:02 PM
At this point it starts to become fun. Expect company pretty soon and still get away with do-your-own-homework reply

EDIT: valis rules!

SlyMaelstrom
08-09-2006, 04:02 PM
I realize you have the power to open an editor and save the image, and then attach it or upload it to some server but that's a lot of work compared to just $\lim_{lazy \to \infinity}........(lazy^max)$It could be less work when you consider that you may need to spend 20 minutes looking at TeX documentation to get the syntax correct.

twomers
08-09-2006, 04:06 PM
I have that power, and I am willing to share it with you Valis! (or is it with a little v, like twomers?)

>> $\lim_{lazy \to \infinity}........(lazy^max)$
That seems like a lot more work to me! It involves having to learn the syntax!! It doesn't even take that long, and I'm sure if you had an equation which you really wanted to solve, and you genuinely didn't know how to do it, it wouldn't be too off putting to screen shot it, open MS Paint, paste it, select what you want and save and upload it, would it?



edit - wow! Slowest reply ever!

Mario F.
08-09-2006, 04:09 PM
EDIT - I've just noticed, I seem to have what seems to be a Poker hand in my equation! I'd prob fold with it though :(

You could at least have shown us a good hand. How can you expect us to help you if you don't give us a good hand? Sheesh!

twomers
08-09-2006, 04:13 PM
You could at least have shown us a good hand. How can you expect us to help you if you don't give us a good hand? Sheesh!

:( my eenglish not is vrey well. Who be the Sheesh! say you! many combusters on fire?



One other option!!! :)

Get your silly TeX syntax, go here (http://rogercortesi.com/eqn/index.php) and submit it! Works happy out for the '$\lim_{lazy \to \infinity}........(lazy^max)$' one, except you don't need the $'s.

Then post this (http://rogercortesi.com/eqn/index.php?filename=tempimagedir%2Feqn1716.png&latextext=%24%5Clim_%7Blazy+%5Cto+%5Cinfinity%7D.. ......%28lazy%5Emax%29%24&outtype=png&bgcolor=white&txcolor=black&res=150&antialias=1)link!

And/OR add the link to the thread.

whiteflags
08-09-2006, 04:51 PM
I suppose that also works. Coming soon will be a longer post explaining how to get the circumference of a moose.

6724

Dave_Sinkula
08-09-2006, 07:21 PM
The Word/ImageShack approach is one I've used; Daniweb uses TeX:
http://www.daniweb.com/techtalkforums/post210536-6.html