## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Simple Arrows Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
Lanchester
Posts: 7
Joined: Thu Feb 01, 2018 10:29 pm
Location: Hamburg, Germany

### Simple Arrows

Hey guys,

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.

Attachments
figure.jpg (18.5 KiB) Viewed 667 times

Tags:

Stefan Kottwitz
Posts: 8708
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Hi Lanchester,

welcome to the forum!

It's easy with TikZ:

\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}

diagram.png (12.25 KiB) Viewed 627 times

Stefan

Lanchester
Posts: 7
Joined: Thu Feb 01, 2018 10:29 pm
Location: Hamburg, Germany
Hi Stefan,

thanks for the quick help!

PS: schöne Grüße aus Hamburg-Horn, die Welt ist doch so klein

Stefan Kottwitz
Posts: 8708
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
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.

Grüße von Eimsbüttel,

Stefan

Lanchester
Posts: 7
Joined: Thu Feb 01, 2018 10:29 pm
Location: Hamburg, Germany
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.

Thanks, I'll take a look!