JackieLin0123/SciTikZ-Bench huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=2, inner sep=2mm]
    \coordinate (b1) at (0,-0.2);
    \coordinate (6) at (0.8,-0.2);
    \coordinate (5) at (0,0.7);
    \coordinate (4) at (0.8,0.7);
    \coordinate (2) at (0,1.6);
    \coordinate (3) at (-0.7,-0.7);

    \fill[lightgray, fill opacity=0.4] (3) to [out=90,in=-135] (2) -- (5) -- (b1);
    \fill[lightgray, fill opacity=0.4] (2) -- (5) -- (4);

    \draw[thick] (3) node[left] {$\hat{5}$} -- (b1) node[below] {\ \ \ $\hat{2}$} -- (6) node[right] {$\hat{4}$} -- (4) node[right] {$\hat{6}$} -- (2) node[right] {$\hat{b}_0$} -- (5) node[inner sep=1mm, below] {\ \ \ \ $\hat{3}$} -- (b1);
    \draw[thick] (3) to [out=90,in=-135] (2);
    \draw[thick] (3) -- (5) -- (4);

    \foreach \i in {2,3,4,5,6} {\fill (\i) circle (2pt);}
    \fill (b1) circle (2pt);
    \fill[magenta] (b1) circle (1.7pt);
    \fill[cyan] (6) circle (1.7pt);
    \fill[cyan] (5) circle (1.7pt);
    \fill[green] (4) circle (1.7pt);
    \fill[magenta] (2) circle (1.7pt);
    \fill[green] (3) circle (1.7pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\begin{document}
\begin{tikzpicture}[scale=0.8]
  \draw (0,0) node (1) {} -- (2.5,0) node (2) {} -- (1.25,2.16506) node (3) {} -- cycle;
  \fill (0,0) circle[radius=1.3pt] (2.5,0) circle[radius=1.3pt] (1.25,2.16506) circle[radius=1.3pt];
  \draw (0,0) to [out=180,in=120] (-.433,-.25) to [out=300,in=240] (0,0);
  \draw (2.5,0) to [out=0,in=60] (2.933,-.25) to [out=240,in=300] (2.5,0);
  \draw (1.25,2.16506) to [out=60,in=0] (1.25,2.66506) to [out=180,in=120] (1.25,2.16506);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{calc,arrows,decorations.markings}

\begin{document}

\begin{tikzpicture}
\draw (0, 0) node {$ SU(3)_0 + 1\mathbf{Adj} $}
(2.3, 0) node {$ = $}
(4, 0.3) node {$ \mathfrak{su}(2)^{(1)} $}
(4, -0.3) node {$ 2 $}
(6, 0.3) node {$ \mathfrak{su}(2)^{(1)} $}
(6, -0.3) node {$ 2 $}
(4.3, -0.3) -- (5.7, -0.3);
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{calc,arrows,decorations.markings}

\begin{document}
\begin{tikzpicture}
\draw[thick](-3,0)--(0,0);	
\node at(-3.6,0) {$\mathbb{F}_{8}{}\big|_1$};
\node at(-2.8,0.3) {${}_e$};
\node at(0.5,0) {$\mathbb{F}^1_{0}{}\big|_2$};
\node at(-0.45,0.3) {${}_{f+3h}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[baseline=-.65ex]
\node (v) at (0,0) {$\omega$};
\node (w) at (1,0) {$\omega$};
\draw (v) edge (w);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.misc, positioning}
\tikzset{tip/.style={}}

\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.center)]
     \node[tip] (sta1) at (0, 0) {$\ell$};
     \node[tip] (end1) at (0, -1.5)  {$\ell$};
     \draw (sta1) to[out=270, in=90] (end1);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfkeys{/pgf/declare function={arcsinh(\x) = ln(\x + sqrt(\x^2+1));}}
\pgfplotsset{compat=1.14}

\begin{document}
\begin{tikzpicture}
\begin{axis}[enlargelimits=false]
\addplot [domain=-10:10, samples=101, unbounded coords=jump] {cosh(x)/3};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.8, transform shape]
\draw[fill=black]
(0,0) circle [radius=.08] 
(1,0) circle [radius=.08];
\draw 
(0,-0.06) -- (1,-0.06)
(0,+0.06) -- (1,0.06);                      
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=1]
\draw[thick, |->] (0,0) -- (1,0);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{automata,arrows,calc,decorations.pathreplacing,petri,shapes.geometric}

\begin{document}

\begin{tikzpicture}[->,>=stealth',shorten >=0pt,auto,node distance=2.0cm,semithick,
    every place/.style={draw,minimum size=4.5mm}]

    \begin{scope}[label distance=-0.1cm]
    \tikzstyle{vtransition} = [fill,inner sep=0pt,minimum width=1.4mm,minimum height=5mm]
    \tikzstyle{htransition} = [fill,inner sep=0pt,minimum width=5mm,minimum height=1.4mm]

    \def\d{1.05}
    \node[place,label={above:$p_1$},tokens=1]       (p1) at (0,2*\d) {};
    \node[place,label={above:$p_2$}]                (p2) at (2*\d,2*\d) {};
    \node[place,label={above:$p_3$}]                (p3) at (4*\d,2*\d) {};
    \node[place,label={above:$p_4$},fill=lightgray] (p4) at (2*\d,\d) {};
    \node[place,label={above:$p_5$},tokens=1]       (p5) at (0,0) {};
    \node[place,label={above:$p_6$}]                (p6) at (2*\d,0) {};
    \node[place,label={right:$p_7$}]                (p7) at (4*\d,0) {};

    \node[vtransition,label={above:$a$}] (a) at (\d,2*\d) {};
    \node[vtransition,label={above:$w$}] (w) at (3*\d,2*\d) {};
    \node[vtransition,label={above:$b$}] (b) at (3*\d,\d) {};
    \node[htransition,label={right:$d$}] (d) at (4*\d,\d) {};
    \node[vtransition,label={above:$v$}] (v) at (\d,0) {};
    \node[vtransition,label={above:$c$}] (c) at (3*\d,0) {};

    \path
    (p1) edge (a) (a) edge (p2) (p2) edge (w) (w) edge (p3)
    (p5) edge (v) (v) edge (p4) (v)  edge (p6)
    (p4) edge (w) (p6) edge (b) (b)  edge (p7) (p7) edge (c)
    (c) edge (p6)
    (p3) edge[bend right=10] (d.120) (d.60) edge[bend right=10] (p3)
    (p7) edge[bend right=10] (d.310) (d.240) edge[bend right=10] (p7)
    ;
    \end{scope}

    \begin{scope}[xshift=6.8cm,yshift=2.8cm]
    \tikzstyle{state}=[draw,inner sep=4pt,circle]
    \def\d{1.6}

    \node[state,label={above:$s_1$}]                 (s00) at (0,0) {};
    \node[state,label={above:$s_2$}]                 (s10) at (\d,0) {};
    \node[state,fill=lightgray,dashed]               (s01) at (0*\d,-1*\d) {};
    \node[state,label={85:$s_3$},fill=lightgray]     (s11) at (1*\d,-1*\d) {};
    \node[state,label={above:$s_6$}]                 (s21) at (2*\d,-1*\d) {};
    \node[state,fill=lightgray,dashed]               (s02) at (0*\d,-2*\d) {};
    \node[state,label={below:$s_4$},fill=lightgray]  (s12) at (1*\d,-2*\d) {};
    \node[state,label={below:$s_5$}]                 (s22) at (2*\d,-2*\d) {};

    \path
    (-0.5,0) edge (s00)
    (s00) edge    node {$a$} (s10)
    (s10) edge['] node {$v$} (s11)
    (s22) edge[loop right] node {$d$} (s22)
    (s11) edge[',bend right=9] node {$b$} (s12)
    (s12) edge[',bend right=9] node {$c$} (s11)
    (s21) edge[',bend right=9] node {$b$} (s22)
    (s22) edge[',bend right=9] node {$c$} (s21)
    (s12) edge node {$w$} (s22)
    ;
    \path[dashed]
    (s01) edge node {$a$} (s11)
    (s02) edge node {$a$} (s12)
    (s00) edge['] node {$v$} (s01)
    (s01) edge[',bend right=9] node {$b$} (s02)
    (s02) edge[',bend right=9] node {$c$} (s01)
    (s11) edge node {$w$} (s21)
    ;
    \end{scope}
\end{tikzpicture}

\end{document}
\documentclass[tikz]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, amsfonts}
\usepackage[table]{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows,automata,positioning}

\begin{document}

\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=1cm,semithick, initial text={}]
    \node [initial, state,inner sep=1pt,minimum size=0pt] (r11) {$r_{11}$};
    \node [state,inner sep=1pt,minimum size=0pt] (r12) [right of=r11] {$r_{12}$};

    \path (r11) edge [bend left] node {$b$} (r12)
          (r12) edge [bend left] node {$f$} (r11);
\end{tikzpicture}

\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usetikzlibrary{arrows}

\begin{document}
\begin{tikzpicture}[
  agent/.style={circle, draw=green!60, fill=green!5, very thick},
]

\node[agent] (a1) at (0,0) {$\scriptstyle{1}$};
\node[agent] (a2) at (2,0) {$\scriptstyle{2}$};
\node[agent] (a3) at (4,0) {$\scriptstyle{3}$};

\draw[->,red,thick] (a2) -- (a3);

\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\tikzset{
  unlabelled/.style={black, draw=black, circle, fill, scale=0.5},
  labelled/.style={black, draw=black, circle, scale=0.7, font=\Large},
  ->-/.style={decoration={markings, mark=at position #1 with {\arrow{>}}}, postaction={decorate}}
}

\begin{document}
\begin{tikzpicture}
  \node[unlabelled] (1) at (0.85*0, 0.85*1) {};
  \node[unlabelled] (5) at (0.85*-0.9511, 0.85*0.3090) {};
  \node[unlabelled] (4) at (0.85*-0.5878, 0.85*-0.8090) {};
  \node[unlabelled] (3) at (0.85*0.5878, 0.85*-0.8090) {};
  \node[unlabelled] (2) at (0.85*0.9511, 0.85*0.3090) {};
  \node[unlabelled] (w) at (1.85*-0.5878, 1.85*-0.8090) {};
  \node[unlabelled] (u) at (1.85*0.5878, 1.85*-0.8090) {};
  \node[unlabelled] (x) at (1.85*-0.9511, 1.85*0.3090) {};
  \node (l1) at (1.20*0, 1.20*1) {$v_1$};
  \node (l5) at (0.85*-0.9511-0.1, 0.85*0.3090+0.35) {$v_5$};
  \node (l4) at (0.85*-0.5878+0.1, 0.85*-0.8090-0.35) {$v_4$};
  \node (l3) at (0.85*0.5878-0.1, 0.85*-0.8090-0.35) {$v_3$};
  \node (l2) at (1.20*0.9511, 1.20*0.3090) {$v_2$};
  \node (lw) at (2.2*-0.5878, 2.2*-0.8090) {$w$};
  \node (lu) at (2.2*0.5878, 2.2*-0.8090) {$u$};
  \node (lx) at (2.2*-0.9511, 2.2*0.3090) {$x$};
  \draw (1) -- (2) (2) -- (3) (3) -- (4) (4) -- (5) (5) -- (1) (4) -- (w) (3) -- (u) (5) -- (x);
  \draw[dashed, ->-=0.5] (w) to (x);
  \draw[dashed, ->-=0.5] (2) to (u);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.25,every node/.style={inner sep=0,outer sep=-1},yscale=-1]
    \node (v7) at (-1,2) {};
    \node (v9) at (1,2) {};
    \node (v1) at (0,1) {};
    \draw [thick] (v7) to[out=-90,in=180] (v1);
    \draw [thick] (v9) to[out=-90,in=0] (v1);
    \node at (-1,2.8) {$ \scriptstyle A $};
    \node at (1,2.8) {$ \scriptstyle A $};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
% OPEN LADDER
% two horizontal lines
\draw[black, thick] (0,0) -- (3.7,0);
\draw[black, thick] (4.3,0) -- (8,0);
\draw[black, thick] (0,1) -- (3.7,1);
\draw[black, thick] (4.3,1) -- (8,1);
% vertical lines
\draw[black, thick] (0,0) -- (0,1);
\draw[black, thick] (1,0) -- (1,1);
\draw[black, thick] (2,0) -- (2,1);
\draw[black, thick] (3,0) -- (3,1);
\draw[black, thick] (5,0) -- (5,1);
\draw[black, thick] (6,0) -- (6,1);
\draw[black, thick] (7,0) -- (7,1);
\draw[black, thick] (8,0) -- (8,1);
% dots ...
\filldraw[color=black, thin] (3.8,0.5) circle (0.65pt);
\filldraw[color=black, thin] (4.0,0.5) circle (0.65pt);
\filldraw[color=black, thin] (4.2,0.5) circle (0.65pt);
% points first line
\filldraw[color=black] (0,0) circle (2pt);
\filldraw[color=black] (1,0) circle (2pt);
\filldraw[color=black] (2,0) circle (2pt);
\filldraw[color=black] (3,0) circle (2pt);
\filldraw[color=black] (5,0) circle (2pt);
\filldraw[color=black] (6,0) circle (2pt);
\filldraw[color=black] (7,0) circle (2pt);
\filldraw[color=black] (8,0) circle (2pt);
% points second line
\filldraw[color=black] (0,1) circle (2pt);
\filldraw[color=black] (1,1) circle (2pt);
\filldraw[color=black] (2,1) circle (2pt);
\filldraw[color=black] (3,1) circle (2pt);
\filldraw[color=black] (5,1) circle (2pt);
\filldraw[color=black] (6,1) circle (2pt);
\filldraw[color=black] (7,1) circle (2pt);
\filldraw[color=black] (8,1) circle (2pt);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}

\begin{document}
\begin{tikzpicture}[scale=0.5]
  \draw(3.5,-0.5) node {$(i,j,k)=(5,3,7)$};
  \draw(6,2.3) node {};
  %
  \draw[-] (0,1)--(1,1);
  \draw[-] (1,1)--(2,1);
  \draw[-] (2,1)--(3,1);
  \draw[-] (3,1)--(4,2);
  \draw[-] (4,2)--(5,1);
  \draw[-] (5,1)--(6,1);
  \draw[-] (6,1)--(7,1);
  \draw[-] (7,1)--(8,1);
  %
  \draw[-,red] (2,1)--(4,3);
  \draw[-,red] (4,3)--(6,1);
  %
  \draw[-,line width=1.5pt,dotted] (4,2)--(4,3);
  %
  \filldraw[red] (4,3) circle (2pt);
  %
  \filldraw [black] (0,1) circle (2pt)
                    (1,1) circle (2pt)
                    (2,1) circle (2pt)
                    (3,1) circle (2pt)
                    (4,2) circle (2pt)
                    (5,1) circle (2pt)
                    (6,1) circle (2pt)
                    (7,1) circle (2pt)
                    (8,1) circle (2pt);
  %
  \draw (0,0.6) node {$p_1$};
  \draw (1,0.6) node {$p_2$};
  \draw (2,0.6) node {$p_3$};
  \draw (3,0.6) node {$p_4$};
  \draw (3.6,2.1) node {$p_{5}$};
  \draw (5,0.6) node {$p_6$};
  \draw (6,0.6) node {$p_7$};
  \draw (7,0.6) node {$p_8$};
  \draw (8,0.6) node {$p_9$};
  \draw (4.3,3.2) node {$q$};
  \draw (8.5,3) node {};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\newcommand{\wid}{0.3mm}
\newcommand{\scaleIV}{0.75}

\begin{document}
\begin{tikzpicture}[circle dotted/.style={dash pattern=on .05mm off 1mm, line cap=round, line width=\wid}]
\tikzset{enclosed/.style={draw, circle, inner sep=0pt, minimum size=.1cm, fill=black}}

% Vertices
\node [enclosed, label=left:$\beta$] (bl) at (-3*\scaleIV,0) {};
\node [enclosed, label=right:$\delta$] (br) at (3*\scaleIV,0) {};
\node [enclosed, label={[label distance=-2mm]135:$\gamma$}] (u) at (0,1*\scaleIV) {};
\node [enclosed, label=above:$\alpha$] (uu) at (0,2*\scaleIV) {};
\node [enclosed, label=below:$1$] (1) at (-2*\scaleIV,0) {};
\node [enclosed, label=below:$2$] (2) at (-1*\scaleIV,0) {};
\node [enclosed, label=below:$3$] (3) at (0,0) {};
\node [enclosed, label=below:$m$] (n) at (2*\scaleIV,0) {};

% Edges
\foreach \x in {1,2,3,n} {\draw (u) -- (\x);}
\draw (bl) -- (1);
\draw (n) -- (br);
\draw (uu) -- (u);
\foreach \x [evaluate=\x as \y using \x+1] in {1,2} {\draw (\x) -- (\y);}
\draw [dashed] (3) -- (n);

\draw [circle dotted] (1) edge[bend right=50] (n);
\draw [circle dotted] (u) -- (bl);
\draw [circle dotted] (u) -- (br);
\draw [circle dotted] (uu) -- (1);
\draw [circle dotted] (uu) -- (2);
\draw [circle dotted] (uu) -- (n);
\draw [circle dotted] (uu) edge[bend left=20] (3);

\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,calc,decorations.pathreplacing}

\begin{document}

\begin{tikzpicture}
% define parameters
\def\o{1.5};

\draw[blue] (-3*\o,0) circle (\o);
\draw[blue] (3*\o,0) circle (\o);

% draw P1s
\draw[thick,red] (-2*\o,0) to [out=90,in=90] (0,0.5*\o)
                           to [out=-90,in=90] (-0.5*\o,0)
                           to [out=-90,in=90] (0,-0.5*\o)
                           to [out=-90,in=-90] (-2*\o,0);

\draw[thick,red] (2*\o,0) to [out=90,in=90] (0,0.5*\o)
                           to [out=-90,in=90] (0.5*\o,0)
                           to [out=-90,in=90] (0,-0.5*\o)
                           to [out=-90,in=-90] (2*\o,0);

% mark intersection points
\fill (0,0.5*\o) circle[radius=2.5pt];
\fill (0,-0.5*\o) circle[radius=2.5pt];
\fill (-2*\o,0) circle[radius=2.5pt];
\fill (2*\o,0) circle[radius=2.5pt];

% mark intersection multiplicity
\node at (-2*\o,0) [left] {$2 \times$};
\node at (0,0.5*\o) [right] {$2 \times$};
\node at (0,-0.5*\o) [right] {$2 \times$};
\node at (2*\o,0) [left] {$2 \times$};

% labels for curves
\node at (-3*\o,-1.25*\o) {$\textcolor{blue}{E_3}$};
\node at (-1*\o,-1.25*\o) {$\textcolor{red}{E_5^{(2)}}$};
\node at (1*\o,-1.25*\o) {$\textcolor{red}{E_1^{(2)}}$};
\node at (3*\o,-1.25*\o) {$\textcolor{blue}{E_4}$};

% indicate h^0
\node at (-3*\o,0) {$h^0 = 2$};
\node at (-1*\o,0) {$h^0 = 1$};
\node at (1*\o,0) {$h^0 = 5$};
\node at (3*\o,0) {$h^0 = 0$};
\end{tikzpicture}

\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.markings}

\begin{document}
\begin{tikzpicture}
\filldraw[fill=gray!20, line width=2 pt] (-6,0) circle [radius=1.5] node {$Q,M$};
\filldraw[fill=gray!20, line width=2 pt] (0,0) circle [radius=1.5] node {$Q,M'$};
\draw[dotted,line width=1 pt] (0,0) circle [radius=1.7];
\draw[line width=2pt,color=gray] (0,0) circle [radius=2];
\node at (0,2.4) {$m=M-M'$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}

\begin{document}
\begin{tikzpicture}
\draw[decoration={snake,amplitude=0.5mm,segment length=3.46mm},decorate,line width=0.5mm] (2,1.9) circle (6.5mm);
\draw[line width=0.5mm] (6,2) circle (7mm);
\draw[decoration={snake,amplitude=0.5mm,segment length=3.46mm},decorate,line width=0.5mm] (10,1.9) circle (6.5mm);
\draw[line width=0.5mm] (14,2) circle (7mm);

\draw[line width=0.25mm,dashed,->] (2.66,1.6) -- (4.05,1.6);
\draw[line width=0.25mm,dashed] (4,1.6) -- (5.35,1.6);
\draw[line width=0.25mm] (2.6,1.8) -- (4,1.8);
\draw[line width=0.25mm,<-] (3.95,1.8) -- (5.35,1.8);
\draw[line width=0.25mm,->] (6.66,1.8) -- (8.05,1.8);
\draw[line width=0.25mm] (8,1.8) -- (9.35,1.8);
\draw[line width=0.25mm,dashed] (6.66,1.6) -- (8,1.6);
\draw[line width=0.25mm,dashed,<-] (7.95,1.6) -- (9.5,1.6);
\draw[line width=0.25mm,dashed,->] (10.66,1.6) -- (12.05,1.6);
\draw[line width=0.25mm,dashed] (12,1.6) -- (13.35,1.6);
\draw[line width=0.25mm] (10.6,1.8) -- (12,1.8);
\draw[line width=0.25mm,<-] (11.95,1.8) -- (13.35,1.8);

\draw (2,2) node {$p_{I-1}$};
\draw (6,2) node {$p_{I}$};
\draw (10,2) node {$p_{I+1}$};
\draw (14,2) node {$p_{I+2}$};

\draw (4.05,2) node {$\alpha_{I-1}$};
\draw (4.05,1.3) node {$\bar{\alpha}_{I-1}$};
\draw (8,2) node {$\alpha_{I}$};
\draw (8,1.3) node {$\bar{\alpha}_{I}$};
\draw (12.05,2) node {$\alpha_{I+1}$};
\draw (12.05,1.3) node {$\bar{\alpha}_{I+1}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}

\tikzset{
    fermion/.style={draw=black, postaction={decorate},
        decoration={markings,mark=at position .52 with {\arrow[draw=black]{>}}}},
    fermionbar/.style={draw=black, postaction={decorate},
        decoration={markings,mark=at position .5 with {\arrow[draw=black]{<}}}},
    fermionnoarrow/.style={draw=black},
    phi/.style={dashed, draw=red}
}

\begin{document}
\begin{tikzpicture}[line width=1.5 pt, node distance=0.8 cm and 0.4 cm]
\coordinate (v1) at (0,0);
\coordinate (v22) at (2,0);
\draw[fermionbar] (v1) -- (v22);
\draw[fill=black] (v1) circle (.05cm);
\draw[fill=black] (v22) circle (.05cm);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.6]
\draw[thick,dashed] (0,0) -- (0,4);
\draw[thick,dashed] (0,0) -- (4,0);
\draw[thick,dashed] (0,4) -- (4,4);
\draw[thick,dashed] (4,0) -- (4,4);

\draw[thick,fill] (2.15,2) arc (0:360:1.5mm);
\node at (2,2.85) {\Large $0$};

\node at (5,2) {\Large $=$};

\draw[thick,dashed] (6,0) -- (6,4);
\draw[thick,dashed] (6,0) -- (10,0);
\draw[thick,dashed] (6,4) -- (10,4);
\draw[thick,dashed] (10,0) -- (10,4);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.6]
\draw[thick] (0,0) -- (0,2);
\draw[thick] (0,2) -- (-2,4);
\draw[thick] (0,2) -- (2,4);

\node at (0,-.75) {\Large $a+b$};
\node at (-2.5,4.5) {\Large $a$};
\node at (2.5,4.5) {\Large $b$};

\draw[thick] (0,1.25) -- ( .35,.95);
\draw[thick] (0,1.25) -- (-.35,.95);

\draw[thick] (-1,2.5) -- (-1,3);
\draw[thick] (-0.5,3) -- (-1,3);

\draw[thick] (1,2.5) -- (1,3);
\draw[thick] (0.5,3) -- (1,3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,amsmath,xcolor}
\usetikzlibrary{arrows,automata,shapes}

\begin{document}
\begin{tikzpicture}
    \tikzstyle{hidden} = [coordinate]
    \tikzstyle{every label}=[label position=left]
    \node [hidden] at (0,0) [label={\scriptsize{false}}] {};
    \node [hidden] at (0,1) [label={\scriptsize{true}}] {};
    \tikzstyle{every label}=[label position=below]
    \node [hidden] at (0.2,0) [label={\scriptsize{2}}] {};
    \node [hidden] at (0.5,0) [label={\scriptsize{5}}] {};
    \node [hidden] at (3.0,0) [label={\scriptsize{30}}] {};
    
    \draw[dotted,color=gray] (0,0) grid (3.0,1.0);
    \draw[thin,->] (0,0) -- (3.2,0) node[right] {$time (s)$};
    \draw[thin,-] (0,0) -- (0,1) node[rotate=90,xshift=-3.5ex,yshift=7.0ex] {$sensor$};	
    \draw[very thick] plot coordinates {(0,0) (0.2,0) (0.2,1) (0.5,1) (0.5,0) (3,0)};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[node distance=2cm]
    \draw[yellow, fill=yellow] (0,0)--(-1,1)--(-2,0)--(-1,-1)--(0,0);
    \draw[yellow, fill=yellow] (-2,0)--(-3,1)--(-4,0)--(-3,-1)--(-2,0);
    \draw[yellow, fill=yellow] (0,0)--(2,2)--(2.2,2)--(2.2,-2)--(2,-2)--(0,0);
    \draw[yellow, fill=yellow] (-4,0)--(-6,2)--(-6.2,2)--(-6.2,-2)--(-6,-2)--(-4,0);
    \draw(-2,2.7) node[above] {$\eta=-1$};
    \draw(0,0)--(2,2) node[left] {$\Sigma_1$};
    \draw(0,0)--(-1,1) node[right] {$\Sigma_2$};
    \draw(0,0)--(-1,-1) node[right] {$\Sigma_3$};
    \draw(0,0)--(2,-2) node[right] {$\Sigma_4$};
    \draw[dashed](-6,0)--(2.2,0) node[right] {\scriptsize Re$z$};
    \draw(-2,0)--(-1,1) node[left] {$\Sigma_9$};
    \draw(-2,0)--(-1,-1) node[left] {$\Sigma_{12}$};
    \draw(-2,0)--(-3,-1) node[right] {$\Sigma_{11}$};
    \draw(-2,0)--(-3,1) node[right] {$\Sigma_{10}$};
    \draw(-4,0)--(-3,1) node[left] {$\Sigma_5$};
    \draw(-4,0)--(-3,-1) node[left] {$\Sigma_8$};
    \draw(-4,0)--(-6,2) node[right] {$\Sigma_6$};
    \draw(-4,0)--(-6,-2) node[right] {$\Sigma_7$};
    \draw[-latex](-1,1)--(-1.5,0.5);
    \draw[-latex](-1,-1)--(-1.5,-0.5);
    \draw[-latex](-2,0)--(-2.5,-0.5);
    \draw[-latex](-2,0)--(-2.5,0.5);
    \draw[-latex](-3,1)--(-3.5,0.5);
    \draw[-latex](-3,-1)--(-3.5,-0.5);
    \draw[-latex](-6,2)--(-5,1);
    \draw[-latex](-6,-2)--(-5,-1);
    \draw[-latex](0,0)--(-0.5,-0.5);
    \draw[-latex](0,0)--(-0.5,0.5);
    \draw[-latex](0,0)--(1,1);
    \draw[-latex](0,0)--(1,-1);
    \coordinate (A) at (1,0.5);
    \coordinate (B) at (1,-0.5);
    \coordinate (G) at (-1,0.5);
    \coordinate (H) at (-1,-0.5);
    \coordinate (I) at (0,0);
    \coordinate (C) at (-1,0.1);
    \coordinate (K) at (-4,0);
    \coordinate (l) at (-2,0);	
    \fill (C) circle (0pt) node[above] {$\Omega_3$};
    \coordinate (E) at (-2,1.2);
    \fill (E) circle (0pt) node[above] {$\Omega_2$};
    \coordinate (D) at (1,0.1);
    \fill (D) circle (0pt) node[above] {$\Omega_1$};
    \coordinate (F) at (1,-0.1);
    \fill (F) circle (0pt) node[below] {$\Omega_6$};
    \coordinate (J) at (-2,-1.2);
    \fill (J) circle (0pt) node[below] {$\Omega_5$};
    \coordinate (k) at (-1,-0.1);
    \fill (k) circle (0pt) node[below] {$\Omega_4$};
    \fill (I) circle (1pt) node[below] {$z_0$};
    \fill (K) circle (1pt) node[below] {$-z_0$};
    \fill (l) circle (1pt) node[below] {$0$};
    \coordinate (a) at (-5,0.1);
    \fill (a) circle (0pt) node[above] {$\Omega_7$};
    \coordinate (b) at (-3,0.1);
    \fill (b) circle (0pt) node[above] {$\Omega_8$};
    \coordinate (c) at (-3,-0.1);
    \fill (c) circle (0pt) node[below] {$\Omega_9$};
    \coordinate (d) at (-5,-0.1);
    \fill (d) circle (0pt) node[below] {$\Omega_{10}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}
\usepackage[compat=1.1.0]{tikz-feynman}
\tikzfeynmanset{compat=1.1.0}

\begin{document}
\begin{tikzpicture}[baseline=(a.base)]
	\begin{feynman}
	\vertex (a) ;
	\vertex [right=of a] (a1) ;
	\vertex [right=of a1] (a2);
	\vertex [above=of a2] (a3);
	\vertex [right=of a2] (a4);
	\vertex [right=of a4] (a5); 
	\diagram* {
		(a) -- [very thick](a1)-- [boson,very thick] (a2) -- [out=140, in=180, loop, min distance=1.cm,very thick] (a3)--[out=0, in=40, loop, min distance=1.cm,very thick](a2) ,
		(a2) -- [boson,very thick] (a4)--   [very thick](a5),
	};
	\end{feynman}
\end{tikzpicture}
\end{document}