git.iko.soy/typeable/pandoc
on master help sign in
Changed hspace in last commit to 0.333em.

This seems to match the spacing of ~ exactly.

commitf07ce6fead38991697a69a0856eac8a101faa35b authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 11 Jan 2013, 20:44 (14 years ago) parentc29a194
1 file changed+1−1
src/Text/Pandoc/Writers/LaTeX.hs+1−1
src/Text/Pandoc/Writers/LaTeX.hs+1−1
@@ -530,7 +530,7 @@ inlineListToLaTeX lst =
530530 fixLineInitialSpaces (x:xs) = x : fixLineInitialSpaces xs
531531 fixNbsps s = let (ys,zs) = span (=='\160') s
532532 in replicate (length ys) hspace ++ [Str zs]
533− hspace = RawInline "latex" "\\hspace*{0.4em}"
533+ hspace = RawInline "latex" "\\hspace*{0.333em}"
534534
535535isQuoted :: Inline -> Bool
536536isQuoted (Quoted _ _) = True