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

Formulas that aren't really formulas. #91

Closed
shiffman opened this issue Sep 21, 2022 · 6 comments
Closed

Formulas that aren't really formulas. #91

shiffman opened this issue Sep 21, 2022 · 6 comments

Comments

@shiffman
Copy link
Member

The spacing is wonky for elements that are more freeform text inside of a latex formula.

number~of~aces / number~of~cards = 4 / 52 = 0.077 \approx 8\%
(1/2) * (1/2) * (1/2) = 1/8~(or~0.125)

Not sure how to improve these.

Website render:
Screen Shot 2022-09-21 at 11 18 46 AM

Notion:
Screen Shot 2022-09-21 at 11 17 48 AM

@shiffman
Copy link
Member Author

Also @jasongao97 I think ultimately we should left align these?

@jasongao97
Copy link
Contributor

I think this is because I changed the equation in notion but haven't run the import script again. Will try

@sidwellr
Copy link

sidwellr commented Sep 22, 2022

If it uses LaTeX to render math, try using \textrm to include text in equations. For example:

\textrm{number of aces} / \textrm{number of cards} = 4/52 \approx 8\%

@shiffman
Copy link
Member Author

Ah, great suggestion @sidwellr thank you, we will try this!

@shiffman
Copy link
Member Author

@jasongao97 I updated these with @sidwellr's and they look quite nice I think! (In notion at least) We can close this issue once we see they look good in the HTML build.

Screen Shot 2022-10-11 at 1 43 15 PM

@shiffman
Copy link
Member Author

Just noting that #110 can close this issue when merged.

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

No branches or pull requests

3 participants