Created
July 30, 2011 15:45
-
-
Save jgm/1115661 to your computer and use it in GitHub Desktop.
HeX macro definition for \lettrine{T}{he}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lettrine :: Format -> InlineDoc -> InlineDoc -> Doc | |
lettrine "html" (InlineDoc x) (InlineDoc y) = | |
inTags "span" [("class","lettrine")] x +++ y | |
lettrine "latex" (InlineDoc x) (InlineDoc y) = | |
ctl "lettrine" +++ grp [x] +++ grp [y] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment