Safe Haskell | None |
---|---|
Language | Haskell2010 |
- hat :: QuasiQuoter
- hat' :: QuasiQuoter
- mkHaTeXQQ :: String -> Bool -> QuasiQuoter
Documentation
hat :: QuasiQuoter Source
HaTeX quasiquoter. antiquote should be of the form of hask{...}
.
This quasiquoter is whitespace-sensitive both in input and output.
You need OverloadedStrings
language extension for pattern quotes.
Since 0.0.0.0
Whitespace-insensitive version of hat
.
This ignores whtiespace at both sides,
but not deeper inside because this might break
Math spacing.
Pattern quote requires ViewPatterns
in addition.
Since 0.0.0.0
:: String | Name for antiquoting latex command. |
-> Bool | Ignore whitespaces at both sides? (see |
-> QuasiQuoter |
General macro to generate quasiquoter for HaTeX.
If the second argument is True
, you also need ViewPatterns
.
NOTE: Due to TH's stage restriction, you have to use this function in an other module than you call the resulting quasiquotes.
Since 0.0.0.0