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

Can we include a LaTeX package?

  1. Apr 10, 2005 #1


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    How hard would it be to include another LaTeX package?

    It would be nice to have a LaTeX package that allows for easy typesetting of arrow diagrams... ASCII art is ugly, and it's messy to do even simple diagrams with what we have...

    Hopefully matt grime will suggest a package and where you could get it.
  2. jcsd
  3. Apr 10, 2005 #2


    User Avatar
    Gold Member

    Are you referring to arrow diagrams such as:

    --> a --> b --> c

    If so, this is part of the basic AMS math package, which is standard in any LaTeX distribution (as far as I know).

    http://www.devel.lyx.org/~rae/www-user/help/symbols/ams-arrows.gif [Broken]

    If the AMS package could be included every rendering, you could certainly use these arrows.

    Edit: Hey, it already works!

    [tex]\int x^2 dx \rightarrow \frac{1}{3}x^3[/tex]
    etc. etc.
    Last edited by a moderator: May 2, 2017
  4. Apr 10, 2005 #3


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    As graphic7 noted, AMS is already included. It is not difficult to include additional packages at all.

    - Warren
  5. Apr 10, 2005 #4


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    I was looking for some more complicated things... for instance, look here

    One simple one I wanted was:

    [tex]1 \stackrel{\mathrm{true}}{\overrightarrow{\quad \qquad}} \Omega[/tex]

    A more complicated example was:

    Code (Text):

    1 --> N --> N
    |     |     |
    V     V     V
    1 --> X --> X
    (Where I would have liked labels on each arrow too)
  6. Apr 11, 2005 #5

    matt grime

    User Avatar
    Science Advisor
    Homework Helper

    'The' package is xypic, but this can be difficult to learn. A simpler one is Paul Taylor's diagrams package. All latex packages are at ctan.org. AMS latex stuff does have limited se to typset some diagrams.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook