LaTeX Can we include a LaTeX package?

  • Thread starter Thread starter Hurkyl
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
The discussion centers on the need for a LaTeX package that simplifies the typesetting of arrow diagrams, as current methods using ASCII art are deemed unattractive and cumbersome. Participants express hope that a user named Matt Grime will recommend a suitable package. It is clarified that basic arrow diagrams can be created using the AMS math package, which is included in standard LaTeX distributions. Examples of arrow typesetting are provided, demonstrating that AMS already supports various arrow commands. However, some users seek more complex diagram capabilities, mentioning the xypic package, which is noted for its complexity, and Paul Taylor's diagrams package as a simpler alternative. The conversation highlights that while AMS is useful, there is still a demand for more advanced diagramming tools in LaTeX.
Hurkyl
Staff Emeritus
Science Advisor
Gold Member
Messages
14,922
Reaction score
28
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.
 
Physics news on Phys.org
Hurkyl said:
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.

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

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

Edit: Hey, it already works!

\dashrightarrow
\rightrightarrows
\int x^2 dx \rightarrow \frac{1}{3}x^3
etc. etc.
 
Last edited by a moderator:
As graphic7 noted, AMS is already included. It is not difficult to include additional packages at all.

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

One simple one I wanted was:

1 \stackrel{\mathrm{true}}{\overrightarrow{\quad \qquad}} \Omega

A more complicated example was:

Code:
1 --> N --> N
|     |     |
V     V     V
1 --> X --> X

(Where I would have liked labels on each arrow too)
 
'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.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
8K
  • · Replies 0 ·
Replies
0
Views
6K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 2 ·
Replies
2
Views
14K