HaTeX-qq-0.0.1.1: 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. 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

mkHaTeXQQ Source

Arguments

:: String

Name for antiquoting latex command.

-> Bool

Ignore whitespaces at both sides? (see hat')

-> 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