0

This question already has an answer here:

I want to write this following picture in tex. I am new in drawing branching in tex. So I saw some examples in this site. But could not find this type.

Again how to put dots in the end?

A picture is given below:

Thanks

marked as duplicate by Henri Menke, Maarten Dhondt, Community Jul 26 '17 at 7:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Related: tex.stackexchange.com/a/114329/117534 – Troy Jul 26 '17 at 6:16
  • @Troy thanks ... can you tell me how to write that in Mathstack. I can do that in Texmaker but but mathstack do not support tkz-graph package – MAN-MADE Jul 26 '17 at 6:19
  • MathJax is meant for equations, not for tikz or pgfplots graphics. – epR8GaYuh Jul 26 '17 at 6:21
  • @MANMAID Not really.. Partially because I don't have much experience in MathJax, but also because such questions are not really on-topic here: tex.meta.stackexchange.com/a/3483/117534. – Troy Jul 26 '17 at 6:25
  • 1
    @MANMAID Can you post the code that you have now as a compilable example so that we don't have to start from scratch? – Troy Jul 26 '17 at 7:04
2

Maybe something like this, adapted from Alan's answer:

\documentclass{article}
\usepackage{tkz-graph}
\usetikzlibrary{positioning}
\renewcommand*{\EdgeLineWidth}{0.25pt}

\begin{document}
    \begin{tikzpicture}[node distance=-0.3cm]
    \GraphInit[vstyle=Empty]
    \Vertex{A}
    \Vertex[x=-0.5,y=-1]{B}
    \Vertex[x=0.5, y=-1]{C}
    \Vertex[x=0, y=-2]{D}
    \Vertex[x=-1, y=-2]{E}
    \Vertex[x=1, y=-2]{F}
    \Vertex[x=-1.5, y=-3]{G}
    \Vertex[x=-0.5, y=-3]{H}
    \Vertex[x=0.5, y=-3]{I}
    \Vertex[x=1.5, y=-3]{J}
    \Edges(B,A,C)
    \Edges(E,B,D,C,F)
    \Edges(G,E,H,D,I,F,J)
    \node[below=of G] (dG) {$\vdots$};
    \node[below=of H] (dH) {$\vdots$};
    \node[below=of I] (dI) {$\vdots$};
    \node[below=of J] (dJ) {$\vdots$};
    \end{tikzpicture}
\end{document}

enter image description here

Since the whole thing is in a tikzpicture environment, adding dots is just a matter of adding some extra nodes, of which there are probably many different ways of doing so.

  • something is wrong, sir... it is taking too long time in both sharelatex and in TexMaker but yet not complied! – MAN-MADE Jul 26 '17 at 8:34
  • @MANMAID It's compiling fine for me (locally). Maybe its installing the required packages? I don't know about Sharelatex, as I'm too lazy to create an account, but it compiles well on overleaf: overleaf.com/read/qndgsssggnps – Troy Jul 26 '17 at 8:37
  • thanks a lot! Interesting fact ... overleaf worked! Although texmaker is complining for 1 hrs upto now... after installing package... thanks a lot! – MAN-MADE Jul 26 '17 at 8:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.