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

Inconsistent margin behavior between margin-captions and sidenotes #845

Open
calebqcook opened this issue Jun 13, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@calebqcook
Copy link

Describe the bug

When I create a figure with a margin-caption, I notice that the margin-caption -- as compared to a sidenote -- is both:

  1. closer to the main text than is the sidenote; and
  2. much narrower than is the sidenote.

I also find the typesetting differences between the margin-caption and sidenotes undesirable, as I want the entire right-margin to look consistent, but this is easy enough to fix with some CSS. I have had a harder time (probably given my inexperience with webdev generally) manually rectifying the spacing issues mentioned above.

image

Reproduce the bug

  1. Create a figure directive with several lines of caption text and the following options:

:align: right
:figwidth: 60%
:figclass: margin-caption

  1. Create a sidenote nearby.

List your environment

No response

@calebqcook calebqcook added the bug Something isn't working label Jun 13, 2024
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