maps with arrows in latex?


by tgt
Tags: arrows, latex, maps
tgt
tgt is offline
#1
Oct12-08, 09:43 AM
P: 470
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.
Phys.Org News Partner Science news on Phys.org
Lemurs match scent of a friend to sound of her voice
Repeated self-healing now possible in composite materials
'Heartbleed' fix may slow Web performance
robphy
robphy is offline
#2
Oct12-08, 03:08 PM
Sci Advisor
HW Helper
PF Gold
robphy's Avatar
P: 4,107
use the picture environment
(e.g. http://www.ursoswald.ch/LaTeXGraphic...e/picture.html )

or some diagramming package
(e.g. http://www.jmilne.org/not/CDGuide.pdf )
tgt
tgt is offline
#3
Oct13-08, 07:46 AM
P: 470
Quote Quote by robphy View Post
use the picture environment
(e.g. http://www.ursoswald.ch/LaTeXGraphic...e/picture.html )

or some diagramming package
(e.g. http://www.jmilne.org/not/CDGuide.pdf )
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.

robphy
robphy is offline
#4
Oct13-08, 08:51 AM
Sci Advisor
HW Helper
PF Gold
robphy's Avatar
P: 4,107

maps with arrows in latex?


Quote Quote by tgt View Post
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.
tgt
tgt is offline
#5
Oct14-08, 03:40 AM
P: 470
Quote Quote by robphy View Post
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?
robphy
robphy is offline
#6
Oct14-08, 07:16 AM
Sci Advisor
HW Helper
PF Gold
robphy's Avatar
P: 4,107
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/
tgt
tgt is offline
#7
Oct14-08, 08:59 AM
P: 470
Quote Quote by robphy View Post
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.
robphy
robphy is offline
#8
Oct14-08, 11:15 AM
Sci Advisor
HW Helper
PF Gold
robphy's Avatar
P: 4,107
Compose mypaper.tex (with features based on diagrams.sty.. as described in the documentation).
In the same directory, place diagrams.sty.
latex mypaper
etc...
tgt
tgt is offline
#9
Oct15-08, 03:53 AM
P: 470
Quote Quote by robphy View Post
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?


Register to reply

Related Discussions
Arrows, mass, force Classical Physics 4
Linear Maps/Matrix Maps Engineering, Comp Sci, & Technology Homework 2
Arrows of time General Physics 8
Bows and Arrows Introductory Physics Homework 3
shrinking and turning arrows Classical Physics 2