HaTeX 3.22.2.0 → 3.22.3.0
raw patch · 4 files changed
+44/−11 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Text.LaTeX.Base.Math: approx :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Base.Math: cong :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Base.Math: sim :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Base.Math: simeq :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Base.Math: subseteq :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Base.Math: supseteq :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Base.Math: uplus :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Packages.AMSMath: approx :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Packages.AMSMath: cong :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Packages.AMSMath: sim :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Packages.AMSMath: simeq :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Packages.AMSMath: subseteq :: LaTeXC l => l -> l -> l
+ Text.LaTeX.Packages.AMSMath: supseteq :: LaTeXC l => l -> l -> l
Files
- CHANGELOG.md +3/−0
- HaTeX.cabal +1/−4
- Text/LaTeX/Base/Math.hs +35/−5
- Text/LaTeX/Packages/AMSMath.hs +5/−2
CHANGELOG.md view
@@ -9,6 +9,9 @@ # Changelog by versions +## From 3.22.2.0 to 3.22.3.0+* Add more math symbols. (leftaroundabout)+ ## From 3.22.1.0 to 3.22.2.0 * New render method: renderBuilder.
HaTeX.cabal view
@@ -1,5 +1,5 @@ Name: HaTeX -Version: 3.22.2.0 +Version: 3.22.3.0 Author: Daniel Díaz Category: LaTeX Build-type: Simple @@ -27,9 +27,6 @@ Browse the @examples@ directory in the source distribution to see some simple examples. It might help you to get started. The HaTeX User's Guide is available at <https://github.com/Daniel-Diaz/hatex-guide/blob/master/README.md>. - We also have a mailing list (<http://projects.haskell.org/cgi-bin/mailman/listinfo/hatex>) - and an IRC channel (@#hatex@). If you just want to read a short introduction, read - the "Text.LaTeX" module. . If you prefer to write in LaTeX and all you want is to /program/ some parts of the document, or if you already have the LaTeX document written and you just want to add some automatically
Text/LaTeX/Base/Math.hs view
@@ -20,8 +20,6 @@ -- ** Referencing , nonumber -- * Symbols and utilities- -- | The unicode approximations do, of course, not reliably represent how- -- LaTeX renders these symbols. -- ** Brackets / delimiters , autoParens@@ -72,15 +70,18 @@ , propto , parallel , perp+ , approx+ , sim, simeq+ , cong -- *** Sets , in_ , ni , notin- , subset , supset+ , subset , supset, subseteq, supseteq , cap , cup , setminus -- *** Misc operators , vee , wedge , oplus , ominus , otimes- , oslash , odot+ , oslash , odot , uplus -- *** Accents , hat, tilde, bar, vec, widehat, widetilde , dot@@ -616,6 +617,23 @@ perp :: LaTeXC l => l -> l -> l perp = between $ comm0 "perp" +-- | Approximate equality \(\approx\)+approx :: LaTeXC l => l -> l -> l+approx = between $ comm0 "approx"++-- | Generic equivalence relation \(\sim\).+sim :: LaTeXC l => l -> l -> l+sim = between $ comm0 "sim"++-- | Equivalence relation \(\simeq\). Sometimes used for approximate+-- equality or isomorphism.+simeq :: LaTeXC l => l -> l -> l+simeq = between $ comm0 "simeq"++-- | Congruence \(\cong\).+cong :: LaTeXC l => l -> l -> l+cong = between $ comm0 "cong"+ -- | Parallel \(\parallel\). parallel :: LaTeXC l => l -> l -> l parallel = between $ comm0 "parallel"@@ -640,10 +658,18 @@ subset :: LaTeXC l => l -> l -> l subset = between $ comm0 "subset" --- | Superset-of \(supset\).+-- | Subset-of-or-equal \(\subseteq\).+subseteq :: LaTeXC l => l -> l -> l+subseteq = between $ comm0 "subseteq"++-- | Superset-of \(\supset\). supset :: LaTeXC l => l -> l -> l supset = between $ comm0 "supset" +-- | Superset-of-or-equal \(\supseteq\).+supseteq :: LaTeXC l => l -> l -> l+supseteq = between $ comm0 "supseteq"+ -- | Set intersection \(\cap\). cap :: LaTeXC l => l -> l -> l cap = between $ comm0 "cap"@@ -683,6 +709,10 @@ -- | Circled dot operator \(\odot\). odot :: LaTeXC l => l -> l -> l odot = between $ comm0 "odot"++-- | Disjoint sum operator \(\uplus\).+uplus :: LaTeXC l => l -> l -> l+uplus = between $ comm0 "uplus" --- Accemts {-
Text/LaTeX/Packages/AMSMath.hs view
@@ -24,8 +24,6 @@ -- ** Referencing , eqref , nonumber -- * Symbols and utilities- -- | The unicode approximations do, of course, not reliably represent how- -- LaTeX renders these symbols. -- ** Brackets / delimiters , autoParens@@ -76,9 +74,14 @@ , propto , parallel , perp+ , approx+ , sim+ , simeq+ , cong -- *** Sets , in_ , ni , notin , subset , supset+ , subseteq , supseteq , cap , cup , setminus -- *** Misc operators