Can we include a LaTeX package?

  • LaTeX
  • Thread starter Hurkyl
  • Start date
  • Tags
    Latex
In summary, the conversation discusses the need for a LaTeX package that allows for easy typesetting of arrow diagrams. It is mentioned that ASCII art is messy and difficult to use for diagrams. It is also noted that the basic AMS math package already includes some arrow symbols. However, more complex diagrams can be achieved using packages such as xypic or Paul Taylor's diagrams package, which can be found on ctan.org.
  • #1

Hurkyl

Staff Emeritus
Science Advisor
Gold Member
14,981
26
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
  • #2
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 [Broken]

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

Edit: Hey, it already works!

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

- Warren
 
  • #4
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:
1 --> N --> N
|     |     |
V     V     V
1 --> X --> X

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

1. Can we include a LaTeX package in our research paper?

Yes, you can include a LaTeX package in your research paper. LaTeX packages are used to add additional functionality and formatting options to your document, which can be useful for scientific papers. However, it is important to check with the journal or publication guidelines to ensure that the specific package you want to use is allowed.

2. How do we include a LaTeX package in our document?

To include a LaTeX package in your document, you need to use the "\usepackage{package name}" command in the preamble of your document. This will load the package and make its features available for use in your document.

3. Are there any limitations to including LaTeX packages in our document?

There are some limitations to including LaTeX packages in your document. Some packages may not be compatible with each other, so it is important to check for any conflicts before using multiple packages. Additionally, some packages may not be allowed by certain journals or publications, so it is important to check their guidelines before including a package in your document.

4. Can we customize the settings of a LaTeX package?

Yes, you can customize the settings of a LaTeX package. Many packages come with customizable options that allow you to adjust the formatting or functionality to fit your specific needs. These options can usually be specified in the "\usepackage" command in the preamble of your document.

5. Are there any alternative ways to achieve the same results as a LaTeX package?

Yes, there may be alternative ways to achieve similar results as a LaTeX package. Depending on the specific functionality you are looking for, there may be built-in features or other packages that can be used instead. It is always a good idea to research and compare different options before deciding on a specific package for your document.

Suggested for: Can we include a LaTeX package?

Replies
1
Views
770
Replies
3
Views
676
Replies
10
Views
889
Replies
0
Views
791
Replies
4
Views
133
Replies
8
Views
1K
Replies
7
Views
1K
Replies
2
Views
855
Replies
12
Views
665
Replies
3
Views
704
Back
Top