HaTeX 3.16.1.1 → 3.16.2.0
raw patch · 4 files changed
+54/−20 lines, 4 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Text.LaTeX.Base.Class: instance LaTeXC LaTeX
- Text.LaTeX.Base.Commands: instance IsString ClassOption
- Text.LaTeX.Base.Commands: instance Render ClassOption
- Text.LaTeX.Base.Commands: instance Render PaperType
- Text.LaTeX.Base.Commands: instance Show ClassOption
- Text.LaTeX.Base.Commands: instance Show PaperType
- Text.LaTeX.Base.Render: instance Render Bool
- Text.LaTeX.Base.Render: instance Render Double
- Text.LaTeX.Base.Render: instance Render Float
- Text.LaTeX.Base.Render: instance Render Int
- Text.LaTeX.Base.Render: instance Render Integer
- Text.LaTeX.Base.Render: instance Render LaTeX
- Text.LaTeX.Base.Render: instance Render Measure
- Text.LaTeX.Base.Render: instance Render TeXArg
- Text.LaTeX.Base.Render: instance Render Text
- Text.LaTeX.Base.Render: instance Render Word8
- Text.LaTeX.Base.Render: instance Render a => Render [a]
- Text.LaTeX.Base.Syntax: instance Arbitrary LaTeX
- Text.LaTeX.Base.Syntax: instance Arbitrary Measure
- Text.LaTeX.Base.Syntax: instance Arbitrary TeXArg
- Text.LaTeX.Base.Syntax: instance Eq LaTeX
- Text.LaTeX.Base.Syntax: instance Eq MathType
- Text.LaTeX.Base.Syntax: instance Eq Measure
- Text.LaTeX.Base.Syntax: instance Eq TeXArg
- Text.LaTeX.Base.Syntax: instance IsString LaTeX
- Text.LaTeX.Base.Syntax: instance Monoid LaTeX
- Text.LaTeX.Base.Syntax: instance Show LaTeX
- Text.LaTeX.Base.Syntax: instance Show MathType
- Text.LaTeX.Base.Syntax: instance Show Measure
- Text.LaTeX.Base.Syntax: instance Show TeXArg
- Text.LaTeX.Base.Syntax: instance Typeable LaTeX
- Text.LaTeX.Base.Texy: instance HasResolution a => Texy (Fixed a)
- Text.LaTeX.Base.Texy: instance Texy Bool
- Text.LaTeX.Base.Texy: instance Texy Char
- Text.LaTeX.Base.Texy: instance Texy Double
- Text.LaTeX.Base.Texy: instance Texy Float
- Text.LaTeX.Base.Texy: instance Texy Int
- Text.LaTeX.Base.Texy: instance Texy Integer
- Text.LaTeX.Base.Texy: instance Texy LaTeX
- Text.LaTeX.Base.Texy: instance Texy Measure
- Text.LaTeX.Base.Texy: instance Texy Text
- Text.LaTeX.Base.Types: instance Eq Label
- Text.LaTeX.Base.Types: instance IsString Label
- Text.LaTeX.Base.Types: instance Render HPos
- Text.LaTeX.Base.Types: instance Render Label
- Text.LaTeX.Base.Types: instance Render Pos
- Text.LaTeX.Base.Types: instance Render TableSpec
- Text.LaTeX.Base.Types: instance Show HPos
- Text.LaTeX.Base.Types: instance Show Label
- Text.LaTeX.Base.Types: instance Show Pos
- Text.LaTeX.Base.Types: instance Show TableSpec
- Text.LaTeX.Base.Warnings: instance Eq Warning
- Text.LaTeX.Base.Warnings: instance Monoid TeXCheck
- Text.LaTeX.Base.Warnings: instance Show Warning
- Text.LaTeX.Base.Writer: instance (Monad m, a ~ ()) => IsString (LaTeXT m a)
- Text.LaTeX.Base.Writer: instance (Monad m, a ~ ()) => LaTeXC (LaTeXT m a)
- Text.LaTeX.Base.Writer: instance (Monad m, a ~ ()) => Monoid (LaTeXT m a)
- Text.LaTeX.Base.Writer: instance Applicative f => Applicative (LaTeXT f)
- Text.LaTeX.Base.Writer: instance Functor f => Functor (LaTeXT f)
- Text.LaTeX.Base.Writer: instance Monad m => Monad (LaTeXT m)
- Text.LaTeX.Base.Writer: instance MonadIO m => MonadIO (LaTeXT m)
- Text.LaTeX.Base.Writer: instance MonadTrans LaTeXT
- Text.LaTeX.Packages.AMSMath: instance (Integral a, Texy a) => Texy (Ratio a)
- Text.LaTeX.Packages.AMSMath: instance (Monad m, a ~ ()) => Floating (LaTeXT m a)
- Text.LaTeX.Packages.AMSMath: instance (Monad m, a ~ ()) => Fractional (LaTeXT m a)
- Text.LaTeX.Packages.AMSMath: instance (Monad m, a ~ ()) => Num (LaTeXT m a)
- Text.LaTeX.Packages.AMSMath: instance (Texy a, Texy b) => Texy (a, b)
- Text.LaTeX.Packages.AMSMath: instance (Texy a, Texy b, Texy c) => Texy (a, b, c)
- Text.LaTeX.Packages.AMSMath: instance (Texy a, Texy b, Texy c, Texy d) => Texy (a, b, c, d)
- Text.LaTeX.Packages.AMSMath: instance Eq (LaTeXT m a)
- Text.LaTeX.Packages.AMSMath: instance Floating LaTeX
- Text.LaTeX.Packages.AMSMath: instance Fractional LaTeX
- Text.LaTeX.Packages.AMSMath: instance Num LaTeX
- Text.LaTeX.Packages.AMSMath: instance Show (LaTeXT m a)
- Text.LaTeX.Packages.AMSMath: instance Texy a => Texy (Matrix a)
- Text.LaTeX.Packages.AMSMath: instance Texy a => Texy [a]
- Text.LaTeX.Packages.AMSThm: instance Render TheoremStyle
- Text.LaTeX.Packages.AMSThm: instance Show TheoremStyle
- Text.LaTeX.Packages.Babel: instance Render Language
- Text.LaTeX.Packages.Babel: instance Show LangConf
- Text.LaTeX.Packages.Babel: instance Show Language
- Text.LaTeX.Packages.Babel: instance Texy Language
- Text.LaTeX.Packages.Babel: mainLang :: LangConf -> Language
- Text.LaTeX.Packages.Babel: otherLangs :: LangConf -> [Language]
- Text.LaTeX.Packages.Beamer: instance Eq Theme
- Text.LaTeX.Packages.Beamer: instance Render CoverOption
- Text.LaTeX.Packages.Beamer: instance Render OverlaySpec
- Text.LaTeX.Packages.Beamer: instance Render Theme
- Text.LaTeX.Packages.Beamer: instance Show CoverOption
- Text.LaTeX.Packages.Beamer: instance Show Opaqueness
- Text.LaTeX.Packages.Beamer: instance Show OverlaySpec
- Text.LaTeX.Packages.Beamer: instance Show Theme
- Text.LaTeX.Packages.Color: instance Render ColSpec
- Text.LaTeX.Packages.Color: instance Render Color
- Text.LaTeX.Packages.Color: instance Render ColorModel
- Text.LaTeX.Packages.Color: instance Render ColorName
- Text.LaTeX.Packages.Color: instance Show ColSpec
- Text.LaTeX.Packages.Color: instance Show Color
- Text.LaTeX.Packages.Color: instance Show ColorModel
- Text.LaTeX.Packages.Color: instance Show ColorName
- Text.LaTeX.Packages.Fancyhdr: centerFooter :: HdrSettings -> LaTeX
- Text.LaTeX.Packages.Fancyhdr: centerHeader :: HdrSettings -> LaTeX
- Text.LaTeX.Packages.Fancyhdr: footRuleWidth :: HdrSettings -> Measure
- Text.LaTeX.Packages.Fancyhdr: headRuleWidth :: HdrSettings -> Measure
- Text.LaTeX.Packages.Fancyhdr: instance Eq HdrSettings
- Text.LaTeX.Packages.Fancyhdr: instance Show HdrSettings
- Text.LaTeX.Packages.Fancyhdr: leftFooter :: HdrSettings -> LaTeX
- Text.LaTeX.Packages.Fancyhdr: leftHeader :: HdrSettings -> LaTeX
- Text.LaTeX.Packages.Fancyhdr: rightFooter :: HdrSettings -> LaTeX
- Text.LaTeX.Packages.Fancyhdr: rightHeader :: HdrSettings -> LaTeX
- Text.LaTeX.Packages.Fontenc: instance Render FontEnc
- Text.LaTeX.Packages.Fontenc: instance Show FontEnc
- Text.LaTeX.Packages.Fontenc: instance Texy FontEnc
- Text.LaTeX.Packages.Geometry: instance Render GeometryOption
- Text.LaTeX.Packages.Geometry: instance Show GeometryOption
- Text.LaTeX.Packages.Graphicx: instance Render IGOption
- Text.LaTeX.Packages.Graphicx: instance Show IGOption
- Text.LaTeX.Packages.Hyperref: instance IsString URL
- Text.LaTeX.Packages.Hyperref: instance Render HRefOption
- Text.LaTeX.Packages.Hyperref: instance Render URL
- Text.LaTeX.Packages.Hyperref: instance Show HRefOption
- Text.LaTeX.Packages.Hyperref: instance Show URL
- Text.LaTeX.Packages.TikZ.PathBuilder: instance Applicative PathBuilder
- Text.LaTeX.Packages.TikZ.PathBuilder: instance Functor PathBuilder
- Text.LaTeX.Packages.TikZ.PathBuilder: instance Monad PathBuilder
- Text.LaTeX.Packages.TikZ.Syntax: instance Render ActionType
- Text.LaTeX.Packages.TikZ.Syntax: instance Render GridOption
- Text.LaTeX.Packages.TikZ.Syntax: instance Render Parameter
- Text.LaTeX.Packages.TikZ.Syntax: instance Render Step
- Text.LaTeX.Packages.TikZ.Syntax: instance Render TPath
- Text.LaTeX.Packages.TikZ.Syntax: instance Render TPoint
- Text.LaTeX.Packages.TikZ.Syntax: instance Render TikZ
- Text.LaTeX.Packages.TikZ.Syntax: instance Render TikZColor
- Text.LaTeX.Packages.TikZ.Syntax: instance Show ActionType
- Text.LaTeX.Packages.TikZ.Syntax: instance Show GridOption
- Text.LaTeX.Packages.TikZ.Syntax: instance Show Parameter
- Text.LaTeX.Packages.TikZ.Syntax: instance Show Step
- Text.LaTeX.Packages.TikZ.Syntax: instance Show TPath
- Text.LaTeX.Packages.TikZ.Syntax: instance Show TPoint
- Text.LaTeX.Packages.TikZ.Syntax: instance Show TikZ
- Text.LaTeX.Packages.TikZ.Syntax: instance Show TikZColor
- Text.LaTeX.Packages.Trees: instance Foldable Tree
- Text.LaTeX.Packages.Trees: instance Functor Tree
- Text.LaTeX.Packages.Trees: instance Traversable Tree
- Text.LaTeX.Packages.Trees.Qtree: instance Texy a => Texy (Tree a)
+ Text.LaTeX.Base.Class: instance Text.LaTeX.Base.Class.LaTeXC Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Base.Commands: instance Data.String.IsString Text.LaTeX.Base.Commands.ClassOption
+ Text.LaTeX.Base.Commands: instance GHC.Show.Show Text.LaTeX.Base.Commands.ClassOption
+ Text.LaTeX.Base.Commands: instance GHC.Show.Show Text.LaTeX.Base.Commands.PaperType
+ Text.LaTeX.Base.Commands: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Base.Commands.ClassOption
+ Text.LaTeX.Base.Commands: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Base.Commands.PaperType
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render Data.Text.Internal.Text
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render GHC.Integer.Type.Integer
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render GHC.Types.Bool
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render GHC.Types.Double
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render GHC.Types.Float
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render GHC.Types.Int
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render GHC.Word.Word8
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Base.Syntax.Measure
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Base.Syntax.TeXArg
+ Text.LaTeX.Base.Render: instance Text.LaTeX.Base.Render.Render a => Text.LaTeX.Base.Render.Render [a]
+ Text.LaTeX.Base.Syntax: instance Data.String.IsString Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Base.Syntax: instance GHC.Base.Monoid Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Base.Syntax: instance GHC.Classes.Eq Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Base.Syntax: instance GHC.Classes.Eq Text.LaTeX.Base.Syntax.MathType
+ Text.LaTeX.Base.Syntax: instance GHC.Classes.Eq Text.LaTeX.Base.Syntax.Measure
+ Text.LaTeX.Base.Syntax: instance GHC.Classes.Eq Text.LaTeX.Base.Syntax.TeXArg
+ Text.LaTeX.Base.Syntax: instance GHC.Show.Show Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Base.Syntax: instance GHC.Show.Show Text.LaTeX.Base.Syntax.MathType
+ Text.LaTeX.Base.Syntax: instance GHC.Show.Show Text.LaTeX.Base.Syntax.Measure
+ Text.LaTeX.Base.Syntax: instance GHC.Show.Show Text.LaTeX.Base.Syntax.TeXArg
+ Text.LaTeX.Base.Syntax: instance Test.QuickCheck.Arbitrary.Arbitrary Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Base.Syntax: instance Test.QuickCheck.Arbitrary.Arbitrary Text.LaTeX.Base.Syntax.Measure
+ Text.LaTeX.Base.Syntax: instance Test.QuickCheck.Arbitrary.Arbitrary Text.LaTeX.Base.Syntax.TeXArg
+ Text.LaTeX.Base.Texy: instance Data.Fixed.HasResolution a => Text.LaTeX.Base.Texy.Texy (Data.Fixed.Fixed a)
+ Text.LaTeX.Base.Texy: instance Text.LaTeX.Base.Texy.Texy Data.Text.Internal.Text
+ Text.LaTeX.Base.Texy: instance Text.LaTeX.Base.Texy.Texy GHC.Integer.Type.Integer
+ Text.LaTeX.Base.Texy: instance Text.LaTeX.Base.Texy.Texy GHC.Types.Bool
+ Text.LaTeX.Base.Texy: instance Text.LaTeX.Base.Texy.Texy GHC.Types.Char
+ Text.LaTeX.Base.Texy: instance Text.LaTeX.Base.Texy.Texy GHC.Types.Double
+ Text.LaTeX.Base.Texy: instance Text.LaTeX.Base.Texy.Texy GHC.Types.Float
+ Text.LaTeX.Base.Texy: instance Text.LaTeX.Base.Texy.Texy GHC.Types.Int
+ Text.LaTeX.Base.Texy: instance Text.LaTeX.Base.Texy.Texy Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Base.Texy: instance Text.LaTeX.Base.Texy.Texy Text.LaTeX.Base.Syntax.Measure
+ Text.LaTeX.Base.Types: instance Data.String.IsString Text.LaTeX.Base.Types.Label
+ Text.LaTeX.Base.Types: instance GHC.Classes.Eq Text.LaTeX.Base.Types.Label
+ Text.LaTeX.Base.Types: instance GHC.Show.Show Text.LaTeX.Base.Types.HPos
+ Text.LaTeX.Base.Types: instance GHC.Show.Show Text.LaTeX.Base.Types.Label
+ Text.LaTeX.Base.Types: instance GHC.Show.Show Text.LaTeX.Base.Types.Pos
+ Text.LaTeX.Base.Types: instance GHC.Show.Show Text.LaTeX.Base.Types.TableSpec
+ Text.LaTeX.Base.Types: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Base.Types.HPos
+ Text.LaTeX.Base.Types: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Base.Types.Label
+ Text.LaTeX.Base.Types: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Base.Types.Pos
+ Text.LaTeX.Base.Types: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Base.Types.TableSpec
+ Text.LaTeX.Base.Warnings: instance GHC.Base.Monoid Text.LaTeX.Base.Warnings.TeXCheck
+ Text.LaTeX.Base.Warnings: instance GHC.Classes.Eq Text.LaTeX.Base.Warnings.Warning
+ Text.LaTeX.Base.Warnings: instance GHC.Show.Show Text.LaTeX.Base.Warnings.Warning
+ Text.LaTeX.Base.Writer: instance (GHC.Base.Monad m, a ~ ()) => Data.String.IsString (Text.LaTeX.Base.Writer.LaTeXT m a)
+ Text.LaTeX.Base.Writer: instance (GHC.Base.Monad m, a ~ ()) => GHC.Base.Monoid (Text.LaTeX.Base.Writer.LaTeXT m a)
+ Text.LaTeX.Base.Writer: instance (GHC.Base.Monad m, a ~ ()) => Text.LaTeX.Base.Class.LaTeXC (Text.LaTeX.Base.Writer.LaTeXT m a)
+ Text.LaTeX.Base.Writer: instance Control.Monad.IO.Class.MonadIO m => Control.Monad.IO.Class.MonadIO (Text.LaTeX.Base.Writer.LaTeXT m)
+ Text.LaTeX.Base.Writer: instance Control.Monad.Trans.Class.MonadTrans Text.LaTeX.Base.Writer.LaTeXT
+ Text.LaTeX.Base.Writer: instance GHC.Base.Applicative f => GHC.Base.Applicative (Text.LaTeX.Base.Writer.LaTeXT f)
+ Text.LaTeX.Base.Writer: instance GHC.Base.Functor f => GHC.Base.Functor (Text.LaTeX.Base.Writer.LaTeXT f)
+ Text.LaTeX.Base.Writer: instance GHC.Base.Monad m => GHC.Base.Monad (Text.LaTeX.Base.Writer.LaTeXT m)
+ Text.LaTeX.Packages.AMSMath: instance (GHC.Base.Monad m, a ~ ()) => GHC.Float.Floating (Text.LaTeX.Base.Writer.LaTeXT m a)
+ Text.LaTeX.Packages.AMSMath: instance (GHC.Base.Monad m, a ~ ()) => GHC.Num.Num (Text.LaTeX.Base.Writer.LaTeXT m a)
+ Text.LaTeX.Packages.AMSMath: instance (GHC.Base.Monad m, a ~ ()) => GHC.Real.Fractional (Text.LaTeX.Base.Writer.LaTeXT m a)
+ Text.LaTeX.Packages.AMSMath: instance (GHC.Real.Integral a, Text.LaTeX.Base.Texy.Texy a) => Text.LaTeX.Base.Texy.Texy (GHC.Real.Ratio a)
+ Text.LaTeX.Packages.AMSMath: instance (Text.LaTeX.Base.Texy.Texy a, Text.LaTeX.Base.Texy.Texy b) => Text.LaTeX.Base.Texy.Texy (a, b)
+ Text.LaTeX.Packages.AMSMath: instance (Text.LaTeX.Base.Texy.Texy a, Text.LaTeX.Base.Texy.Texy b, Text.LaTeX.Base.Texy.Texy c) => Text.LaTeX.Base.Texy.Texy (a, b, c)
+ Text.LaTeX.Packages.AMSMath: instance (Text.LaTeX.Base.Texy.Texy a, Text.LaTeX.Base.Texy.Texy b, Text.LaTeX.Base.Texy.Texy c, Text.LaTeX.Base.Texy.Texy d) => Text.LaTeX.Base.Texy.Texy (a, b, c, d)
+ Text.LaTeX.Packages.AMSMath: instance GHC.Float.Floating Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Packages.AMSMath: instance GHC.Num.Num Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Packages.AMSMath: instance GHC.Real.Fractional Text.LaTeX.Base.Syntax.LaTeX
+ Text.LaTeX.Packages.AMSMath: instance Text.LaTeX.Base.Texy.Texy a => Text.LaTeX.Base.Texy.Texy (Data.Matrix.Matrix a)
+ Text.LaTeX.Packages.AMSMath: instance Text.LaTeX.Base.Texy.Texy a => Text.LaTeX.Base.Texy.Texy [a]
+ Text.LaTeX.Packages.AMSMath: partial :: LaTeXC l => l
+ Text.LaTeX.Packages.AMSMath: partialOf :: LaTeXC l => l -> l
+ Text.LaTeX.Packages.AMSMath: totald :: LaTeXC l => l
+ Text.LaTeX.Packages.AMSMath: totaldOf :: LaTeXC l => l -> l
+ Text.LaTeX.Packages.AMSThm: instance GHC.Show.Show Text.LaTeX.Packages.AMSThm.TheoremStyle
+ Text.LaTeX.Packages.AMSThm: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.AMSThm.TheoremStyle
+ Text.LaTeX.Packages.Babel: [mainLang] :: LangConf -> Language
+ Text.LaTeX.Packages.Babel: [otherLangs] :: LangConf -> [Language]
+ Text.LaTeX.Packages.Babel: instance GHC.Show.Show Text.LaTeX.Packages.Babel.LangConf
+ Text.LaTeX.Packages.Babel: instance GHC.Show.Show Text.LaTeX.Packages.Babel.Language
+ Text.LaTeX.Packages.Babel: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Babel.Language
+ Text.LaTeX.Packages.Babel: instance Text.LaTeX.Base.Texy.Texy Text.LaTeX.Packages.Babel.Language
+ Text.LaTeX.Packages.Beamer: instance GHC.Classes.Eq Text.LaTeX.Packages.Beamer.Theme
+ Text.LaTeX.Packages.Beamer: instance GHC.Show.Show Text.LaTeX.Packages.Beamer.CoverOption
+ Text.LaTeX.Packages.Beamer: instance GHC.Show.Show Text.LaTeX.Packages.Beamer.Opaqueness
+ Text.LaTeX.Packages.Beamer: instance GHC.Show.Show Text.LaTeX.Packages.Beamer.OverlaySpec
+ Text.LaTeX.Packages.Beamer: instance GHC.Show.Show Text.LaTeX.Packages.Beamer.Theme
+ Text.LaTeX.Packages.Beamer: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Beamer.CoverOption
+ Text.LaTeX.Packages.Beamer: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Beamer.OverlaySpec
+ Text.LaTeX.Packages.Beamer: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Beamer.Theme
+ Text.LaTeX.Packages.Color: instance GHC.Show.Show Text.LaTeX.Packages.Color.ColSpec
+ Text.LaTeX.Packages.Color: instance GHC.Show.Show Text.LaTeX.Packages.Color.Color
+ Text.LaTeX.Packages.Color: instance GHC.Show.Show Text.LaTeX.Packages.Color.ColorModel
+ Text.LaTeX.Packages.Color: instance GHC.Show.Show Text.LaTeX.Packages.Color.ColorName
+ Text.LaTeX.Packages.Color: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Color.ColSpec
+ Text.LaTeX.Packages.Color: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Color.Color
+ Text.LaTeX.Packages.Color: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Color.ColorModel
+ Text.LaTeX.Packages.Color: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Color.ColorName
+ Text.LaTeX.Packages.Fancyhdr: [centerFooter] :: HdrSettings -> LaTeX
+ Text.LaTeX.Packages.Fancyhdr: [centerHeader] :: HdrSettings -> LaTeX
+ Text.LaTeX.Packages.Fancyhdr: [footRuleWidth] :: HdrSettings -> Measure
+ Text.LaTeX.Packages.Fancyhdr: [headRuleWidth] :: HdrSettings -> Measure
+ Text.LaTeX.Packages.Fancyhdr: [leftFooter] :: HdrSettings -> LaTeX
+ Text.LaTeX.Packages.Fancyhdr: [leftHeader] :: HdrSettings -> LaTeX
+ Text.LaTeX.Packages.Fancyhdr: [rightFooter] :: HdrSettings -> LaTeX
+ Text.LaTeX.Packages.Fancyhdr: [rightHeader] :: HdrSettings -> LaTeX
+ Text.LaTeX.Packages.Fancyhdr: instance GHC.Classes.Eq Text.LaTeX.Packages.Fancyhdr.HdrSettings
+ Text.LaTeX.Packages.Fancyhdr: instance GHC.Show.Show Text.LaTeX.Packages.Fancyhdr.HdrSettings
+ Text.LaTeX.Packages.Fontenc: instance GHC.Show.Show Text.LaTeX.Packages.Fontenc.FontEnc
+ Text.LaTeX.Packages.Fontenc: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Fontenc.FontEnc
+ Text.LaTeX.Packages.Fontenc: instance Text.LaTeX.Base.Texy.Texy Text.LaTeX.Packages.Fontenc.FontEnc
+ Text.LaTeX.Packages.Geometry: instance GHC.Show.Show Text.LaTeX.Packages.Geometry.GeometryOption
+ Text.LaTeX.Packages.Geometry: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Geometry.GeometryOption
+ Text.LaTeX.Packages.Graphicx: instance GHC.Show.Show Text.LaTeX.Packages.Graphicx.IGOption
+ Text.LaTeX.Packages.Graphicx: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Graphicx.IGOption
+ Text.LaTeX.Packages.Hyperref: instance Data.String.IsString Text.LaTeX.Packages.Hyperref.URL
+ Text.LaTeX.Packages.Hyperref: instance GHC.Show.Show Text.LaTeX.Packages.Hyperref.HRefOption
+ Text.LaTeX.Packages.Hyperref: instance GHC.Show.Show Text.LaTeX.Packages.Hyperref.URL
+ Text.LaTeX.Packages.Hyperref: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Hyperref.HRefOption
+ Text.LaTeX.Packages.Hyperref: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.Hyperref.URL
+ Text.LaTeX.Packages.TikZ.PathBuilder: instance GHC.Base.Applicative Text.LaTeX.Packages.TikZ.PathBuilder.PathBuilder
+ Text.LaTeX.Packages.TikZ.PathBuilder: instance GHC.Base.Functor Text.LaTeX.Packages.TikZ.PathBuilder.PathBuilder
+ Text.LaTeX.Packages.TikZ.PathBuilder: instance GHC.Base.Monad Text.LaTeX.Packages.TikZ.PathBuilder.PathBuilder
+ Text.LaTeX.Packages.TikZ.Syntax: instance GHC.Show.Show Text.LaTeX.Packages.TikZ.Syntax.ActionType
+ Text.LaTeX.Packages.TikZ.Syntax: instance GHC.Show.Show Text.LaTeX.Packages.TikZ.Syntax.GridOption
+ Text.LaTeX.Packages.TikZ.Syntax: instance GHC.Show.Show Text.LaTeX.Packages.TikZ.Syntax.Parameter
+ Text.LaTeX.Packages.TikZ.Syntax: instance GHC.Show.Show Text.LaTeX.Packages.TikZ.Syntax.Step
+ Text.LaTeX.Packages.TikZ.Syntax: instance GHC.Show.Show Text.LaTeX.Packages.TikZ.Syntax.TPath
+ Text.LaTeX.Packages.TikZ.Syntax: instance GHC.Show.Show Text.LaTeX.Packages.TikZ.Syntax.TPoint
+ Text.LaTeX.Packages.TikZ.Syntax: instance GHC.Show.Show Text.LaTeX.Packages.TikZ.Syntax.TikZ
+ Text.LaTeX.Packages.TikZ.Syntax: instance GHC.Show.Show Text.LaTeX.Packages.TikZ.Syntax.TikZColor
+ Text.LaTeX.Packages.TikZ.Syntax: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.TikZ.Syntax.ActionType
+ Text.LaTeX.Packages.TikZ.Syntax: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.TikZ.Syntax.GridOption
+ Text.LaTeX.Packages.TikZ.Syntax: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.TikZ.Syntax.Parameter
+ Text.LaTeX.Packages.TikZ.Syntax: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.TikZ.Syntax.Step
+ Text.LaTeX.Packages.TikZ.Syntax: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.TikZ.Syntax.TPath
+ Text.LaTeX.Packages.TikZ.Syntax: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.TikZ.Syntax.TPoint
+ Text.LaTeX.Packages.TikZ.Syntax: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.TikZ.Syntax.TikZ
+ Text.LaTeX.Packages.TikZ.Syntax: instance Text.LaTeX.Base.Render.Render Text.LaTeX.Packages.TikZ.Syntax.TikZColor
+ Text.LaTeX.Packages.Trees: instance Data.Foldable.Foldable Text.LaTeX.Packages.Trees.Tree
+ Text.LaTeX.Packages.Trees: instance Data.Traversable.Traversable Text.LaTeX.Packages.Trees.Tree
+ Text.LaTeX.Packages.Trees: instance GHC.Base.Functor Text.LaTeX.Packages.Trees.Tree
+ Text.LaTeX.Packages.Trees.Qtree: instance Text.LaTeX.Base.Texy.Texy a => Text.LaTeX.Base.Texy.Texy (Text.LaTeX.Packages.Trees.Tree a)
Files
- CHANGELOG.md +12/−0
- HaTeX.cabal +2/−2
- README.md +12/−9
- Text/LaTeX/Packages/AMSMath.hs +28/−9
CHANGELOG.md view
@@ -9,6 +9,18 @@ # Changelog by versions +## From 3.16.1.1 to 3.16.2.0++* New differentiation symbols (AMSMath).+* Fix for integralFromTo.+* Extend definitions for the Num class instance of LaTeXT.+* Show and Eq instances of LaTeXT dissappear if base version+ is greater or equal to 4.5.0.0.++## From 3.16.1.0 to 3.16.1.1++* Full compatibility without warnings with GHC-7.10.+ ## From 3.16.0.0 to 3.16.1.0 * Pretty-printer: Use softline instead of line after commands.
HaTeX.cabal view
@@ -1,5 +1,5 @@ Name: HaTeX -Version: 3.16.1.1 +Version: 3.16.2.0 Author: Daniel Díaz Category: LaTeX Build-type: Simple @@ -7,7 +7,7 @@ License-file: license Maintainer: Daniel Díaz (dhelta `dot` diaz `at` gmail `dot` com) Bug-reports: https://github.com/Daniel-Diaz/HaTeX/issues -homepage: http://wrongurl.net/haskell/HaTeX +homepage: https://github.com/Daniel-Diaz/HaTeX/blob/master/README.md Synopsis: The Haskell LaTeX library. Description: This library implements the LaTeX syntax and provides some useful abstractions. .
README.md view
@@ -1,10 +1,11 @@+ # The HaTeX library -HaTeX is a Haskell library that implements the *LaTeX syntax*, plus some abstractions over it.+HaTeX is a Haskell library that implements the *LaTeX syntax*, plus some abstractions on top. Check a list of usage examples in the [Examples](https://github.com/Daniel-Diaz/HaTeX/tree/master/Examples) directory of the repository in GitHub.-A good starting point may be [simple.hs](https://github.com/Daniel-Diaz/HaTeX/blob/master/Examples/simple.hs).+A good starting point is [simple.hs](https://github.com/Daniel-Diaz/HaTeX/blob/master/Examples/simple.hs). Run any example script executing the ``main`` function. ## Installation notes@@ -18,23 +19,25 @@ If you want to try a newer version, use _git_ to clone the code contained in this repository. - $ git clone git@github.com:Daniel-Diaz/HaTeX.git+ $ git clone https://github.com/Daniel-Diaz/HaTeX.git $ cd HaTeX $ cabal install -However, note that the API may be unstable and is subject to any kind of change.-In the other hand, this package follows the [_Package Versioning Policy_](http://www.haskell.org/haskellwiki/Package_versioning_policy),+However, this is not recommended as it may include some bugs or oddities due to in-development features.+Note that this package follows the [_Package Versioning Policy_](http://www.haskell.org/haskellwiki/Package_versioning_policy), so it is unlikely to suffer from API breakages if you follow it too when importing the library (assuming you are using the version in Hackage). -See the [Hackage page of HaTeX](http://hackage.haskell.org/package/HaTeX) to browse older versions.+## HaTeX in Hackage +[](https://hackage.haskell.org/package/HaTeX)+ ## HaTeX User's Guide The HaTeX User's Guide lives [here](https://github.com/Daniel-Diaz/hatex-guide)... and is also done in Haskell! It is free source and anybody can contribute to it. Doing so, you will help current and future users! -A downloadable version (not necessarily the last version, but most likely)+A downloadable version (not necessarily the latest version, but most likely) can be found [here](http://daniel-diaz.github.com/projects/hatex/hatex-guide.pdf). To be sure that you are reading the last version, go to the github repository of the guide and follow instructions to build it. It is fairly easy.@@ -60,10 +63,10 @@ ## Related projects -* [TeX-my-math](https://github.com/leftaroundabout/Symbolic-math-HaTeX): Experimental library to ease the production-of mathematical expressions using HaTeX (_no longer maintained?_). * [haskintex](http://daniel-diaz.github.io/projects/haskintex): Tool to use Haskell (and, additionaly, the HaTeX library) within a LaTeX file.+* [TeX-my-math](https://github.com/leftaroundabout/Symbolic-math-HaTeX): Experimental library to ease the production+of mathematical expressions using HaTeX (_no longer maintained?_). ## Travis automatic build
Text/LaTeX/Packages/AMSMath.hs view
@@ -1,5 +1,5 @@ -{-# LANGUAGE OverloadedStrings, TypeFamilies #-}+{-# LANGUAGE CPP, OverloadedStrings, TypeFamilies #-} -- | \AMSMath\ support. Also numeric instances ('Num', 'Fractional' and 'Floating') for 'LaTeX' and 'LaTeXT'. module Text.LaTeX.Packages.AMSMath@@ -40,10 +40,11 @@ , tsqrt -- ** Custom function symbols , operatorname- -- ** Sum/Integral symbols+ -- ** Summation \/ integration \/ differentiation , tsum , sumFromTo , prod , prodFromTo , integral , integralFromTo+ , partial, totald, partialOf, totaldOf -- ** Operator symbols -- *** Arithmetic , cdot , times , div_@@ -185,6 +186,8 @@ ----------- LaTeXT instances +#if !MIN_VERSION_base(4,5,0)+ -- | Warning: this instance only exists for the 'Num' instance. -- This instance is defined in the "Text.LaTeX.Packages.AMSMath" module. instance Eq (LaTeXT m a) where@@ -195,6 +198,8 @@ instance Show (LaTeXT m a) where show _ = error "Cannot use \"show\" Show method with a LaTeXT value." +#endif+ -- | Careful! Method 'signum' is undefined. Don't use it! -- This instance is defined in the "Text.LaTeX.Packages.AMSMath" module. instance (Monad m, a ~ ()) => Num (LaTeXT m a) where@@ -204,8 +209,7 @@ negate = liftFun negate fromInteger = fromLaTeX . fromInteger abs = liftFun abs- -- Non-defined methods- signum _ = error "Cannot use \"signum\" Num method with a LaTeXT value."+ signum = liftFun signum -- | Division uses the LaTeX 'frac' command. -- This instance is defined in the "Text.LaTeX.Packages.AMSMath" module.@@ -231,10 +235,9 @@ sinh = liftFun sinh tanh = liftFun tanh cosh = liftFun cosh- -- Non-defined methods- asinh = error "Function 'asinh' is not defined in AMSMath!"- atanh = error "Function 'atabh' is not defined in AMSMath!"- acosh = error "Function 'acosh' is not defined in AMSMath!"+ asinh = liftFun asinh+ atanh = liftFun atanh+ acosh = liftFun acosh -- | A reference to a numbered equation. Use with a 'label' defined in the -- scope of the equation refered to.@@ -443,7 +446,23 @@ => l -- ^ Lower limit of integration. -> l -- ^ Upper limit of integration. -> l-integralFromTo x y = commS "int" !: x ^: y+integralFromTo x y = commS "int" <> commS "limits" !: x ^: y++-- | Partial-differentiation symbol ∂+partial :: LaTeXC l => l+partial = comm0 "partial"++-- | Total-differentiation (or integration-variable) symbol d (non-italic!)+totald :: LaTeXC l => l+totald = mathrm "d"++-- | Partial-differentiation of variable, e.g. /∂x/.+partialOf :: LaTeXC l => l -> l+partialOf v = comm0 "partial" <> v++-- | Total-differentiation of variable, or integration over variable, e.g. d/x/.+totaldOf :: LaTeXC l => l -> l+totaldOf v = mathrm "d" <> v ---- Operator symbols