latex-formulae-image 0.1.1.0 → 0.1.1.1
raw patch · 2 files changed
+5/−5 lines, 2 filesdep ~errors
Dependency ranges changed: errors
Files
latex-formulae-image.cabal view
@@ -1,5 +1,5 @@ name: latex-formulae-image-version: 0.1.1.0+version: 0.1.1.1 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@@ -39,7 +39,7 @@ , transformers-compat >= 0.4 && < 0.5 else build-depends: base >= 4.8 && < 4.9- build-depends: JuicyPixels >= 3.2 && < 3.3, errors >= 2.0 && < 2.1+ build-depends: JuicyPixels >= 3.2 && < 3.3, errors >= 2.0 && < 2.2 , temporary >= 1.2 && < 1.3 , transformers >= 0.3 && < 0.5 , directory >= 1.2 && < 1.3
src/Image/LaTeX/Render.hs view
@@ -66,9 +66,9 @@ 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.- }+ , 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.