# LaTeX Fomulas: Math v2.0

31 replies to this topic

### #18 Tormod

Tormod

Hypographer

• Members
• 14353 posts

Posted 21 December 2007 - 08:19 AM

$\setlength{\unitlength}{5cm} \begin{picture}(1,1) \put(0,0){\line(0,1){1}} \put(0,0){\line(1,0){1}} \put(0,0){\line(1,1){1}} \put(0,0){\line(1,2){.5}} \put(0,0){\line(1,3){.3333}} \put(0,0){\line(1,4){.25}} \put(0,0){\line(1,5){.2}} \put(0,0){\line(1,6){.1667}} \put(0,0){\line(2,1){1}} \put(0,0){\line(2,3){.6667}} \put(0,0){\line(2,5){.4}} \put(0,0){\line(3,1){1}} \put(0,0){\line(3,2){1}} \put(0,0){\line(3,4){.75}} \put(0,0){\line(3,5){.6}} \put(0,0){\line(4,1){1}} \put(0,0){\line(4,3){1}} \put(0,0){\line(4,5){.8}} \put(0,0){\line(5,1){1}} \put(0,0){\line(5,2){1}} \put(0,0){\line(5,3){1}} \put(0,0){\line(5,4){1}} \put(0,0){\line(5,6){.8333}} \put(0,0){\line(6,1){1}} \put(0,0){\line(6,5){1}} \end{picture}$

### #19 Tormod

Tormod

Hypographer

• Members
• 14353 posts

Posted 21 December 2007 - 08:20 AM

Use the $tag, not the [math] tag. ### #20 Tormod Tormod Hypographer • Members • 14353 posts Posted 21 December 2007 - 08:23 AM If you're pasting the code from somewhere, then you are getting font stuff from that program. Use notepad or something similar to clean up the code. ### #21 snoopy snoopy Understanding • Members • 261 posts Posted 22 December 2007 - 03:32 PM Thanks Tormod I think it will take me a while to get used to the math or latex syntax, but thanks for helping, its much appreciated. ### #22 DiscovererOfNewKnowledge DiscovererOfNewKnowledge Thinking • Members • 23 posts Posted 15 September 2008 - 09:05 PM Thanks for the info ### #23 arkain101 arkain101 Creating • Members • 1913 posts Posted 25 June 2009 - 04:54 PM Testing grounds? [math]Ke = \frac{1}{2} mv^2 = 0.5 mv^2$

$Ke = \frac{2}{2} mv^2 = 1 mv^2$

$Ke = \frac{3}{2} mv^2 = 1.5 mv^2$

$Ke = \frac{4}{2} mv^2 = 2 mv^2$

### #24 alexander

alexander

Dedicated Smart-ass

• Members
• 5722 posts

Posted 25 June 2009 - 06:23 PM

There is a link to practice ground in the initial post, arkain

### #25 alexander

alexander

Dedicated Smart-ass

• Members
• 5722 posts

Posted 25 June 2009 - 08:55 PM

Just to look cool and show how little life i have:

$\setlength{\unitlength}{1mm} \begin{picture}(250,200) % This is merely for reference %\multiput(0, 0)(7.5, 0){5}{\line(0, 1){20}} %\multiput(0, 0)(0, 5){5}{\line(1, 0){30}} \thicklines \put(5.5, 5.5){\line(1, 5){2.2}} \put(11.5, 5.5){\line(1, 5){.85}} \put(13, 12){\line(1, 5){0.75}} \put(18, 6){\line(1, 5){1.75}} \put(22, 6){\line(1, 5){1.75}} \put(13, 12){\line(1, 0){4.5}} \put(12.5, 10){\line(1, 0){4.5}} \qbezier(17, 10)(19, 11)(17.5, 12) \qbezier(5.5, 5.5)(7.5, 3)(11, 5.5) \qbezier(18, 6)(19.5, 4.5)(21.5, 6) \qbezier(7.7, 16.5)(10.5, 18.5)(13, 15.5) \qbezier(19.5,14.9)(21, 17)(23.75,14.9) \end{picture}$

Note: revision two, now even cooler looking

### #26 arkain101

arkain101

Creating

• Members
• 1913 posts

Posted 30 June 2009 - 04:08 AM

Nice!

### #27 alexander

alexander

Dedicated Smart-ass

• Members
• 5722 posts

Posted 14 July 2009 - 07:20 AM

Ok, couple of new things i have so far found with this version of latex:

\left now requires \right, this is sort of a bummer sometimes, i know, but get used to it... (yes that means that you have to provide a right delimiter as well, no it cant be empty for some reason)

in arrays, the next array space delimiter i.e going to the second c in {c c} is a single & (it will scream at a double with a random issue "Extra alignment tab has been changed to \cr")

By the way, you will notice that latex now shows you the error message, sometimes googling it is not a bad idea, or for a quick outline of the most common errors, have a quick glimpse at this page here: Common LaTeX Errors

### #29 alexander

alexander

Dedicated Smart-ass

• Members
• 5722 posts

Posted 22 July 2009 - 07:20 AM

good one, Qfwfq, you are too good for your own good

### #30 Ben

Ben

Questioning

• Members
• 211 posts

Posted 08 September 2009 - 10:58 AM

If, like me, you have some equally geeky mates, this equation editor ( Warning: this is a download, maybe check Ronan's website first) allows you to compose Latex equations and drag/drop them in compiled form into your mailer (or OpenOffice, for that matter).

Beauty of Ubuntu - just click and all the dependencies come too, all correctly assigned. If you already have tetex and/or livetex, nothing is corrupted, as far as I can tell. 38 files are automatically downloaded and installed, ~30min on my rig

Open with the command "eqe" in your terminal. I like it a lot.

### #31 alexander

alexander

Dedicated Smart-ass

• Members
• 5722 posts

Posted 08 September 2009 - 08:52 PM

but that takes the fun out of LaTex....

### #32 alexander

alexander

Dedicated Smart-ass

• Members
• 5722 posts

Posted 03 December 2009 - 01:54 PM

example of aligning equations from the other tutorial, just so they are almost redundant:

$\begin{split}E^2-(pc)^2&=(m_0c^2)^2\\E^2&=(m_0c^2)^2+(pc)^2\\E&=\sqrt{(m_0c^2)^2+(pc)^2}\\E&=c\times\sqrt{(m_0c)^2+p^2}\\\text{where } p=\gamma m_0v\\E&=c\times\sqrt{m_0^2c^2+\gamma ^2m_0^2v^2}\\E&=m_0c\times\sqrt{c^2+\gamma v^2}\end{split}$