Graphics, Figures & Tables ⇒ Simple Arrows
-
- Posts: 7
- Joined: Thu Feb 01, 2018 10:29 pm
Simple Arrows
i'm very new to Latex and I dont know how to put the attached figure in my latex document.
I'd be very pleased if you could help me.
Thanks in advance
- Attachments
-
- figure.jpg (18.5 KiB) Viewed 3833 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10326
- Joined: Mon Mar 10, 2008 9:44 pm
Simple Arrows
welcome to the forum!
It's easy with TikZ:
Code: Select all
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc,positioning}
\begin{document}
\begin{tikzpicture}[every node/.style = {font=\sffamily}]
\draw [-stealth]
node (R1) {R}
node (R2) [below = 0.75cm of R1] {R}
node (R3) [below = 0.75cm of R2] {R}
node (R4) [below = 0.75cm of R3] {R}
node (B1) [xshift = 3cm] at ($(R1)!.5!(R2)$) {B}
node (B2) [xshift = 3cm] at ($(R3)!.5!(R4)$) {B}
(R1) edge (B1)
(R2) edge (B1)
(R3) edge (B2)
(R4) edge (B2)
;
\draw [-stealth, densely dashed, transform canvas={yshift=2mm}]
(B1) edge (R1)
(B2) edge (R3)
;
\draw [-stealth, densely dashed, transform canvas={yshift=-2mm}]
(B1) edge (R2)
(B2) edge (R4)
;
\end{tikzpicture}
\end{document}
-
- Posts: 7
- Joined: Thu Feb 01, 2018 10:29 pm
Simple Arrows
thanks for the quick help!
PS: schöne Grüße aus Hamburg-Horn, die Welt ist doch so klein

- Stefan Kottwitz
- Site Admin
- Posts: 10326
- Joined: Mon Mar 10, 2008 9:44 pm
Simple Arrows

To get an impression what graphics answers have already been given there: http://images.google.com/search?tbm=isch&q=tikz+site:texwelt.de.
Grüße von Eimsbüttel,
Stefan
-
- Posts: 7
- Joined: Thu Feb 01, 2018 10:29 pm
Simple Arrows
Thanks, I'll take a look!Stefan Kottwitz wrote:So you may also like our German language site TeXwelt.de.Other mode, pure question and answer based. Many graphics related (TikZ) questions and answers too.