From 3c265bb513f9c10a106c06e86a01c5b67b680d40 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Sun, 13 Feb 2022 08:09:39 +1100 Subject: No space after ( --- latexfmt.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/latexfmt.hs b/latexfmt.hs index c1ecfe1..b7473ce 100644 --- a/latexfmt.hs +++ b/latexfmt.hs @@ -23,6 +23,7 @@ toStr (Wrd w) = do if T.length w >= 1 && T.head w `elem` (".,;:!?)" :: [Char]) then print' w else print w + when (w == "(") suppress when (T.last w == '.') printnl toStr (Cmd c) = if T.length c > 0 && isCtrl (T.head c) then print' $ "\\" `T.append` c -- cgit v1.2.3