Is someone able to walk me through how to script adding fractions and then turning the result into a mixed number? I have used the following answer tex.stackexchange.com/questions/28628/… to get started but I don't know how to convert the improper fraction. I am guessing employing the use of ifthen to check then an integer division with a modulo of some sort.
@E.Yu You cold use expl3 for that: There is the \int_mod:nn function and \int_div_truncate:nn, and for the comparison you could use \int_compare:nNnTF.
@JosephWright "The xcolor package should always be loaded, instead of the obsolete color package; otherwise you may see some mysterious errors especially if you try to use the xcolor package options (e.g. dvipsnames, x11names) with color." Not sure what's changed there? (@yo' ?)
Can XeTeX print non-BMP characters in error messages correctly? When I compile like `$𝒖$ \errorerror ` it prints `! Undefined control sequence. l.6 $풖$ \errorerror ` instead.
Sounds like a bug but I can't find this anywhere
On the other hand when I use tl_show it does show > \a=𝒖. correctly
@DavidCarlisle could be that some template(s) seemed to break between tl2020/2021 and switching color to xcolor solved it (for whatever reason) -- we assume that if it happened in templates, it'll equally likely happen in documents too. But I'll get back to you with a clarification :)
@DavidCarlisle So LianTze just confirmed that we had two templates that showed weird issues all over the place that were solved by changing color->xcolor, so she decided to document it. It probably doesn't hurt, so unless there are objections, we'll keep it that way :)
@DavidCarlisle I'm on windows and see only some question marks anyway so don't care much about this ;-)
@yo' well it should perhaps not speak about "the obsolete package color". If some curious template does something that needs xcolor but doesn't load it, it is the template which is to blame.
@yo' also dvipsnames is my option from color package not an xcolor option (well its an xcolor one as well) so if it's broken I may need to fix something (which is why I asked, really)
@yo' its status in 2021 is same as its status in 2020 (and 2010) it's part of the required standard distribution and fully supported, but xcolor has more features and most uses should probably use that in preference. So it's surprising to see it come up in the way described for a tl2021 rollout.
@DavidCarlisle we're further debugging seeing where this comes from. It seems to be a package interaction actually, so we might be blaming the wrong guy here :D
Well, actually after some more testing it seems that we're really mentioning non-sense in this case. We removed the paragraph about (x)color. Thanks everyone! @UlrikeFischer @DavidCarlisle @JosephWright @PauloCereda
@JosephWright I am using this answer to display a solution for adding fractions but wondering about an option to convert to a mixed number if that is the case. I'm not sure how to include it. Also, I have it in an align environment but this creates problems when I'm already in an align environment.
@samcarter If you feel like it, tell me what you think of it. I did take some different paths that those of frougon. But currently the only dictionary with noum declension is German.
Hi All! I'm preparing zref-clever for release soon(ish) at https://github.com/gusbrs/zref-clever. If anyone is interested or curious, comments at this point would be very welcome. I still have a lot to do in the area of testing, so it may be a little edgy, but I think it is a fair point for a RFC round.
Pupil: Why do I have to learn all this boring grammar? I know how to speak even without knowing the grammar behind it.
Teacher: Do you want to use \zcref when you are grown up?
Pupil: Of course! I learn all the grammar!