The code I wrote for it is –
\documentclass{article}
\usepackage{amsmath}
\usepackage{pstricks}
\usepackage{auto-pst-pdf}
\usepackage{pst-node,pst-plot}
\begin{document}
\begin{pspicture}(-6,-6)(6,6)
\pscircle(-3,-3){6}
\pscircle(5,-3){6}
\put(-6,-3){$\text{multiples\ of\ 2}$}
\put(5.5,-3){$\text{multiples\ of\ 3}$}
\put(-1,-3){$\text{multiples of 6}$}
\end{pspicture}
\end{document}
for which the output I am getting is-
You see the problem right?
First I cannot seem to stack the words multiples
and of 2
over each other like that. and also, how in the world I shade this specific area. I know how to shade the whole circle i.e. by putting [fillstyle=solid,fillcolor=lightgray]
after \pscircle
when making the circle.
Best Answer
I could only reproduce your output after setting
unit
to 0.5cm. Anyway, this code produces something close to your desired picture.I'd also recommend to use the
pstricks
command\rput
instead of\put
.