-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix multiline formatting bug #11
Conversation
This branch replaces |
Great, thank you so much for contributing - I'll see how it works :) |
Just to let you know I'm still intending to sort this out! |
Thanks! (sorry i replied to the wrong thread that is why you see the edit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @vleni ! Thank you so much for fixing this issue. This is basically good to go, I just marked a few changes, mainly for consistency - most of it as review suggestions, so you could just go and accept them from GitHub. The only other thing I couldn't "suggest" directly was removing the now-obsolete workaround - I've left a comment about that.
If you're happy with my suggestions, ping me and I'll merge it in. :)
@@ -311,7 +335,6 @@ \section{Known issues} | |||
\begin{itemize} | |||
\item \texttt{label above}/\texttt{label below} is not implemented for \verb|\annotate|. | |||
|
|||
\item Formatting only covers first line in multi-line annotation texts (see \cref{sec:multiline}). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing it 🎉
annotate-equations.tex
Outdated
@@ -263,7 +287,7 @@ \subsection{Line breaks within annotations} | |||
\end{LTXexample} | |||
\noindent | |||
% | |||
Here is a manual work-around: | |||
Here is a manual work-around: (obsolete) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's helpful to show the old work-around - could you just delete it instead? All it needs to say here is that using \\
within the text to get a line break works just fine.:)
Thanks! It should be ok now after your change. |
@vleni if you agree with all the suggestions, you can just go and accept them (see GitHub docs in case that's new to you). Also, would you be happy to adapt the no-longer-needed section on the workaround (see https://github.com/st--/annotate-equations/pull/11/files#r1105454093) instead of just marking it "obsolete"? If you prefer, I can also do all those changes myself, but I didn't want to do so without giving you the chance first because it would seem rude to me to edit someone else's contributions for them:) |
(Side note- I edited the PR description to include "resolves #2" because a) the link to the issue makes it easier to keep up with why this PR is here and what it does and b) GitHub has this neat feature where merging a PR also closes the linked issues :)) |
Oh, one more task: after the final changes, could you also regenerate the PDF & commit that? Update: I spotted a minor typography issue in the TeX that I fixed on the |
ok I fixed all of the suggestions and I regenerated the PDF but I didn't merge master. Could you do it in the merge commit? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
Resolves #2