Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

LaTeX Alternative

  1. Sep 1, 2005 #1
    I have seen some posts here where people write equations similar to how they would be written in a text-editor (subscripts, superscripts, etc.) rather than in LaTeX. It seems a little "cleaner" and easier to incorporate into a sentence. Is there a certain type of code for this on these forums or is it done by copy-and-paste?
  2. jcsd
  3. Sep 2, 2005 #2


    User Avatar
    Gold Member

    [tex]\mbox{what d_o \ yo^u \ mean?}[/tex] :biggrin:
    Last edited: Sep 2, 2005
  4. Sep 2, 2005 #3


    User Avatar
    Gold Member

    You can use special tags, which are part of PF, or you can use some character codes, which can be used anywhere.

    Some tags: superscript, subscript, and maybe some others. These have the form [ tag ] your text [/ tag ], without the spaces. To see them, just quote the person's post. The tags that they used will show up in the quoted message.

    Some code: ∀x(Px → ¬Qx), Gödel. These have the form & # numbers ; or & letters ;, without the spaces. For example, & # 172 ; and & rarr ;. To see these, right-click on the page and select View Source (or View Page Source). To find the code, you just have to search (use your browser's Find tool). You can also find these codes online; Just google 'character code OR sets' for a start. For the codes that will work for the most people on PF, add 'iso' to your search. :smile:
  5. Sep 2, 2005 #4

    Tom Mattson

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    FYI we have not one, but two sets of TeX tags. One of them (called "inline TeX") is meant to fit neatly into a sentence. Check it out.

    Using [ tex ]...[ /tex ] tags (without the spaces):

    Einstein said that [tex]E=mc^2[/tex].

    Looks icky in a sentence, right?

    Now use [ itex ]...[ /itex ] tags (again, without the spaces):

    Einstein said that [itex]E=mc^2[/itex].

    NOW how much would you pay? Wait, don't answer yet, we'll even throw in this FREE set of GinsuTM steak knives! :biggrin:
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook