TeX-my-math-0.201.1.1: Render general Haskell math to LaTeX. Or: math typesetting with high signal-to-noise–ratio.

Copyright(c) Justus Sagemüller 2017
LicenseGPL v3
Maintainer(@) jsagemue $ uni-koeln.de
Stabilityexperimental
Portabilityrequires GHC>7 extensions
Safe HaskellNone
LanguageHaskell2010

Math.LaTeX.Internal.Display

Description

 

Synopsis

Documentation

(>$) :: (LaTeXC r, SymbolClass σ, SCConstraint σ LaTeX) => r -> CAS (Infix LaTeX) (Encapsulation LaTeX) (SymbolD σ LaTeX) -> r infixl 1 Source #

dmaths Source #

Arguments

:: (LaTeXC r, SymbolClass σ, SCConstraint σ LaTeX) 
=> [[CAS (Infix LaTeX) (Encapsulation LaTeX) (SymbolD σ LaTeX)]]

Equations to show.

-> String

“Terminator” – this can include punctuation (when an equation is at the end of a sentence in the preceding text).

-> r 

Include a formula / equation system as a LaTeX display. If it's a single equation, automatic line breaks are inserted (requires the breqn LaTeX package).

maths Source #

Arguments

:: (LaTeXC r, SymbolClass σ, SCConstraint σ LaTeX) 
=> [[CAS (Infix LaTeX) (Encapsulation LaTeX) (SymbolD σ LaTeX)]]

Equations to show.

-> String

“Terminator” – this can include punctuation (when an equation is at the end of a sentence in the preceding text).

-> r 

Include a formula / equation system as a LaTeX display.

dcalculation Source #

Arguments

:: (LaTeXC (m ()), SymbolClass σ, SCConstraint σ LaTeX, Functor m) 
=> CAS (Infix LaTeX) (Encapsulation LaTeX) (SymbolD σ LaTeX)

Computation chain to display.

-> String

“Terminator” – this can include punctuation (when an equation is at the end of a sentence in the preceding text).

-> m (CAS (Infix LaTeX) (Encapsulation LaTeX) (SymbolD σ LaTeX))

Yield the rightmost expression in the displayed computation (i.e. usually the final result in a chain of algebraic equalities).

Display an equation and also extract the final result. As with dmaths, automatic line breaks are inserted by breqn.

parseEqnum :: LaTeXC r => String -> (Maybe r, r) Source #