# Can we include a LaTeX package?

1. Apr 10, 2005

### Hurkyl

Staff Emeritus
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. Apr 10, 2005

### graphic7

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.

$$\dashrightarrow$$
$$\rightrightarrows$$
$$\int x^2 dx \rightarrow \frac{1}{3}x^3$$
etc. etc.

Last edited by a moderator: May 2, 2017
3. Apr 10, 2005

### chroot

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

- Warren

4. Apr 10, 2005

### Hurkyl

Staff Emeritus
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 (Text):

1 --> N --> N
|     |     |
V     V     V
1 --> X --> X

(Where I would have liked labels on each arrow too)

5. Apr 11, 2005

### matt grime

'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.