I am trying to write an equation involving tikz picture and math symbols. Here is the MWE:
\documentclass{article}
\usepackage{tikz}
\begin{document}
$T=\begin{tikzpicture}[line cap=round,line join=round,x=1cm,y=1cm]
\draw [line width=1pt] (-6,1)-- (-3,1);
\draw [line width=1pt] (-5,2)-- (-5,0);
\draw [line width=1pt] (-4,2)-- (-4,0);
\end{tikzpicture}$
\end{document}
It produces something like this.
But I want the picture to be placed in such a way that $T=$ thing is aligned with the horizontal line of the picture. Any idea how to do it?