Author Topic: Typing math  (Read 17000 times)

0 Members and 1 Guest are viewing this topic.

Offline Mchl

  • Staff Alumni
  • Freak!
  • *
  • Posts: 8,582
  • Gender: Male
  • That's Largo in my avatar, not me.
    • View Profile
    • FlingBits
Re: Typing math
« Reply #30 on: May 11, 2009, 05:01:55 PM »
I, on the other hand, love singularity
NetBeans fanatic | ExtJS masochist | C++ denier
PHP4 & MySQL4 are no longer supported.
PHPFreaks Tutorials | PHP Debugging: A Beginner's guide | PHP Security Tutorial || How To Ask Questions The Smart Way
Flingbits tutorials | Class Autoloading

Offline sasa

  • Guru
  • Fanatic
  • *
  • Posts: 3,011
  • Gender: Male
    • View Profile
Re: Typing math
« Reply #31 on: May 11, 2009, 05:34:31 PM »
look this[tex]\[
\begin{array}{l}
 S = 1 + 2 + 4 + 6 + 8 +  \ldots  \\
 2S = 2 + 4 + 6 + 16 +  \ldots  \\
 S = 1 + 2S \\
 S - 2S = 1 \\
 S =  - 1 \\
 \end{array}
\]
[/tex]

Offline corbin

  • Guru
  • Freak!
  • *
  • Posts: 7,951
  • Gender: Male
    • View Profile
Re: Typing math
« Reply #32 on: May 11, 2009, 09:08:31 PM »
I should just run away from this forum.



lol.
Why doesn't anyone ever say hi, hey, or whad up world?

Offline Ken2k7

  • Freak!
  • Posts: 5,174
    • View Profile
Re: Typing math
« Reply #33 on: May 11, 2009, 09:10:53 PM »
look this[tex]\[
\begin{array}{l}
 S = 1 + 2 + 4 + 6 + 8 +  \ldots  \\
 2S = 2 + 4 + 6 + 16 +  \ldots  \\
 S = 1 + 2S \\
 S - 2S = 1 \\
 S =  - 1 \\
 \end{array}
\]
[/tex]
Sorry sasa, math errors. You got 2S wrong.
Quote from: Slaytanist
A programmer who shys away from elegant tricks will never be more than competent at best. Ego and a desire to attempt the impossible are traits of most great coders.

Offline sasa

  • Guru
  • Fanatic
  • *
  • Posts: 3,011
  • Gender: Male
    • View Profile
Re: Typing math
« Reply #34 on: May 12, 2009, 12:06:32 AM »
sorry
i mean

[tex]\[
\begin{array}{l}
 S = 1 + 2 + 4 + 8 + 16 + 32 +  \ldots  \\
 2S = 2\left( {1 + 2 + 4 + 8 + 16 +  \ldots } \right) = 2 + 4 + 8 + 16 + 32 \ldots  \\
 S = 1 + 2S \\
 S =  - 1 \\
 \end{array}
\]
[/tex]

Offline GingerRobot

  • Guru
  • Fanatic
  • *
  • Posts: 4,133
  • Gender: Male
  • Call me Ben
    • View Profile
Re: Typing math
« Reply #35 on: May 12, 2009, 04:30:18 AM »
The error in the proof being that you've ignored the last term of S2.

Offline enedene

  • Irregular
  • Posts: 2
    • View Profile
Re: Typing math
« Reply #36 on: June 11, 2009, 03:57:27 AM »
How would I implement latex on my site (much simpler than BB)?
And once implemented how would I use it?

I use Ubuntu Linux.

Offline Daniel0Topic starter

  • Administrator
  • 'Insane!'
  • *
  • Posts: 11,815
  • Gender: Male
  • ^bb|[^b]{2}$
    • View Profile
Re: Typing math
« Reply #37 on: June 11, 2009, 04:01:35 AM »
The bbcode here simply just passes the TeX string to an external parser. Actually doing it from scratch is less trivial (search Google). There is also jsMath, which you can use.

Offline Ken2k7

  • Freak!
  • Posts: 5,174
    • View Profile
Re: Typing math
« Reply #38 on: June 12, 2009, 12:55:08 AM »
I still have NO idea how to type using those BB Codes. How can you guys remember them?
Quote from: Slaytanist
A programmer who shys away from elegant tricks will never be more than competent at best. Ego and a desire to attempt the impossible are traits of most great coders.

Offline Daniel0Topic starter

  • Administrator
  • 'Insane!'
  • *
  • Posts: 11,815
  • Gender: Male
  • ^bb|[^b]{2}$
    • View Profile
Re: Typing math
« Reply #39 on: June 12, 2009, 03:11:25 AM »
I've used them extensively when writing math for other purposes. LaTeX is a typesetting language that only has semantic meaning, kind of like HTML has. Things like typography, layout, hyphenation, etc. is done automatically.

Offline GingerRobot

  • Guru
  • Fanatic
  • *
  • Posts: 4,133
  • Gender: Male
  • Call me Ben
    • View Profile
Re: Typing math
« Reply #40 on: June 12, 2009, 06:19:23 AM »
LaTeX is also used extensively in scientific papers, journals and the like. I guess i'm really going to have to get to grips with it at some point.

Offline Daniel0Topic starter

  • Administrator
  • 'Insane!'
  • *
  • Posts: 11,815
  • Gender: Male
  • ^bb|[^b]{2}$
    • View Profile
Re: Typing math
« Reply #41 on: June 12, 2009, 06:43:46 AM »
There is an editor called LyX which you can use if you don't feel like typing it in plain text. I believe they call it a WYSIWYM (what you see is what you mean) editor. I think it's available on all platforms. You can of course also just use vim and the CLI.

Offline PugJr

  • Devotee
  • Posts: 663
  • Gender: Male
  • Puggy!
    • View Profile
Re: Typing math
« Reply #42 on: June 13, 2009, 01:23:50 PM »
[tex]\sum_{n = 0}^\infty \frac{1}{n!} = \lim_{n\to\infty} \left(1+\frac{1}{n}\right)^n = e[/tex]

Testing...Hey thats cool. I think I'm gonna impress some newbies with that. Maybe get some forum points or something.
« Last Edit: June 13, 2009, 01:24:34 PM by PugJr »

Offline Daniel0Topic starter

  • Administrator
  • 'Insane!'
  • *
  • Posts: 11,815
  • Gender: Male
  • ^bb|[^b]{2}$
    • View Profile
Re: Typing math
« Reply #43 on: September 18, 2009, 07:27:50 AM »
Updated to use jsMath. See first post for more info.

Offline PHP_Idiot

  • Enthusiast
  • Posts: 95
    • View Profile
Re: Typing math
« Reply #44 on: October 17, 2009, 06:58:29 PM »
Wow and there's me still trying to work out how to do simple division across two tables!!