You should use this module only if you need both m
ath and h
uman configurations.
Understand Katex.Configs.Math
and Katex.Configs.Human
before reading on.
You may need both types of configurations (m
ath and h
uman).
A LaTeX instance.
human : (h -> String) -> Latex m h
Like Katex.Configs.Human.human
.
inline : (m -> String) -> Latex m h
Like Katex.Configs.Math.inline
.
display : (m -> String) -> Latex m h
Like Katex.Configs.Math.display
.
print : m -> h -> Latex m h -> String
Like Katex.print
, but depends on the m
ath and h
uman configurations.
generate : (m -> h -> Maybe Basics.Bool -> String -> a) -> m -> h -> Latex m h -> a
Like Katex.generate
, but depends on the m
ath and h
uman configurations. The generating function has access to the m
ath and h
uman configurations, but this is usually unnecessary, in which case simply use a generating function which ignores its first arguments.