Skip to content

\verb macro confuses tex-fmt #104

@FernandoChu

Description

@FernandoChu

Using the \verb|| macro inside a parenthesis and a breakline in the middle of the parenthesis makes everything after it to be indented to the right. E.g:

\documentclass{article}
\begin{document}
Please include this command in the preamble (before the
command ``\verb|\begin{document}|'') of your \LaTeX\ source...

This is some additional line.
\end{document}

Becomes

\documentclass{article}
\begin{document}
Please include this command in the preamble (before the
  command ``\verb|\begin{document}|'') of your \LaTeX\ source...

  This is some additional line.
  \end{document}

I noticed this when formatting the ACM official template. Thanks for the great work btw! <3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions