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:


  • Related: tex.stackexchange.com/a/114329/117534
    – Troy
    Commented Jul 26, 2017 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
    Commented Jul 26, 2017 at 6:19
  • MathJax is meant for equations, not for tikz or pgfplots graphics.
    – epR8GaYuh
    Commented Jul 26, 2017 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
    Commented Jul 26, 2017 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
    Commented Jul 26, 2017 at 7:04

1 Answer 1


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


    \begin{tikzpicture}[node distance=-0.3cm]
    \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}
    \node[below=of G] (dG) {$\vdots$};
    \node[below=of H] (dH) {$\vdots$};
    \node[below=of I] (dI) {$\vdots$};
    \node[below=of J] (dJ) {$\vdots$};

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
    Commented Jul 26, 2017 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
    Commented Jul 26, 2017 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
    Commented Jul 26, 2017 at 8:43

Not the answer you're looking for? Browse other questions tagged .