\documentclass{article}
\usepackage[margin=10mm]{geometry}
\usepackage{xparse}
\usepackage{tikz}
\usetikzlibrary{decorations.markings,decorations.pathreplacing}

\tikzset{
    anchorbase/.style={baseline={([yshift=#1]current bounding box.center)}},
    anchorbase/.default={-0.5ex},
    dot colour/.initial=black,
    dot colour/.default=black,
    redstring/.style = {draw=red!50,fill=none,line width=0.35mm,
        preaction={draw=red,line width=2.5pt,-},nodes={color=red}
    },
    solid/.style = {draw=blue,fill=none,dot colour=blue,line width=0.4mm,nodes={color=blue}},
    ghost/.style = {draw=darkgray,fill=none,dot colour=darkgray,
                    densely dashed,line width=0.4mm,nodes={color=darkgray}},
    dot/.style = {
        decoration={markings,
        post length=0.25mm,
        pre length=0.25mm,
        mark=at position #1 with {\node[circle,radius=0.3cm,inner sep=-2.0pt,
                                   color=\pgfkeysvalueof{/tikz/dot colour},
                                   fill=\pgfkeysvalueof{/tikz/dot colour}]{};
            }
        },
        postaction={decorate}
    },
    dot/.default=0.5,
}

% \DottedIdempotent(distance)[dots]{e-1}{residues}
\NewDocumentCommand\DottedIdempotent{ D(){3} omm} {
    \begin{tikzpicture}[anchorbase]
       \def\residues{{#4}}
       \foreach \res [count=\c,
         evaluate=\res as \pos using {\res<=#3 ? #1*\res-\c*#1/15 : #1*(\res-2)-\c*#1/15}
       ] in {#4} {
          \coordinate (\c) at (\pos,0);
          \draw[solid](\c)node[below]{$\res$}--++(0,1);
          \ifnum\res=#3\relax\else
            \draw[ghost](\pos+#1,0)--++(0,1)node[above]{$\res$};
          \fi
          \ifnum\c=1\relax
             \draw[redstring](\pos+#1/15,0)node[below]{$\res$}--++(0,1);
          \fi
       }
       \foreach \pt [evaluate=\pt as \good using {\residues[\pt-1]==#3 ? 0 : 1}
       ] in {#2} {
           \draw[solid,dot](\pt)--++(0,1);
           \ifnum\good=1
              \draw[ghost,dot]([shift={(#1,0)}]\pt)--++(0,1);
           \fi
       }
    \end{tikzpicture}
}


\begin{document}

{\Large Dotted vertical diagrams for $C^{(1)}_{2}$}

\subsection*{$\mu=(1)$}
\DottedIdempotent[]{1}{0}

\subsection*{$\mu=(2)$}
\DottedIdempotent[2]{1}{0,1}

\subsection*{$\mu=(1^{2})$}
\DottedIdempotent[]{1}{0,1}

\subsection*{$\mu=(3)$}
\DottedIdempotent[2]{1}{0,1,2}

\subsection*{$\mu=(2,1)$}
\DottedIdempotent[2]{1}{0,1,1}

\subsection*{$\mu=(1^{3})$}
\DottedIdempotent[]{1}{0,1,2}

\subsection*{$\mu=(4)$}
\DottedIdempotent[2,4]{1}{0,1,2,1}

\subsection*{$\mu=(3,1)$}
\DottedIdempotent[2]{1}{0,1,2,1}

\subsection*{$\mu=(2^{2})$}
\DottedIdempotent[2]{1}{0,1,1,0}

\subsection*{$\mu=(2,1^{2})$}
\DottedIdempotent[2]{1}{0,1,1,2}

\subsection*{$\mu=(1^{4})$}
\DottedIdempotent[]{1}{0,1,2,1}

\subsection*{$\mu=(5)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0}

\subsection*{$\mu=(4,1)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1}

\subsection*{$\mu=(3,2)$}
\DottedIdempotent[2]{1}{0,1,2,1,0}

\subsection*{$\mu=(3,1^{2})$}
\DottedIdempotent[2]{1}{0,1,2,1,2}

\subsection*{$\mu=(2^{2},1)$}
\DottedIdempotent[2]{1}{0,1,1,0,2}

\subsection*{$\mu=(2,1^{3})$}
\DottedIdempotent[2]{1}{0,1,1,2,1}

\subsection*{$\mu=(1^{5})$}
\DottedIdempotent[]{1}{0,1,2,1,0}

\subsection*{$\mu=(6)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1}

\subsection*{$\mu=(5,1)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1}

\subsection*{$\mu=(4,2)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,0}

\subsection*{$\mu=(4,1^{2})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,2}

\subsection*{$\mu=(3^{2})$}
\DottedIdempotent[2]{1}{0,1,2,1,0,1}

\subsection*{$\mu=(3,2,1)$}
\DottedIdempotent[2]{1}{0,1,2,1,0,2}

\subsection*{$\mu=(3,1^{3})$}
\DottedIdempotent[2]{1}{0,1,2,1,2,1}

\subsection*{$\mu=(2^{3})$}
\DottedIdempotent[2,6]{1}{0,1,1,0,2,1}

\subsection*{$\mu=(2^{2},1^{2})$}
\DottedIdempotent[2]{1}{0,1,1,0,2,1}

\subsection*{$\mu=(2,1^{4})$}
\DottedIdempotent[2]{1}{0,1,1,2,1,0}

\subsection*{$\mu=(1^{6})$}
\DottedIdempotent[]{1}{0,1,2,1,0,1}

\subsection*{$\mu=(7)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,2}

\subsection*{$\mu=(6,1)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,1}

\subsection*{$\mu=(5,2)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,0}

\subsection*{$\mu=(5,1^{2})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,2}

\subsection*{$\mu=(4,3)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,0,1}

\subsection*{$\mu=(4,2,1)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,0,2}

\subsection*{$\mu=(4,1^{3})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,2,1}

\subsection*{$\mu=(3^{2},1)$}
\DottedIdempotent[2]{1}{0,1,2,1,0,1,2}

\subsection*{$\mu=(3,2^{2})$}
\DottedIdempotent[2,7]{1}{0,1,2,1,0,2,1}

\subsection*{$\mu=(3,2,1^{2})$}
\DottedIdempotent[2]{1}{0,1,2,1,0,2,1}

\subsection*{$\mu=(3,1^{4})$}
\DottedIdempotent[2]{1}{0,1,2,1,2,1,0}

\subsection*{$\mu=(2^{3},1)$}
\DottedIdempotent[2,6]{1}{0,1,1,0,2,1,1}

\subsection*{$\mu=(2^{2},1^{3})$}
\DottedIdempotent[2]{1}{0,1,1,0,2,1,0}

\subsection*{$\mu=(2,1^{5})$}
\DottedIdempotent[2]{1}{0,1,1,2,1,0,1}

\subsection*{$\mu=(1^{7})$}
\DottedIdempotent[]{1}{0,1,2,1,0,1,2}

\subsection*{$\mu=(8)$}
\DottedIdempotent[2,4,6,8]{1}{0,1,2,1,0,1,2,1}

\subsection*{$\mu=(7,1)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,2,1}

\subsection*{$\mu=(6,2)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,1,0}

\subsection*{$\mu=(6,1^{2})$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,1,2}

\subsection*{$\mu=(5,3)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,0,1}

\subsection*{$\mu=(5,2,1)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,0,2}

\subsection*{$\mu=(5,1^{3})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,2,1}

\subsection*{$\mu=(4^{2})$}
\DottedIdempotent[2,4,8]{1}{0,1,2,1,1,0,1,2}

\subsection*{$\mu=(4,3,1)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,0,1,2}

\subsection*{$\mu=(4,2^{2})$}
\DottedIdempotent[2,4,8]{1}{0,1,2,1,1,0,2,1}

\subsection*{$\mu=(4,2,1^{2})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,0,2,1}

\subsection*{$\mu=(4,1^{4})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,2,1,0}

\subsection*{$\mu=(3^{2},2)$}
\DottedIdempotent[2,8]{1}{0,1,2,1,0,1,2,1}

\subsection*{$\mu=(3^{2},1^{2})$}
\DottedIdempotent[2]{1}{0,1,2,1,0,1,2,1}

\subsection*{$\mu=(3,2^{2},1)$}
\DottedIdempotent[2,7]{1}{0,1,2,1,0,2,1,1}

\subsection*{$\mu=(3,2,1^{3})$}
\DottedIdempotent[2]{1}{0,1,2,1,0,2,1,0}

\subsection*{$\mu=(3,1^{5})$}
\DottedIdempotent[2]{1}{0,1,2,1,2,1,0,1}

\subsection*{$\mu=(2^{4})$}
\DottedIdempotent[2,6]{1}{0,1,1,0,2,1,1,2}

\subsection*{$\mu=(2^{3},1^{2})$}
\DottedIdempotent[2,6]{1}{0,1,1,0,2,1,1,0}

\subsection*{$\mu=(2^{2},1^{4})$}
\DottedIdempotent[2]{1}{0,1,1,0,2,1,0,1}

\subsection*{$\mu=(2,1^{6})$}
\DottedIdempotent[2]{1}{0,1,1,2,1,0,1,2}

\subsection*{$\mu=(1^{8})$}
\DottedIdempotent[]{1}{0,1,2,1,0,1,2,1}

\subsection*{$\mu=(9)$}
\DottedIdempotent[2,4,6,8]{1}{0,1,2,1,0,1,2,1,0}

\subsection*{$\mu=(8,1)$}
\DottedIdempotent[2,4,6,8]{1}{0,1,2,1,0,1,2,1,1}

\subsection*{$\mu=(7,2)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,2,1,0}

\subsection*{$\mu=(7,1^{2})$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,2,1,2}

\subsection*{$\mu=(6,3)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,1,0,1}

\subsection*{$\mu=(6,2,1)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,1,0,2}

\subsection*{$\mu=(6,1^{3})$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,1,2,1}

\subsection*{$\mu=(5,4)$}
\DottedIdempotent[2,4,9]{1}{0,1,2,1,0,1,0,1,2}

\subsection*{$\mu=(5,3,1)$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,0,1,2}

\subsection*{$\mu=(5,2^{2})$}
\DottedIdempotent[2,4,9]{1}{0,1,2,1,0,1,0,2,1}

\subsection*{$\mu=(5,2,1^{2})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,0,2,1}

\subsection*{$\mu=(5,1^{4})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,2,1,0}

\subsection*{$\mu=(4^{2},1)$}
\DottedIdempotent[2,4,8]{1}{0,1,2,1,1,0,1,2,2}

\subsection*{$\mu=(4,3,2)$}
\DottedIdempotent[2,4,9]{1}{0,1,2,1,1,0,1,2,1}

\subsection*{$\mu=(4,3,1^{2})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,0,1,2,1}

\subsection*{$\mu=(4,2^{2},1)$}
\DottedIdempotent[2,4,8]{1}{0,1,2,1,1,0,2,1,1}

\subsection*{$\mu=(4,2,1^{3})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,0,2,1,0}

\subsection*{$\mu=(4,1^{5})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,2,1,0,1}

\subsection*{$\mu=(3^{3})$}
\DottedIdempotent[2,8]{1}{0,1,2,1,0,1,2,1,0}

\subsection*{$\mu=(3^{2},2,1)$}
\DottedIdempotent[2,8]{1}{0,1,2,1,0,1,2,1,1}

\subsection*{$\mu=(3^{2},1^{3})$}
\DottedIdempotent[2]{1}{0,1,2,1,0,1,2,1,0}

\subsection*{$\mu=(3,2^{3})$}
\DottedIdempotent[2,7]{1}{0,1,2,1,0,2,1,1,2}

\subsection*{$\mu=(3,2^{2},1^{2})$}
\DottedIdempotent[2,7]{1}{0,1,2,1,0,2,1,1,0}

\subsection*{$\mu=(3,2,1^{4})$}
\DottedIdempotent[2]{1}{0,1,2,1,0,2,1,0,1}

\subsection*{$\mu=(3,1^{6})$}
\DottedIdempotent[2]{1}{0,1,2,1,2,1,0,1,2}

\subsection*{$\mu=(2^{4},1)$}
\DottedIdempotent[2,6]{1}{0,1,1,0,2,1,1,2,0}

\subsection*{$\mu=(2^{3},1^{3})$}
\DottedIdempotent[2,6]{1}{0,1,1,0,2,1,1,0,1}

\subsection*{$\mu=(2^{2},1^{5})$}
\DottedIdempotent[2]{1}{0,1,1,0,2,1,0,1,2}

\subsection*{$\mu=(2,1^{7})$}
\DottedIdempotent[2]{1}{0,1,1,2,1,0,1,2,1}

\subsection*{$\mu=(1^{9})$}
\DottedIdempotent[]{1}{0,1,2,1,0,1,2,1,0}

\subsection*{$\mu=(10)$}
\DottedIdempotent[2,4,6,8,10]{1}{0,1,2,1,0,1,2,1,0,1}

\subsection*{$\mu=(9,1)$}
\DottedIdempotent[2,4,6,8]{1}{0,1,2,1,0,1,2,1,0,1}

\subsection*{$\mu=(8,2)$}
\DottedIdempotent[2,4,6,8]{1}{0,1,2,1,0,1,2,1,1,0}

\subsection*{$\mu=(8,1^{2})$}
\DottedIdempotent[2,4,6,8]{1}{0,1,2,1,0,1,2,1,1,2}

\subsection*{$\mu=(7,3)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,2,1,0,1}

\subsection*{$\mu=(7,2,1)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,2,1,0,2}

\subsection*{$\mu=(7,1^{3})$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,2,1,2,1}

\subsection*{$\mu=(6,4)$}
\DottedIdempotent[2,4,6,10]{1}{0,1,2,1,0,1,1,0,1,2}

\subsection*{$\mu=(6,3,1)$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,1,0,1,2}

\subsection*{$\mu=(6,2^{2})$}
\DottedIdempotent[2,4,6,10]{1}{0,1,2,1,0,1,1,0,2,1}

\subsection*{$\mu=(6,2,1^{2})$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,1,0,2,1}

\subsection*{$\mu=(6,1^{4})$}
\DottedIdempotent[2,4,6]{1}{0,1,2,1,0,1,1,2,1,0}

\subsection*{$\mu=(5^{2})$}
\DottedIdempotent[2,4,9]{1}{0,1,2,1,0,1,0,1,2,1}

\subsection*{$\mu=(5,4,1)$}
\DottedIdempotent[2,4,9]{1}{0,1,2,1,0,1,0,1,2,2}

\subsection*{$\mu=(5,3,2)$}
\DottedIdempotent[2,4,10]{1}{0,1,2,1,0,1,0,1,2,1}

\subsection*{$\mu=(5,3,1^{2})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,0,1,2,1}

\subsection*{$\mu=(5,2^{2},1)$}
\DottedIdempotent[2,4,9]{1}{0,1,2,1,0,1,0,2,1,1}

\subsection*{$\mu=(5,2,1^{3})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,0,2,1,0}

\subsection*{$\mu=(5,1^{5})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,0,1,2,1,0,1}

\subsection*{$\mu=(4^{2},2)$}
\DottedIdempotent[2,4,8,10]{1}{0,1,2,1,1,0,1,2,2,1}

\subsection*{$\mu=(4^{2},1^{2})$}
\DottedIdempotent[2,4,8]{1}{0,1,2,1,1,0,1,2,2,1}

\subsection*{$\mu=(4,3^{2})$}
\DottedIdempotent[2,4,9]{1}{0,1,2,1,1,0,1,2,1,0}

\subsection*{$\mu=(4,3,2,1)$}
\DottedIdempotent[2,4,9]{1}{0,1,2,1,1,0,1,2,1,1}

\subsection*{$\mu=(4,3,1^{3})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,0,1,2,1,0}

\subsection*{$\mu=(4,2^{3})$}
\DottedIdempotent[2,4,8]{1}{0,1,2,1,1,0,2,1,1,2}

\subsection*{$\mu=(4,2^{2},1^{2})$}
\DottedIdempotent[2,4,8]{1}{0,1,2,1,1,0,2,1,1,0}

\subsection*{$\mu=(4,2,1^{4})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,0,2,1,0,1}

\subsection*{$\mu=(4,1^{6})$}
\DottedIdempotent[2,4]{1}{0,1,2,1,1,2,1,0,1,2}

\subsection*{$\mu=(3^{3},1)$}
\DottedIdempotent[2,8]{1}{0,1,2,1,0,1,2,1,0,1}

\subsection*{$\mu=(3^{2},2^{2})$}
\DottedIdempotent[2,8]{1}{0,1,2,1,0,1,2,1,1,2}

\subsection*{$\mu=(3^{2},2,1^{2})$}
\DottedIdempotent[2,8]{1}{0,1,2,1,0,1,2,1,1,0}

\subsection*{$\mu=(3^{2},1^{4})$}
\DottedIdempotent[2]{1}{0,1,2,1,0,1,2,1,0,1}

\subsection*{$\mu=(3,2^{3},1)$}
\DottedIdempotent[2,7]{1}{0,1,2,1,0,2,1,1,2,0}

\subsection*{$\mu=(3,2^{2},1^{3})$}
\DottedIdempotent[2,7]{1}{0,1,2,1,0,2,1,1,0,1}

\subsection*{$\mu=(3,2,1^{5})$}
\DottedIdempotent[2]{1}{0,1,2,1,0,2,1,0,1,2}

\subsection*{$\mu=(3,1^{7})$}
\DottedIdempotent[2]{1}{0,1,2,1,2,1,0,1,2,1}

\subsection*{$\mu=(2^{5})$}
\DottedIdempotent[2,6,10]{1}{0,1,1,0,2,1,1,2,0,1}

\subsection*{$\mu=(2^{4},1^{2})$}
\DottedIdempotent[2,6]{1}{0,1,1,0,2,1,1,2,0,1}

\subsection*{$\mu=(2^{3},1^{4})$}
\DottedIdempotent[2,6]{1}{0,1,1,0,2,1,1,0,1,2}

\subsection*{$\mu=(2^{2},1^{6})$}
\DottedIdempotent[2]{1}{0,1,1,0,2,1,0,1,2,1}

\subsection*{$\mu=(2,1^{8})$}
\DottedIdempotent[2]{1}{0,1,1,2,1,0,1,2,1,0}

\subsection*{$\mu=(1^{10})$}
\DottedIdempotent[]{1}{0,1,2,1,0,1,2,1,0,1}



\end{document}
