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 circled command #42

Merged
merged 8 commits into from
Apr 17, 2024
Merged

Fix circled command #42

merged 8 commits into from
Apr 17, 2024

Conversation

compor
Copy link
Contributor

@compor compor commented Mar 21, 2024

This PR:

  • Factors out the tikz node style to avoid repetition
  • Fixes \circled circles are uneven in size #41 (there is no typographic guarantee regarding the total height of letters wrt cap height and/or ascenders in a character, so the numbers are a result of experimenting with what accommodates letters with ascenders and descenders)

A lot of this is based on the \strut suggestion here.

2024-03-21-134833_1324x203_scrot

@compor compor added the bug Something isn't working label Mar 21, 2024
@compor compor self-assigned this Mar 21, 2024
@tobiasgrosser
Copy link
Collaborator

Hey @compor, this is super nice. Thank you. Two comments:

  1. Would it make sense to add a comment that explains what the latex you added does and how it achieves the evenness you desire

  2. Would it make sense to move some of the macros into tex/setup.tex? This keeps paper.tex leaner.

@compor
Copy link
Contributor Author

compor commented Mar 27, 2024

@tobiasgrosser will do and ping when I get around to it!

@compor
Copy link
Contributor Author

compor commented Mar 29, 2024

updated

@compor
Copy link
Contributor Author

compor commented Apr 12, 2024

@tobiasgrosser I've incorporated your feedback

@tobiasgrosser
Copy link
Collaborator

@math-fehr can you do a full review and then see if this can be merged.

@math-fehr
Copy link
Contributor

Sorry for the delay!
I checked locally, and this seems to work well, thanks a lot!

@math-fehr math-fehr merged commit b300c93 into main Apr 17, 2024
4 checks passed
@math-fehr math-fehr deleted the christos/fix-circled branch April 17, 2024 15:54
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

Successfully merging this pull request may close these issues.

\circled circles are uneven in size
3 participants