-1

I was wondering how to draw double sided intersecting arrows like the ones shown in my drawing. Any help would be much appreciated.enter image description here

1
  • 1
    Is this specific to Tikz? Or just arrows in general that intersect (for use in math, say)?
    – Werner
    Feb 19, 2020 at 20:03

1 Answer 1

2

New answer

screenshot

\documentclass[border=5mm,tikz]{standalone}

\begin{document}
\tikzset{
doublesided/.pic={
\draw[<->](-.4,0)--(.4,0);
\draw[<->](0,.4)--(0,-.4);
}
}
\begin{tikzpicture}[]

\draw (0,0)grid(5,3);
\foreach \i in {0,...,4}
    \foreach \j in {0,...,2}{\pic at (\i+.5,\j+.5){doublesided};
}
\end{tikzpicture}
\end{document}

Old answer

Like this?

screenshot

\documentclass[border=5mm,tikz]{standalone}

\begin{document}
\begin{tikzpicture}[]
\draw[<->](-.5,0)--(.5,0);
\draw[<->](0,.5)--(0,-.5);

\end{tikzpicture}
\end{document}
5
  • Yes that is great, thanks!
    – KaneM
    Feb 19, 2020 at 19:24
  • Do you know how I would add this to every box in a grid?
    – KaneM
    Feb 19, 2020 at 19:26
  • Or should I start a new thread
    – KaneM
    Feb 19, 2020 at 19:26
  • 1
    Another possibility that is easy to add more arrows: \begin{tikzpicture}\foreach \a in {0,90,180,270}\draw[->](0,0)--(\a:.5cm);\end{tikzpicture}
    – Sigur
    Feb 19, 2020 at 19:30
  • @KaneM I've updated my answer, is that what you want?
    – AndréC
    Feb 19, 2020 at 19:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .