Graphics, Figures & Tables ⇒ drawing arrows
-
- Posts: 7
- Joined: Tue Aug 17, 2010 11:08 am
drawing arrows
I would like to draw arrows as in the image. The symbols are not important. I appreciate any of your advice. [img]file:///C:/Users/Jun/Desktop/870356985_75.jpg[img]
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: drawing arrows
Hi Jun,
welcome to the board!
We cannot see the image. Please post it as attachment here.
Stefan
welcome to the board!
We cannot see the image. Please post it as attachment here.
Stefan
LaTeX.org admin
-
- Posts: 7
- Joined: Tue Aug 17, 2010 11:08 am
Re: drawing arrows
Dear Stefan,
I am sorry that I did not post image right. Please understand that I am new for this community. I would like to draw arrows as in the image. I appreciate any of your advice.
I am sorry that I did not post image right. Please understand that I am new for this community. I would like to draw arrows as in the image. I appreciate any of your advice.
- Attachments
-
- Arrows below and above a sentence.
- arrows.png (10.88 KiB) Viewed 5144 times
-
- Posts: 351
- Joined: Sat Aug 02, 2008 8:47 am
drawing arrows
junextension wrote: I would like to draw arrows as in the image. I appreciate any of your advice.
Code: Select all
\documentclass{article}
\usepackage{pst-node}
\begin{document}
I do not know \rnode{A}{how} to draw \rnode{B}{arrows}
like \rnode{C}{this} in \rnode{D}{\LaTeX}.
\ncbar[angleA=90,offset=-0.6em]{->}{A}{A}\nbput[npos=1.1]{(1)}
\ncbar[angleA=-90,offsetA=-0.6em,offsetB=-1.1em]{->}{A}{B}\nbput[npos=1.1]{(2)}
\ncbar[angleA=90,offsetA=-1.1em]{->}{B}{D}\naput{(2)}
\ncbar[angleA=-90,offsetB=-1em]{->}{D}{C}\naput[npos=1.99]{(1)}
\end{document}
Herbert
- Attachments
-
- zz.png (3.92 KiB) Viewed 5149 times
-
- Posts: 7
- Joined: Tue Aug 17, 2010 11:08 am
Re: drawing arrows
Dear Mr. GrazyHorse,
Thank you very much for your help.
I use winedit. I copied and pasted the above code. Somehow, it does not work. Compiler stopped in the middle. I believe that the package is installed correctly. Do you have any idea for what is happening?
Thank you very much for your help.
I use winedit. I copied and pasted the above code. Somehow, it does not work. Compiler stopped in the middle. I believe that the package is installed correctly. Do you have any idea for what is happening?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
drawing arrows
Not very expressive. Check the log file for warnings and error messages. Pay special attention to Herbert's note regarding the compilation process.junextension wrote:[…] Somehow, it does not work. Compiler stopped in the middle. […]
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 351
- Joined: Sat Aug 02, 2008 8:47 am
drawing arrows
use the sequence latex->dvips->ps2pdf. Don't know howjunextension wrote: I use winedit. I copied and pasted the above code. Somehow, it does not work. Compiler stopped in the middle. I believe that the package is installed correctly. Do you have any idea for what is happening?
this can be done with one click in WinEdt.
However, I installed version 6 and tried successfully:
Shift-Ctrl-L (TeX->LaTeX)
Shift-Ctrl-D (TeX->dvips)
TeX->PDF->ps2pdf (no shortcut here)
or use the buttons from the menu bar
As an alternative you can run XeLaTeX, it needs no
additional steps
Herbert
-
- Posts: 7
- Joined: Tue Aug 17, 2010 11:08 am
Re: drawing arrows
Dear Herbert,
Thank you very much for your help. I installed Winedit Version 6, the problem was resolved with DVI file. I got used to Version 5 so I was using it.
DVI file is good but PDF file is not good. I follow your instruction of textfying it into PDF but I got no arrows above and below the sentence and (2) sign showed up at the end.
Is this a problem with MITEX?
Thank you very much for your cooperation.
Jun Tanaka
Thank you very much for your help. I installed Winedit Version 6, the problem was resolved with DVI file. I got used to Version 5 so I was using it.
DVI file is good but PDF file is not good. I follow your instruction of textfying it into PDF but I got no arrows above and below the sentence and (2) sign showed up at the end.
Is this a problem with MITEX?
Thank you very much for your cooperation.
Jun Tanaka
-
- Posts: 7
- Joined: Tue Aug 17, 2010 11:08 am
Re: drawing arrows
Dear Herbert,
Thank you very much for your help. I installed Winedit Version 6, the problem was resolved with DVI file. I got used to Version 5 so I was using it.
DVI file is good but PDF file is not good. I follow your instruction of textfying it into PDF but I got no arrows above and below the sentence and (2) sign showed up at the end.
Is this a problem with MITEX?
Thank you very much for your cooperation.
Jun Tanaka
Thank you very much for your help. I installed Winedit Version 6, the problem was resolved with DVI file. I got used to Version 5 so I was using it.
DVI file is good but PDF file is not good. I follow your instruction of textfying it into PDF but I got no arrows above and below the sentence and (2) sign showed up at the end.
Is this a problem with MITEX?
Thank you very much for your cooperation.
Jun Tanaka
- Attachments
-
- no arrows.jpg (14.57 KiB) Viewed 5129 times
-
- Posts: 351
- Joined: Sat Aug 02, 2008 8:47 am
drawing arrows
it has nothing to do with MikTeX.junextension wrote: DVI file is good but PDF file is not good. I follow your instruction of textfying it into PDF but I got no arrows above and below the sentence and (2) sign showed up at the end.
Is this a problem with MITEX?
try the following steps with viewing:
Shift-Ctrl-L view the dvi output, is it ok?
Shift-Ctrl-D (TeX->dvips) view the ps output, is it ok?
ps2pdf (a button) and the pdf, ist it ok?
Herbert