diff options
Diffstat (limited to 'latexfmt.hs')
-rw-r--r-- | latexfmt.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/latexfmt.hs b/latexfmt.hs index b7473ce..1dd6a88 100644 --- a/latexfmt.hs +++ b/latexfmt.hs @@ -25,7 +25,7 @@ toStr (Wrd w) = do else print w when (w == "(") suppress when (T.last w == '.') printnl -toStr (Cmd c) = if T.length c > 0 && isCtrl (T.head c) +toStr (Cmd c) = if T.length c > 0 && isCtrl (T.head c) || T.length c == 1 then print' $ "\\" `T.append` c else do printnl' |