You should use this module only if you need h
uman configurations.
Understand Katex
before reading on.
For example, let's say you want your lecture notes in both English and Hebrew. In this case, you can write both and show whichever you want, depending on the state of your app. See §Katex.Configs.Human in the README for this example in action.
Katex.Configs.Latex String h
A LaTeX instance.
human : (h -> String) -> Latex h
Like Katex.human
, but instead of feeding it a string, you feed it a h
uman-dependent string.
inline : String -> Latex h
Like Katex.inline
.
display : String -> Latex h
Like Katex.display
.
print : h -> Latex h -> String
Like Katex.print
, but depends on the h
uman configurations.
generate : (h -> Maybe Basics.Bool -> String -> a) -> h -> Latex h -> a
Like Katex.generate
, but depends on the h
uman configurations. The generating function has access to the h
uman configurations, but this is usually unnecessary, in which case simply use a generating function which ignores its first argument.