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
Multiple division rendering #53
Comments
Hi @yueyericardo, I have been thinking about this one. I intentionally programmed it to render this way but, you are right, it creates a "gotcha" with the What if there was a behaviour that recognized whether or not a portion of a nested fraction was contained within parentheses and only made that portion smaller if it is contained in parentheses (so, the This would then change the Does that make it less ambiguous? I would still be inclined to interpret that as Let me know your thoughts on this. |
I guess this is an example of this: I think I will just make a note of this in the documentation and leave it at that. Writing |
That's not a bad idea. I don't particularly like it because I have been emotionally attached to my "all division as fractions" approach. It's taken me several hours to just get used to the idea of breaking it (and I am still grieving its loss). However, I think this might be the most attractive and least ambiguous solution even though I shudder imagining an equation written this way and groan a little inside imagining the implementation and testing. Unless anyone has any other ideas, I will go with this in the next update. |
Okay, I am done being a big baby. Thank you @michaellisitsa for getting me in the creative mode! I have an idea that I am pretty excited about. Instead of switching from fractions to the slash, I have kept the fractions by doing it this way: It looks like it's fussy to do but it was actually pretty straight forward. |
Cool, I think it's a good idea! |
Glad to hear it! The change has been made and added to the master branch. It will be available in the next release. |
handcalcs version: 1.1.3
As shown below,
a
should be rendered asc
, otherwise it's the same rendering withb
, which is totally different.The text was updated successfully, but these errors were encountered: