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

Confused with LaTex

  1. Jun 27, 2017 #1
    I have no clue how to use it. Can someone tell me in a basic way? Also provide links for downloading?

    Note, I haven't even downloaded it. I recently downloaded MikeTex but have no idea how to start this all out. I need this for writing a research paper.
     
  2. jcsd
  3. Jun 27, 2017 #2

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    It should have a manual.

    While you can start with an empty .tex file, it is probably advisable to look for a template you like. Download it, compile it. Once you made that work, put in your content.
     
  4. Jun 27, 2017 #3

    fresh_42

    Staff: Mentor

    There is a short introduction here:
    https://www.physicsforums.com/help/latexhelp/

    It's also an idea, which I used a lot at the beginning, to click "reply" and simply see how it's done. You only have to be aware to delete it again instead of posting it. Also your drafts will automatically be remembered, such that the "reply" might stay in the box if you will answer again in this thread. The "preview" function in the edit box is also very helpful.

    To look up symbols, I use
    http://detexify.kirelabs.org/symbols.html

    and for spacing sometimes
    https://www.sharelatex.com/learn/Spacing_in_math_mode

    If you want to use it privately, a TeX editor might be of help. There are some available on the net. I like TeXStudio, but it has slightly different shortcuts for ##\text{[tex][\tex]}## and similar which makes it incompatible to the library installed on PF. But I usually don't change the platforms.
    If you want to install a library on a server yourself, you have to google for them. I think there are free ones, too, but I haven't checked, for I don't run a public server.

    If you start to use LaTex on PF more frequently, or even if you use a TeX editor, then it's convenient to (re-)program Windows shortcuts. Auto-Hotkey is an example for a tiny script program that does that. Thus you can insert an entire text as e.g. ##\text{ \partial }## or ##\text{ \longrightarrow }## with only one key-combination as Alt+p or so. Just make sure not to override the shortcuts you normally use as Ctrl+C and similar.
     
  5. Jun 27, 2017 #4

    fresh_42

    Staff: Mentor

    I don't know about MikeTex, but if you like I can give you a tex-file (written with TeXStudio).
     
  6. Jun 27, 2017 #5
    Oh so is Tex a program or what? I am still very confused here. I am planning to write a series of mathematical papers and I would like to learn this Tex business in order to do that. Those guides don't tell me how to get started but if helps @fresh_42 you can give me a Tex-file and/or PM with instructions. I'd appreciate it vastly. :)
     
  7. Jun 28, 2017 #6

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    It is a markup language like HTML or forum codes.

    Various programs convert TeX files to PDFs, MiKTeX is one of them.
     
  8. Jun 28, 2017 #7

    DrClaude

    User Avatar

    Staff: Mentor

  9. Jun 28, 2017 #8

    jtbell

    User Avatar

    Staff: Mentor

    On this forum we use LaTeX only for writing individual equations in posts. For writing a complete document in LaTeX, probably using one of the standard styles for research papers, you need more information than is in our primer that fresh_42 linked to. I've never used LaTeX for a complete document myself, but if you Google for "how to write latex documents" you'll get a lot of hits to introductory tutorials.
     
  10. Jun 28, 2017 #9
    Folks I recently began using this last night: https://www.overleaf.com/

    It's great but I have several issues. For instance, I tried the template for Annals of Mathematics and I kept getting several errors. Even when I fixed the error the error message still kept showing up.
     
  11. Jun 28, 2017 #10

    DrClaude

    User Avatar

    Staff: Mentor

    I'm a frequent user of Overleaf. The errors you are getting are probably related to the fact that you are new to LaTeX. I would start with a simpler document (see my previous post).
     
  12. Jun 28, 2017 #11

    Demystifier

    User Avatar
    Science Advisor

    Try to delete all the auxiliary files, i.e. those that do not have a .tex extension, and then process your .tex file again, twice. Does the error message still shows?
    If it does, try to copy-paste the error message into a google search, you might get a useful advice for that particular error.
     
  13. Jun 28, 2017 #12

    DrClaude

    User Avatar

    Staff: Mentor

    You can't do that on Overleaf. However, when you get an error, you have the option "recompile from scratch," which is essentially the same thing.
     
  14. Jun 28, 2017 #13

    Demystifier

    User Avatar
    Science Advisor

    Well, I never used Overleaf. :doh:
     
  15. Jun 28, 2017 #14
    Any better alternatives to Overleaf that are better?
     
  16. Jun 28, 2017 #15

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    The templates offered by Overleaf should compile. If they do not, send a mail to the support team, they seem to be quite competent and help even if you don't pay for the service. Or choose a different template. For a research paper, the free version is probably sufficient. You are quite limited in the number of files you can upload, but usually you don't need that many anyway.
     
  17. Jun 28, 2017 #16
    I think I will be better off using something else since it seems kind of hard and tedious to do either way. My goal is to publish to the Annals of Mathematics.
     
  18. Jun 28, 2017 #17

    fresh_42

    Staff: Mentor

    I assume journals in general and the Annals in special have their own rules, how a text has to be edited. I'd try to figure them out in advance. Maybe they even offer a skeleton with text size, titles and so on.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Confused with LaTex
  1. How to graph in Latex ? (Replies: 10)

  2. MacTeX vs LaTeX (Replies: 3)

  3. Latex in ereaders (Replies: 1)

Loading...