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

  • Context: LaTeX 
  • Thread starter Thread starter tgt
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion revolves around creating diagonal maps with arrows in LaTeX, focusing on the use of specific packages and environments for diagramming. Participants explore different methods and resources for implementing these features in their LaTeX documents.

Discussion Character

  • Technical explanation
  • Homework-related
  • Debate/contested

Main Points Raised

  • One participant inquires about how to create diagonal maps with arrows in LaTeX, seeking guidance on various orientations for arrows.
  • Some participants suggest using the picture environment and reference external diagramming packages, providing links to resources.
  • A participant expresses uncertainty about obtaining the diagrams package, noting it is not included in the standard MikTeX installation and shares a link to the author's page for further information.
  • Another participant elaborates on the process of accessing the diagrams package, mentioning the need to copy macros to the TEX macros directory, but does not clarify what macros are or where this directory is located.
  • One participant defines macros as user-defined abbreviations for complex commands and explains how style files can be utilized in LaTeX documents.
  • Another participant requests a step-by-step algorithm for the installation and usage of the diagrams package, indicating a need for clearer instructions.
  • Participants discuss the structure of a sample LaTeX document that incorporates diagrams.sty, but there is uncertainty about whether any installation or downloading is required.

Areas of Agreement / Disagreement

There is no consensus on the best method for creating diagonal maps with arrows in LaTeX, and participants express varying levels of familiarity with the necessary packages and installation processes.

Contextual Notes

Participants have not fully clarified the installation process for the diagrams package, and there is ambiguity regarding the specific steps needed to utilize macros and style files in 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

  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
18
Views
3K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 9 ·
Replies
9
Views
5K