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

[fix] equation numbering with circuits #4

Merged
merged 1 commit into from
Mar 31, 2024
Merged

Conversation

Mc-Zen
Copy link
Owner

@Mc-Zen Mc-Zen commented Mar 31, 2024

When equation numbering is turned on, display-style braces as used with lstick, rstick and gate inputs/outputs, are not drawn correctly.

We could use non-block math but then the bounding box of the rectangles is not measured correctly. Instead we just turn equation numbering off for the entire circuit.

fixes #3

When equation numbering is turned on, display-style braces as used with lstick, rstick and gate inputs/outputs, are not drawn correctly.

We could use non-block math but then the bounding box of the rectangles is not measured correctly. Instead we just turn equation numbering off for the entire circuit.

fixes #3
@Mc-Zen
Copy link
Owner Author

Mc-Zen commented Mar 31, 2024

Note that this also fixes issues when the package user wants to pass some $ . $ content for correct gate sizing while equation numbering is turned on.

@Mc-Zen Mc-Zen merged commit 1bed08a into main Mar 31, 2024
1 check passed
@Mc-Zen Mc-Zen deleted the fix-numbered-equations branch March 31, 2024 11:00
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.

lstick content with equation numbering when turned on
1 participant