| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Capabilities.LatexSvg
Description
Defines a Monad context for rendering latex formulas as SVG images.
Synopsis
- class Monad m => MonadLatexSvg (m :: Type -> Type) where
- renderImage :: EnvironmentOptions -> FormulaOptions -> Formula -> m ByteString
- renderLatexSvg :: MonadLatexSvg m => Maybe EnvironmentOptions -> Maybe FormulaOptions -> Formula -> m ByteString
Documentation
class Monad m => MonadLatexSvg (m :: Type -> Type) where Source #
Methods
renderImage :: EnvironmentOptions -> FormulaOptions -> Formula -> m ByteString Source #
Instances
| MonadLatexSvg m => MonadLatexSvg (GenericReportT l o m) Source # | |
Defined in Capabilities.LatexSvg Methods renderImage :: EnvironmentOptions -> FormulaOptions -> Formula -> GenericReportT l o m ByteString Source # | |
renderLatexSvg :: MonadLatexSvg m => Maybe EnvironmentOptions -> Maybe FormulaOptions -> Formula -> m ByteString Source #
Renders the given Formula with provided options or sensible default options if none are given.