diff --git a/latex-formulae-image.cabal b/latex-formulae-image.cabal
--- a/latex-formulae-image.cabal
+++ b/latex-formulae-image.cabal
@@ -1,5 +1,5 @@
 name:                latex-formulae-image
-version:             0.1.0.1
+version:             0.1.1.0
 synopsis:            A library for rendering LaTeX formulae as images using an actual LaTeX installation
 description:         This library provides the basic infrastructure necessary to convert LaTeX formulae into images, using a real
                      LaTeX installation. This is useful in particular for showing formulae on websites, where using alternatives
diff --git a/src/Image/LaTeX/Render.hs b/src/Image/LaTeX/Render.hs
--- a/src/Image/LaTeX/Render.hs
+++ b/src/Image/LaTeX/Render.hs
@@ -43,13 +43,14 @@
                  | IMConvertFailure String -- ^ @convert@ returned a nonzero error code
                  | IOException IOException -- ^ An 'IOException' occurred while managing the temporary files used to convert the equation
                  | ImageReadError String -- ^ The PNG image from ImageMagick could not be read by JuicyPixels.
-                 deriving (Show)
+                 deriving (Show, Eq)
 
 
 data TempDirectoryHandling = UseSystemTempDir { nameTemplate :: String }
                            -- ^ A temporary directory with a name based on the given template will be created in the system temporary files location
                            | UseCurrentDir    { nameTemplate :: String }
                            -- ^ A temporary directory with a name based on the given template will be created in the current directory
+       deriving (Eq, Show, Read, Ord)
 
 data EnvironmentOptions
      = EnvironmentOptions { latexCommand :: String -- ^ Command to use for @latex@, default is @latex@
@@ -61,12 +62,14 @@
                           , tempDir :: TempDirectoryHandling -- ^ How to handle temporary files
                           , tempFileBaseName :: String -- ^ The base name to use for the temporary files.
                           }
+       deriving (Eq, Show, Read, Ord)
 
 data FormulaOptions
      = FormulaOptions { preamble :: String -- ^ LaTeX preamble to use. Put your @\usepackage@ commands here.@ commands here.
                        , environment :: String -- ^ LaTeX environment in which the equation will be typeset, usually @math@ or @displaymath@
                        , dpi :: Int -- ^ DPI for the image to be rendered at. ~200 is good for retina displays, ~100 works OK for non-retina displays.
                        }
+       deriving (Eq, Show, Read, Ord)
 
 -- | Use the @amsmath@ package, the @displaymath@ environment, and 200dpi.
 displaymath :: FormulaOptions
