I try to but, i dd not, if it is possible please help me to draw
- 4,781
2 Answers
Try:
\documentclass[tikz,
border=1mm,
preview]{standalone}
\usetikzlibrary{matrix,positioning}
\begin{document}
\centering
\begin{tikzpicture}[
node distance=0pt,
ML/.style = {font=\small\sffamily, text height=1.75ex, inner sep=2pt}
]
\matrix (M) [matrix of math nodes,
column sep=-.4pt, row sep=-0.4pt,
nodes={draw, thin, inner sep=2mm,
text height=2.5ex, text depth=1ex, text width=3em,
align=center}]
{
\mathsf{H_2} & \mathsf{H_3} & \mathsf{H_4} \\
\mathsf{H_1} & \mathsf{S} & \mathsf{H_3} \\
\mathsf{T} & \mathsf{H_1} & \mathsf{H_2} \\
};
\node[ML,left=of M-1-1] {$\vdots\vdots$};
\node[ML,left=of M-1-1.south west] {1};
\node[ML,left=of M-2-1.south west] {e};
\node[ML,below left=of M-3-1.south west] {0};
%
\node[ML,below=of M-3-1.south east] {e};
\node[ML,below=of M-3-2.south east] {1};
\node[ML,below=of M-3-3] {$\vdots\vdots$};
\end{tikzpicture}
\end{document}
Above code gives:
For drawing of your picture/graph I select TikZ package since I'm quite familiar with it. Graph is based on matrix library, by which I define matrix of math nodes. Nodes style is determined in \matrix option.
This MWE should serve to you for further investigation of capability of the TikZ package and refinement according to your taste.
Manual of the TikZ is huge, however for start read its part III (TikZ ist kein Zeichenprogramm) and than description of matrix library.
- 296,517
The small numbers written in front of the edges makes this something complicated. One solution is to use TikZ package as described here: TikZ: how to draw chained tabular material
Another solution is drawing the table in Inkscape and export as a graphic compatible with LaTeX.
-
I am not good at do it. I hope that if it is possible, may be i can codes for this table.. – Ümit Ertuğrul Feb 25 '16 at 19:30
-
If you are not good in coding it, the best choice is drawing it by some software, e.g. Inkscape. So, you can import it as a PDF file into your LaTeX file to compile by
pdflatex. – Winsoft Feb 25 '16 at 19:42


pstrickor withtikzor ... so, consider comment of @Null. – Zarko Feb 25 '16 at 18:26