a week or so ago I started using gnuplottex and fell head over heels for it. Now however, we entered a lover's spat.
I'm trying to insert a Greek symbol/letter in my plots but can't seem to get it to work. Is there someone here who has the experience to help me out? I have an example of the code I used below.
Regards,
Eljee
P.S. Not sure whether to mention it or not. I'm using TeX-Live on a Linux Mint 13 system. Using the compiler with a
--shell-escape
, dvips and ps2pdf to create my files.Code: Select all
\documentclass{article}
\usepackage{gnuplottex}
\usepackage{graphicx}
\begin{document}
\begin{figure}[!ht]
\begin{gnuplot}[scale=0.7, terminal=epslatex]
set title "My title with a $\pi$ or {/Symbol p} symbol."
plot sin(x)
\end{gnuplot}
\caption{Insert a caption for good measure. Symbols work just fine here $\lambda$.}
\end{figure}
\end{document}