LaTeX writer: put a strut after a line break (\\
).
This ensures that we have proper spacing before the next line (which might e.g. be a table bottom border). This gives better results in cases like test/command/7272.md.
This commit is contained in:
parent
0352f7845b
commit
e2a7ecb5f7
1 changed files with 1 additions and 1 deletions
|
@ -919,7 +919,7 @@ inlineToLaTeX il@(RawInline f str) = do
|
|||
inlineToLaTeX LineBreak = do
|
||||
emptyLine <- gets stEmptyLine
|
||||
setEmptyLine True
|
||||
return $ (if emptyLine then "\\strut " else "") <> "\\\\" <> cr
|
||||
return $ (if emptyLine then "\\strut " else "") <> "\\\\ \\strut" <> cr
|
||||
inlineToLaTeX SoftBreak = do
|
||||
wrapText <- gets (writerWrapText . stOptions)
|
||||
case wrapText of
|
||||
|
|
Loading…
Add table
Reference in a new issue