Skip to content

Conversation

@patnr
Copy link
Contributor

@patnr patnr commented Jul 27, 2025

As indicated by this comment the intent is to apply the indent of the preceding line, not the current.

Without this patch, the code

        \begin{equation}
                  a = b \\
                  % comment
                  c = d
        \end{equation}

Gets indented (for example with vie=) to

        \begin{equation}
          a = b \\
                  % comment
          c = d
        \end{equation}

With the patch I get

        \begin{equation}
          a = b \\
          % comment
          c = d
        \end{equation}

@lervag
Copy link
Owner

lervag commented Aug 3, 2025

Sorry about the delay - I've been on vacations.

This looks like a very good catch, thanks!

@lervag lervag merged commit 2392300 into lervag:master Aug 3, 2025
1 check passed
lervag added a commit that referenced this pull request Aug 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants