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

Maps with arrows in latex?

  1. Oct 12, 2008 #1

    tgt

    User Avatar

    How to do diagonal maps labeled with a map in Latex? In other words how to do very long arrows that go diagonal, sideways, downwards etc.
     
  2. jcsd
  3. Oct 12, 2008 #2

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Insights Author
    Gold Member

  4. Oct 13, 2008 #3

    tgt

    User Avatar

  5. Oct 13, 2008 #4

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Insights Author
    Gold Member

    I have never used the package myself...
    but following the description in that pdf,
    it says...
    "The diagrams package -
    This is not part of the standard MikTex installation, but you can get it from the
    author’s home page http://www.cs.man.ac.uk/~pt/diagrams/."
    That link leads to
    http://www.cs.man.ac.uk/~pt/diagrams/ which eventually redirects to http://www.monad.me.uk/diagrams/
    which links to a page that says
    "Unlike many other packages there is no "installation procedure" - you just copy the macros themselves to your TEX macros directory" with a link to http://www.monad.me.uk/diagrams/diagrams.sty .
    Try that out and let us know if it works.
     
  6. Oct 14, 2008 #5

    tgt

    User Avatar


    what are macros? Where is the TEX macros directory?
     
  7. Oct 14, 2008 #6

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Insights Author
    Gold Member

    Macros are useful user-defined abbreviations of complicated commands.
    Many are conveniently wrapped into style files or packages.

    Style files can be used by placing the file in the same directory as the .tex source.
    For a more centralized location, there is probably a directory in your tex distribution with lots of .sty files in it.

    Some possibly useful links:
    http://tex.loria.fr/english/packages.html
    http://faq.tug.org/
     
  8. Oct 14, 2008 #7

    tgt

    User Avatar

    Are you able to give some sort of algorithm for what to do? i.e open what file? Where to locate that file. copy what into where? etc.
     
  9. Oct 14, 2008 #8

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Insights Author
    Gold Member

    Compose mypaper.tex (with features based on diagrams.sty.. as described in the documentation).
    In the same directory, place diagrams.sty.
    latex mypaper
    etc...
     
  10. Oct 15, 2008 #9

    tgt

    User Avatar

    I apologise for being so mediocre at computing.

    So first open Latex and save it as 'mypaper.tex'? Then in that document do

    -------------------------------------
    diagrams.sty

    \begin{document}



    \end{document}
    ---------------------------------------

    and that's it?

    then what? Is anything installed at all or downloaded?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Maps with arrows in latex?
  1. LaTeX in PowerPoint (Replies: 2)

  2. Latex Help (Replies: 9)

  3. LaTeX help (Replies: 2)

Loading...