Also, just out of curiosity is it possible to HATCH/PATCH some rectangle in this figure likes one does in auto cad. This drawing is much easy to draw in auto cad but Tikz I want to give it a try. thanks ...
Code: Select all
\documentclass{article}
\usepackage{tikz-qtree}
\usepackage{pgf}
\usepackage{bm}
\usetikzlibrary{trees}
\usepackage{amsmath}
\usepackage{booktabs}
\usepackage{subfig}
\usetikzlibrary{arrows,positioning,fit}
\usetikzlibrary{matrix}
\usetikzlibrary{calc}
\usetikzlibrary{fadings,shapes.arrows,shadows}
\usepackage{tikz,amsmath,siunitx}
\usetikzlibrary{arrows,snakes,backgrounds,patterns,matrix,shapes,fit,calc,shadows,plotmarks}
\usepackage[graphics,tightpage,active]{preview}
\PreviewEnvironment{tikzpicture}
\PreviewEnvironment{equation}
\setlength\PreviewBorder{20mm}
\PreviewEnvironment{equation*}
\newlength{\imagewidth}
\newlength{\imagescale}
\tikzstyle{arrow} = [thick,->,>=stealth]
\pagestyle{empty}
\thispagestyle{empty}
\begin{document}
\pagestyle{empty}
\begin{tikzpicture}
\draw [black] (0,0) -- (100,0) -- (100,95) -- (0,95) -- (0,0) ;
\draw [black] (12.5,10) -- (87.5,10) -- (87.5,86) -- (12.5,86) -- (12.5,10) ;
\draw [black] (0,-115) -- (0,120.5) -- (-10,120.5) -- (-10,-115) -- (0,-115) ;
\draw [black] (100,-115) -- (100,120.5) -- (110,120.5) -- (110,-115) -- (100,-115) ;
\draw [black] (-10,120.5) -- (110,120.5) ;
\end{tikzpicture}
\end{document}