aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-11 20:44:39 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-11 20:44:39 -0800
commitf07ce6fead38991697a69a0856eac8a101faa35b (patch)
tree0857c0be1fc2e8480de90bd50d4d17fecc3157b1 /src/Text/Pandoc/Writers
parentc29a1942d08ed73b2ffb6d29c1c614297f00e107 (diff)
downloadpandoc-f07ce6fead38991697a69a0856eac8a101faa35b.tar.gz
Changed hspace in last commit to 0.333em.
This seems to match the spacing of ~ exactly.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs
index 35376ee99..aede568b6 100644
--- a/src/Text/Pandoc/Writers/LaTeX.hs
+++ b/src/Text/Pandoc/Writers/LaTeX.hs
@@ -530,7 +530,7 @@ inlineListToLaTeX lst =
fixLineInitialSpaces (x:xs) = x : fixLineInitialSpaces xs
fixNbsps s = let (ys,zs) = span (=='\160') s
in replicate (length ys) hspace ++ [Str zs]
- hspace = RawInline "latex" "\\hspace*{0.4em}"
+ hspace = RawInline "latex" "\\hspace*{0.333em}"
isQuoted :: Inline -> Bool
isQuoted (Quoted _ _) = True