\documentclass[11pt]{article}

\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{pstricks,multido,pst-text,pst-plot}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 
% JupiterEpicycles.tex
%
% Peter Newbury 
% newbury@phas.ubc.ca
% Twitter @polarisdotca
% http://blogs.ubc.ca/polarisdotca/2011/06/01/how-should-i-share-materials/
%
% 7 Jun 2011
% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Margins
\oddsidemargin  -0.5in
\evensidemargin 0.0in
\textwidth      7.5in

\topmargin     -0.75in
\headheight     0pt
 
\textheight     9.5in
\footskip       30pt

\parindent      0pt
% \renewcommand{\baselinestretch}{1.5}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fancyhdr:
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\renewcommand{\headrulewidth}{0pt}
\lfoot{Astronomy 101}
\cfoot{}
\rfoot{Page~\thepage}
\renewcommand{\footrulewidth}{0.4pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\planetrad}{1.25ex}
\newcommand{\sunrad}{2ex}

\begin{document}

\begin{center}
  \psset{unit=5mm,linewidth=0.5pt}
  \pspicture(-8,-8)(8,8)
  \SpecialCoor
  % Earth
  \pscircle(0,0){\planetrad}
  \uput[-90](0,0){\footnotesize Earth}
  % Jupiter and orbit 
  \pscircle(0,0){5.2}
  %%%%%%%%%%%%%%%%%%%%
  % Jupiter orbit
  %%%%%%%%%%%%%%%%%%%%
  \parametricplot[plotpoints=721,linestyle=dashed]{0}{360}{%
    t cos 5.2 mul t 9 mul cos 1.5 mul add
    t sin 5.2 mul t 9 mul sin 1.5 mul add}
  % Jupiter epicycle
  \rput(5.2;45){\pscircle(0,0){1.5}}
  \pscircle[fillstyle=solid,fillcolor=white](6.7;45){\planetrad}
  % Jupiter dots at radii 5.2, 5.2+/- 1.5
  \pscircle[fillstyle=solid,fillcolor=white](5.9;67.5){\planetrad}
  \rput{90}(5.9;67.5){\footnotesize 1}
  \pscircle[fillstyle=solid,fillcolor=white](6.7;90){\planetrad}
  \rput{90}(6.7;90){\footnotesize 2}
  \pscircle[fillstyle=solid,fillcolor=white](5.2;118){\planetrad}
  \rput{90}(5.2;118){\footnotesize 3}
  \pscircle[fillstyle=solid,fillcolor=white](3.7;110){\planetrad}
  \rput{90}(3.7;110){\footnotesize 4}
  \pscircle[fillstyle=solid,fillcolor=white](5.0;105){\planetrad}
  \rput{90}(5.0;105){\footnotesize 5}
  \pscircle[fillstyle=solid,fillcolor=white](6.7;135){\planetrad}
  \rput{90}(6.7;135){\footnotesize 6}
  % background stars
  \pscircle[dimen=middle,linewidth=12pt,linecolor=lightgray](0,0){8}
  \pstextpath[c](0,0){%
    \psarcn[linestyle=none](0,0){8}{-5}{5}}{\footnotesize background stars}
  \pstextpath[c](0,0){%
    \psarcn[linestyle=none](0,0){8}{175}{185}}{\footnotesize background
    stars}
  \rput[l](7;45){\footnotesize Jupiter}
  % sample line
  \psline{-*}(1ex;67.5)(8;67.5)
  \uput[-15](8;67.5){\footnotesize 1}
  \endpspicture
\end{center}

\end{document}

