1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Latex Math Equations

Discussion in 'Mathematics and Physics' started by ElectroMaster, Sep 25, 2006.

  1. ElectroMaster

    ElectroMaster Administrator

    Joined:
    Jul 5, 2002
    Messages:
    2,057
    Likes:
    127
    Location:
    Broadbeach, AU
    Latex is a typesetting system which allows you to generate simple to complex math equations that can't be created using normal text formats. You basically write your equation in the latex language and it translates it displays it correctly.

    The language can get quite complex but the basics are easy. You can pick it up pretty quickly, so get stuck in!

    Here are a few examples:

    Example 1:

    Code (text):
    [latex]\int[/latex]
    TIP: Try clicking the math expression. It will popup a box showing you how it was created.

    Example 2:

    Code (text):
    [latex]\Large e^x=\lim_{n\to\infty} \left(1+\frac~xn\right)^n[/latex]
    Example 2:

    Code (text):
    [latex]\mathcal{F}_{x} [\sin(2\pi k_0 x)](k) = \int_{-\infty}^{\infty} e^{-2\pi ikx} \left( \frac{e^{2\pi ik_{0}x} - e^{-2\pi ik_{0}x}}{2i} \right) dx[/latex]
    Some easy reading (joke):
    Latex Symbols
    Latex AMS Math Documentation

    For further reading:
    http://www.latex-project.org/
    http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/
     

    Attached Files:

    Last edited: Sep 16, 2013
    • Like Like x 1
  2. Hero999

    Hero999 Banned

    Joined:
    Apr 6, 2006
    Messages:
    14,902
    Likes:
    79
    Location:
    England
    Wow this looks cool but it is a little is tricky!

    Let's start with something a bit more simple first.

     
    Last edited by a moderator: Dec 13, 2012
  3. ElectroMaster

    ElectroMaster Administrator

    Joined:
    Jul 5, 2002
    Messages:
    2,057
    Likes:
    127
    Location:
    Broadbeach, AU
    Yes it is very advanced stuff but its quite fun to learn.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. evandude

    evandude New Member

    Joined:
    Oct 1, 2003
    Messages:
    1,395
    Likes:
    5
    Location:
    Maine, USA

    Electromaster, do you perhaps have a website you could refer us to where we can read about the specifics (limitations, syntax changes, etc) of this forum-oriented LaTeX module?
     
    Last edited by a moderator: Feb 15, 2011
  6. ElectroMaster

    ElectroMaster Administrator

    Joined:
    Jul 5, 2002
    Messages:
    2,057
    Likes:
    127
    Location:
    Broadbeach, AU
    Last edited: Feb 15, 2011
  7. Hero999

    Hero999 Banned

    Joined:
    Apr 6, 2006
    Messages:
    14,902
    Likes:
    79
    Location:
    England
    Just experimenting with a few simple formulae.









    This isn't that difficult. I feel I'm comfortable with enough to get by and I'll still need to RTFM every now and the but it's easy when you know how. I'd rather use Latex than have to attach formula generated by Writer, it saves the copy and pasting.
     
    Last edited by a moderator: Jun 14, 2011
  8. bloody-orc

    bloody-orc New Member

    Joined:
    Aug 23, 2004
    Messages:
    723
    Likes:
    4
    Location:
    Estonia
    testing import from Maple:
    [ latex ]
    F={\frac {kq_{{1}}q_{{2}}}{{r}^{2}}}
    [ /latex ]

     
    Last edited by a moderator: Jun 14, 2011
  9. bananasiong

    bananasiong New Member

    Joined:
    Mar 7, 2006
    Messages:
    1,893
    Likes:
    7
    Location:
    Malaysia
    Testing:



     
    Last edited by a moderator: Jun 14, 2011
  10. bloody-orc

    bloody-orc New Member

    Joined:
    Aug 23, 2004
    Messages:
    723
    Likes:
    4
    Location:
    Estonia
    what is wrong with my latex commands? sometimes they work but sometimes they dont (my pervious post)
     
  11. bananasiong

    bananasiong New Member

    Joined:
    Mar 7, 2006
    Messages:
    1,893
    Likes:
    7
    Location:
    Malaysia
    Yes it works!!



    You should enter like this:
    [ latex]F={\frac {kq_{{1}}q_{{2}}}{{r}^{2}}}[/latex]
    [ latex]F={\frac {kq_{{1}}q_{{2}}}{{r}^{2}}}[/latex]

    with no space in front of the word "latex"
     
    Last edited by a moderator: Jun 14, 2011
  12. bloody-orc

    bloody-orc New Member

    Joined:
    Aug 23, 2004
    Messages:
    723
    Likes:
    4
    Location:
    Estonia
    haha! got it. i had the latex statements before and after the code but they were on sepperate lines than the code itself (like when writing quotes etc...

    was like this:
    [lateks]
    code
    [/lateks]
     
  13. Hero999

    Hero999 Banned

    Joined:
    Apr 6, 2006
    Messages:
    14,902
    Likes:
    79
    Location:
    England
    You can actually get vb code to displaty by using [plain][/plain] tags, just wrap them around the code you want to display.

    For example you can prevent codes from being converted to smilies.

    [plain];) :D :o :) :( :confused: :mad: :p :rolleyes: :eek: [/plain]
     
    Last edited by a moderator: Sep 14, 2013
  14. Stronghold_2

    Stronghold_2 New Member

    Joined:
    Mar 7, 2007
    Messages:
    6
    Likes:
    0
    Factorise this one please.

    I have been troubled by this factorisation sum for quite some time now. Please help me.

    /frac{/sqrt{2a^{2}b^{2}+2b^{2}c^{2}+2a^{2}c^{2}-a^{4}-b^{4}-c^{4}}}{4}
     
    Last edited: Mar 10, 2007
  15. Hero999

    Hero999 Banned

    Joined:
    Apr 6, 2006
    Messages:
    14,902
    Likes:
    79
    Location:
    England
    Please post a picture of the formula you want; use an easy to use program such as MS Equation for Word or OpenOffice Math.
     
  16. Stronghold_2

    Stronghold_2 New Member

    Joined:
    Mar 7, 2007
    Messages:
    6
    Likes:
    0
    I tried Hero999, but it would not upload. Anyways, sorry for the trouble.

    Factorise:

    (2 a square b square + 2 b square c square + 2 a square c square - a raised to the power of 4 - b raised to the power of 4 - c raised to the power of 4) / 16. The whole expression is under root.

    Sorry, because the sum is in words.
     
  17. Hero999

    Hero999 Banned

    Joined:
    Apr 6, 2006
    Messages:
    14,902
    Likes:
    79
    Location:
    England
    For some reason the Latex on this form requires an variable/number followed by an equals sign.

    For example, you can have:

    or:

    But you can't have:

    or even something simple like:


    I suppose a + b doesn't make much sense on its own.
     
    Last edited by a moderator: Oct 12, 2007
  18. Stronghold_2

    Stronghold_2 New Member

    Joined:
    Mar 7, 2007
    Messages:
    6
    Likes:
    0
    Latex

    I do not not understand what you express. However, that is beside the point. Could you please help my with me problem. I do not seem to get it.
     
    Last edited by a moderator: Oct 12, 2007
  19. Hero999

    Hero999 Banned

    Joined:
    Apr 6, 2006
    Messages:
    14,902
    Likes:
    79
    Location:
    England
    I meant that Latex on this forum won't let you have:
    a + b

    you need to have:
    c = a + b

    This means that what you want to do won't work unless you have an = sign somewhere in-between some numbers or variables.
     
  20. 43617373

    43617373 New Member

    Joined:
    Oct 14, 2007
    Messages:
    45
    Likes:
    0
    Location:
    BC Canada








    Edit: thanks eng1
     
    Last edited: Apr 20, 2008
  21. eng1

    eng1 New Member

    Joined:
    Apr 7, 2006
    Messages:
    951
    Likes:
    19
    Location:
    Italy
    Like this?
    :)
    Use curly brackets to surrond expressions, like y^2.
     

Share This Page