cref, sep

Adding inlineCommands
This commit is contained in:
Wikiwide 2014-10-03 11:33:02 +10:00
parent 08ac33815b
commit 678aa31561

View file

@ -414,6 +414,8 @@ inlineCommands = M.fromList $
, ("sim", lit "~")
, ("label", unlessParseRaw >> (inBrackets <$> tok))
, ("ref", unlessParseRaw >> (inBrackets <$> tok))
, ("sep", lit ",")
, ("cref", unlessParseRaw >> (inBrackets <$> tok))
, ("(", mathInline $ manyTill anyChar (try $ string "\\)"))
, ("[", mathDisplay $ manyTill anyChar (try $ string "\\]"))
, ("ensuremath", mathInline $ braced)