LaTeX Learn How to Create Diagonal Maps with Arrows in Latex | Step-by-Step Guide

  • Thread starter Thread starter tgt
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
To create diagonal maps with long arrows in LaTeX, users can utilize the picture environment or diagramming packages. The discussion highlights the diagrams package, which is not included in the standard MikTex installation. Users can obtain it from the author's site, which redirects to a page where the macros can be copied directly to the TEX macros directory. Macros serve as user-defined abbreviations for complex commands and can be included in style files. To implement the diagrams package, users should create a .tex file (e.g., mypaper.tex), place the diagrams.sty file in the same directory, and compile the document using LaTeX. The conversation emphasizes the need for clarity on file management and installation procedures, particularly for those unfamiliar with LaTeX.
tgt
Messages
519
Reaction score
2
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.
 
Physics news on Phys.org
tgt said:
The second link is useful but how to get the 'diagrams package' (so that \begin{diagram} can be used)? It doesn't seem to be on the website.

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.
 
Last edited by a moderator:
robphy said:
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.


what are macros? Where is the TEX macros directory?
 
Last edited by a moderator:
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/
 
robphy said:
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/

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.
 
Compose mypaper.tex (with features based on diagrams.sty.. as described in the documentation).
In the same directory, place diagrams.sty.
latex mypaper
etc...
 
robphy said:
Compose mypaper.tex (with features based on diagrams.sty.. as described in the documentation).
In the same directory, place diagrams.sty.
latex mypaper
etc...

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?
 

Similar threads

Back
Top