LaTeX Writting a Circle in a Latex Document

  • Thread starter EngWiPy
  • Start date
1,366
61
Hello,

I have the following Latex segment of code:

Code:
\documentclass[a4paper,12pt,openany,oneside]{memoir}
\usepackage{tikz}
\begin{document}

\begin{figure}
\begin{center}
\begin{tikzpicture}

\pgfsetfillopacity{0.5}

		
    \draw [very thick,dashed,fill=gray!60](0,0) circle (3.6cm);
    \draw [dashed,fill=gray!20](3,2) circle (3.6cm);
    \draw (0,0) circle (6cm);

    \node (source) at (0,0) [circle,draw] {$S$};
    \node (relay) at (3,2) [circle,draw] {$R$};
    \node (destination) at (6,0) [circle,draw] {$D$};


    \draw [->] (source.60) to node [auto] {} (relay.west);
    \draw [->] (relay.east) to node [auto] {} (destination.120);
    \draw [->] (source.east) to node [auto,swap] {} (destination.west);
    
   

\end{tikzpicture}

\end{center}
\end{figure}
\end{document}
I want to write above each circle. How can I do that?

Thanks in advance
 

Want to reply to this thread?

"Writting a Circle in a Latex Document" You must log in or register to reply here.

Related Threads for: Writting a Circle in a Latex Document

  • Posted
Replies
0
Views
3K
Replies
0
Views
2K
Replies
0
Views
3K
  • Posted
Replies
0
Views
2K
Replies
0
Views
2K
  • Posted
Replies
0
Views
1K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top