I made a plot in Mathematica of a unit circle. I then saved the Mathematica notebook as a .tex file and it generated a .tex file and an .eps file of the plot with the name "Unit Circle_gr1.eps". I'm trying to import this figure into my Latex document and I have read that using the epstopdf package would be able to do this.

However, I'm not sure if I'm using the \includegraphics or epstopdf packages correctly, as I have only started working with Latex a couple of days ago and I'm completely new to this. Any help would be appreciated, here is my code and output:



\declaretheoremstyle[spaceabove = 6pt, spacebelow = 6pt, headpunct={:} ,postfoothook=\noindent\hspace{-\fontdimen2\font}]{mydef}

\declaretheorem[parent=chapter,name = Def,style = mydef]{definition}

\declaretheorem[numbered = no,style = mydef, name = Example]{example}

    \chapter{Partial Differentiation}
    Contrary to the previous chapter, now we will discuss the continuity and differentiation of functions of several variables.
        Let $D$ be a subset of $\mathbb{R}^2$, i.e: $$D \subseteq \mathbb{R}^2 = \{(x,y) \mid x\in \mathbb{R}, y\in\mathbb{R} \}$$
        We say that $f:D\rightarrow\mathbb{R}$ is a real-valued function of two variables, if it assigns a real number $f(x,y)\, \mathrm{to\,each}\, (x,y) \in D.$ The \emph{range} of $f$ is the set of real numbers that $f$ maps to, $R\subseteq\mathbb{R}.$
        Let $f(x,y) = \sin(x^2y) \leadsto D = {\mathbb{R}}^2\, , R\rightarrow \left[-1,-1 \right] $

        Let $f(x,y) = \ln\left[1-(x^2+y^2)\right]$\\ For $D:$ $$1-(x^2+y^2)\ge0$$
        $$\Rightarrow D = \{(x,y)\in\mathbb{R}^2\mid x^2+y^2<1\}=\text{An open disc of radius}\,\, 1\,\, \text{centered at} (0,0).$$
    \includegraphics{epstopdf[Unit Circle_gr1.eps]}

enter image description here

  • Have you tried \includegraphics{"Unit Circle_gr1.eps"}. – Arzigoglu Feb 24 '17 at 5:44
  • That works without the quotations, thank you! – Hushus46 Feb 24 '17 at 6:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.