@@ -923,7 +923,7 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList
923923 , ("eqref", rawInlineOr "eqref" $ doref "eqref") -- from amsmath.sty
924924 , ("mbox", rawInlineOr "mbox" $ processHBox <$> tok)
925925 , ("hbox", rawInlineOr "hbox" $ processHBox <$> tok)
926− , ("lettrine", optional opt >> extractSpaces (spanWith ("",["lettrine"],[])) <$> tok)
926+ , ("lettrine", rawInlineOr "lettrine" $ lettrine)
927927 , ("(", mathInline . untokenize <$> manyTill anyTok (controlSeq ")"))
928928 , ("[", mathDisplay . untokenize <$> manyTill anyTok (controlSeq "]"))
929929 , ("ensuremath", mathInline . untokenize <$> braced)
@@ -1178,6 +1178,13 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList
11781178 , ("ifdim", ifdim)
11791179 ]
11801180
1181+lettrine :: PandocMonad m => LP m Inlines
1182+lettrine = do
1183+ optional opt
1184+ x <- tok
1185+ y <- tok
1186+ return $ extractSpaces (spanWith ("",["lettrine"],[])) x <> smallcaps y
1187+
11811188ifdim :: PandocMonad m => LP m Inlines
11821189ifdim = do
11831190 contents <- manyTill anyTok (controlSeq "fi")