-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line blocks results in uneven indents in LaTeX output #9088
Labels
Comments
Background (from code comments on inlineListToLaTeX): -- nonbreaking spaces (~) in LaTeX don't work after line breaks,
-- so we turn nbsps after hard breaks to \hspace commands.
-- this is mostly used in verse. |
Interestingly, they line up with the default font, but not with pgtermes. |
Note that the |
Correct. I've tried several non-default fonts, with the same result. |
I think using
is a better approach. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When converting from markdown to LaTeX the following snippet:
it produces the following output:
When converting the output to PDF, it seems that with certain fonts the first row of the line block becomes less indented than the rest of the lines, caused by the
~
instead of\hspace
. When I manually replace all~
with\hspace*{0.333em}
, all lines in the block are indented as expected.pandoc 3.1.6.2
The text was updated successfully, but these errors were encountered: