LaTeX writer: fix line breaks at start of paragraph.

Previously we just omitted these. Now we render them
using `\hfill\break` instead of `\\`.  This is a revision
of a PR by @sabine (#5591) who should be credited with the
idea.

Closes #3324.
This commit is contained in:
John MacFarlane committed 2019-07-20 17:12:53 -07:00
1 parent b6f9318c9b
commit 91d4283263
2 files changed
+27 -9

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
```
pandoc -t latex
Signatures
\
\
___________________________\
Peter Foobar\
*The Foo Company*
^D
Signatures
\hfill\break
\hfill\break
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\\
Peter Foobar\\
\emph{The Foo Company}
```