Tormod 167,262 Posted December 21, 2007 Report Share Posted December 21, 2007 [math]\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}[/math] Quote Link to post Share on other sites
Tormod 167,262 Posted December 21, 2007 Report Share Posted December 21, 2007 Use the [math] tag, not the [math] tag. Quote Link to post Share on other sites
Tormod 167,262 Posted December 21, 2007 Report Share Posted December 21, 2007 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. Quote Link to post Share on other sites
snoopy 3,602 Posted December 22, 2007 Report Share Posted December 22, 2007 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. Quote Link to post Share on other sites
DiscovererOfNewKnowledge 1,107 Posted September 16, 2008 Report Share Posted September 16, 2008 Thanks for the info Quote Link to post Share on other sites
arkain101 39,288 Posted June 25, 2009 Report Share Posted June 25, 2009 Testing grounds? [math]Ke = \frac{1}{2} mv^2 = 0.5 mv^2[/math] [math]Ke = \frac{2}{2} mv^2 = 1 mv^2 [/math] [math]Ke = \frac{3}{2} mv^2 = 1.5 mv^2 [/math] [math]Ke = \frac{4}{2} mv^2 = 2 mv^2[/math] Quote Link to post Share on other sites
alexander 215,058 Posted June 26, 2009 Author Report Share Posted June 26, 2009 There is a link to practice ground in the initial post, arkain :) Quote Link to post Share on other sites
alexander 215,058 Posted June 26, 2009 Author Report Share Posted June 26, 2009 Just to look cool and show how little life i have: [math]\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}[/math] Note: revision two, now even cooler looking Tormod 1 Quote Link to post Share on other sites
arkain101 39,288 Posted June 30, 2009 Report Share Posted June 30, 2009 Nice! Quote Link to post Share on other sites
alexander 215,058 Posted July 14, 2009 Author Report Share Posted July 14, 2009 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 Lastly you will notice that the [math] tag no longer works at all, and i dont think we are bringing it back, though i should probably make it work like math tags, just so at least some of the formulas will show up :) Quote Link to post Share on other sites
Qfwfq 95,327 Posted July 22, 2009 Report Share Posted July 22, 2009 [math]\left\{\frac{\sum_i A_i}{\sum_j B_j}\right.[/math] alexander 1 Quote Link to post Share on other sites
alexander 215,058 Posted July 22, 2009 Author Report Share Posted July 22, 2009 good one, Qfwfq, you are too good for your own good Quote Link to post Share on other sites
Ben 26,723 Posted September 8, 2009 Report Share Posted September 8, 2009 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. Quote Link to post Share on other sites
alexander 215,058 Posted September 9, 2009 Author Report Share Posted September 9, 2009 but that takes the fun out of LaTex.... Quote Link to post Share on other sites
alexander 215,058 Posted December 3, 2009 Author Report Share Posted December 3, 2009 example of aligning equations from the other tutorial, just so they are almost redundant: [math]\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}[/math] Quote Link to post Share on other sites
inverse 3 Posted September 28, 2016 Report Share Posted September 28, 2016 Dear @alexander ,the formulas that you had written are not matter to understand or interprete.but I have very short time to submit at least a few of my papers these days ,some matters happening.so ,may I ask ; how long does it take to learn it enough this programme ,to write a good paper? (assume please I do not know anything yet :( ) Quote Link to post Share on other sites
sanctus 80,743 Posted September 29, 2016 Report Share Posted September 29, 2016 The easy way to learn latex is find a document written by someone and modify as you go, not too hard and veeery powerful! And you can learn while doing (once you have a tex-doc to modify).If you are not on linux, it needs a bit more to install all the stuff, but there are PLENTY of walkthroughs on the net, just search "install Latex on [your OS]" inverse 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.