Skip to content
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

Multiple note refs on the same line overlap #2

Open
mlhetland opened this issue Feb 27, 2021 · 2 comments
Open

Multiple note refs on the same line overlap #2

mlhetland opened this issue Feb 27, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@mlhetland
Copy link
Owner

If one has multiple skeleton elements or notes on the same line, their numbers in the margin end up on top of each other.

@mlhetland mlhetland added the bug Something isn't working label Feb 27, 2021
@mlhetland
Copy link
Owner Author

Could have a local option that (manually) provides a vertical adjustment (e.g., a multiple of \baselineskip) to the \marginnote command used internally.

@mlhetland
Copy link
Owner Author

A workaround, for now, could be something like:

\NewDocumentCommand \skelvadj {O{}+m} {%
    {\def\marginnotevadjust{#1\baselineskip}#2}%
}

Used, e.g., like:

\skelnote{Lorem ipsum}
Dolor sit amet~\skelvadj{\skelcite{Consetetur sadipscing.}}.

A third skeleton element (with a note) appearing on the same line could then use \skelvadj[2]{…}, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant