HaTeX-qq-0.0.1.0: Quasiquoters for HaTeX

Safe HaskellNone
LanguageHaskell2010

Text.LaTeX.QQ

Synopsis

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

hat' :: QuasiQuoter Source

Whitespace-insensitive version of hat. Pattern quote requires ViewPatterns in addition.

Since 0.0.0.0

mkHaTeXQQ Source

Arguments

:: String

Name for antiquoting latex command.

-> Bool

Ignore whitespaces?

-> QuasiQuoter 

General macro to generate quasiquoter for HaTeX. You need OverloadedStrings for pattern quotes, and 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