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

Tikz diagram export for proofs sometimes does not align the equal sign properly #198

Open
RazinShaikh opened this issue Nov 21, 2023 · 3 comments
Labels
bug Something is not right Proof mode Issues and enhancements related to Proof mode

Comments

@RazinShaikh
Copy link
Collaborator

No description provided.

@RazinShaikh RazinShaikh added the bug Something is not right label Nov 21, 2023
@jvdwetering
Copy link
Collaborator

I think this happened in the demo, because you made your diagram offset from the origin in ZXLive. Given that the origin is not exactly visible in ZXLive, I'm not sure what the right solution is. Perhaps we can just automatically calculate a center of the diagram?

@RazinShaikh
Copy link
Collaborator Author

Ah I didn't realize it was based on the origin. We could make the origin more visible but calculating the center of the diagram would probably give more consistent behavior.

@jvdwetering jvdwetering added the Proof mode Issues and enhancements related to Proof mode label Nov 27, 2023
@jvdwetering
Copy link
Collaborator

A drawback of basing it on the centre of the diagram is that when you do rewriting the center might change, and it might make the diagram skip around in unpredictable ways. I think having a clear origin that is used for the tikz export might be the way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not right Proof mode Issues and enhancements related to Proof mode
Projects
None yet
Development

No branches or pull requests

2 participants