I want to show the height in a cross-section: t in the figure 1. But because it is very short, the arrowheads cross each other.
But it should be more like this
My current code is:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{figure}[!htbp]
\centering
\begin{tikzpicture}
\filldraw[color=black, fill=black] (0,0) rectangle ++(9,0.5) node[pos=.5](gnd){};
\filldraw[color=black, fill=gray!20] (0,0.5) rectangle ++(9,2.5) node[pos=.5]{\(\varepsilon_r\)};
\filldraw[color=black, fill=black] (3.5,3) rectangle ++(2,.2) node[pos=.5](cond){};
\draw[>=triangle 45, <->] (1,0.5) -- (1,3) node[pos=.5,anchor=west](){\(h\)};
\draw[>=triangle 45, <->] (3.5,3.4) -- ++(2,0) node[pos=.5,anchor=south](){\(W\)};
\draw[>=triangle 45, <->] (5.7,3) -- ++(0,0.2) node[pos=.5,anchor=west](){\(t\)};
\end{tikzpicture}
\caption{}
\label{fig:microstrip_geometry}
\end{figure}
\end{document}

