diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-07-20 17:08:05 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-07-20 17:12:53 -0700 |
commit | 91d4283263cc648efdd41e8c391477dd962db8ce (patch) | |
tree | 1b56617efe50f42a25c9a7a82cc8dd78544dce1f /test/command | |
parent | b6f9318c9bd2117de7f567dc8f50c56260015cc8 (diff) | |
download | pandoc-91d4283263cc648efdd41e8c391477dd962db8ce.tar.gz |
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.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/3324.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/command/3324.md b/test/command/3324.md new file mode 100644 index 000000000..9e9228ed1 --- /dev/null +++ b/test/command/3324.md @@ -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} +``` |