Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Text.TeXMath.Readers.TeX.Macros
Description
Functions for parsing LaTeX macro definitions and applying macros to LateX expressions.
Documentation
parseMacroDefinitions :: Text -> ([Macro], Text) Source #
Parses a string for a list of macro definitions, optionally separated and ended by spaces and TeX comments. Returns the list of macros (which may be empty) and the unparsed portion of the input string.