In contextFraction only use \textstyle for mixed numbers.#683
Conversation
|
I have something like this on my school's server. Mine straight up removes the For me, I have too many exercises where I wanted the |
|
I do the same thing as @Alex-Jordan. I use a custom version of this macro, and remove the |
|
I agree, and would also prefer that textstyle wasn't used by default, though in the case of mixed fractions it is preferred. I did think of disabling it by default, and then turning it on if showMixedNumbers is set, and it might be worth updating it to do that. I just went this route to not change the default behavior but allow users to be able to change this without having to use their own copy of the macro. |
6180326 to
7440023
Compare
|
I updated the pull request. Adding an option that many might not know about or use may not be that useful in the long run. Instead I updated this to only include |
pstaabp
left a comment
There was a problem hiding this comment.
Tested it and works as indicated.
drgrice1
left a comment
There was a problem hiding this comment.
This looks good, other than a minor quibble on indentation.
Only use \textstyle formating option in a fraction's TeX output for mixed numbers. For other cases don't include this to allow the size of the fraction to be formatted according to \displaystyle.
7440023 to
f28a548
Compare
|
Tabs changed to being 4 spaces to match surrounding indentation. |
useTextstyle controls if the fraction's TeX output is displayed
using \textstyle or not. By default this is turned on to
match current behavior. It can now be turned off for users
who want to display fractions without \textstyle.