1

I am working at my essay and I don't know how to make diagrams in Latex. I would appreciate if you could indicate the code to draw it or suggest some sources to do that.

Closed contours

Bernard
  • 271,350
Pear
  • 13
  • 3
    Hello and welcome to TeX-SE. Did you search a bit? Did you try something? You should try drawing arcs, and have a look at this question. – SebGlav May 29 '21 at 21:08
  • you can follow this useful link https://latexdraw.com/how-to-draw-an-arrow-in-the-middle-of-a-line-in-tikz/, or PGF manual https://ctan.org/pkg/pgf?lang=en – Black Mild May 30 '21 at 04:12

1 Answers1

4

Here's a way to do this. Feel free to customize it.

midarrows on a graph

\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{arrows.meta,decorations.pathreplacing,decorations.markings}

\tikzset{ mid arrow/.style={postaction={decorate,decoration={ markings, mark=at position #1 with {\arrow{Stealth[scale=1.5]}} }}}, dot/.style={circle,fill=black,inner sep=1.5pt} }

\begin{document} \begin{tikzpicture}[line width=1pt] \draw (-4,0) -- (4,0) (0,-4) -- (0,4); \draw[mid arrow=0.6] (3,0) to[out=90,in=0] node[midway,right=10pt]{$\gamma^+_R$} (0,2) node[dot,label=above right:{$iR$}]{}; \draw (0,2) to[out=180,in=90] (-2,1) node[left=10pt]{$\gamma^-_R$} ; \draw[mid arrow=0.5] (-2,1) -- (-2,0) node[dot,label=below left:{\strut $-\delta(R)$}]{}; \draw[mid arrow=0.9] (-2,0) -- (-2,-1); \draw (-2,-1) to[out=-90,in=180] (0,-2) node[dot,label=below right:{$-iR$}]{};
\draw[mid arrow=0.5] (0,-2) to[out=0,in=-90] (3,0); \node[dot,label=below:{\strut $-\delta_1$}] at (-1,0){}; \node at (3,-3) {$\gamma_R=\gamma^+_R+\gamma^-_R$}; \end{tikzpicture} \end{document}

SebGlav
  • 19,186