Skip to main content
10 events
when toggle format what by license comment
Aug 10, 2019 at 17:00 comment added Michael E2 Actually, I think if the \[MediumSpace] instances are deleted from the def. of polyForm, no substitution rules are needed.
Aug 10, 2019 at 16:32 comment added Michael E2 @Hotschke This works on the OP's example: RowBox@First@MakeBoxes[#, StandardForm] &@ First@polyForm[ Factor /@ Plus @@@ GatherBy[List @@ poly1, Length@Variables[#] &]] /. "\"\[MediumSpace]-\[MediumSpace]\"" -> "-" // RawBoxes // TeXForm -- Might also need the substitution "\[MediumSpace]+\[MediumSpace]" -> "+", but it doesn't come up in this case.
Aug 10, 2019 at 15:34 comment added Hotschke polyForm[...]//TeXForm complains withTeXForm::unspt: TeXForm of TemplateSlotSequence[1,] is not supported.. Is it possible to change polyForm so that the output can be given to TeXForm?
Aug 11, 2013 at 12:35 history edited Michael E2 CC BY-SA 3.0
Forgot to update the code for polyForm -- family interruptions are another source of error! :)
Aug 11, 2013 at 12:13 history edited Michael E2 CC BY-SA 3.0
Corrected code, added example
Aug 11, 2013 at 11:38 comment added Mr.Wizard Oops.. yes, that's what I meant.
Aug 11, 2013 at 11:37 comment added Michael E2 @Mr.Wizard Oops, that's right (assuming you mean -3 x1 x3^2) - I blithely thought the point was just to separate the kinds of terms.
Aug 11, 2013 at 7:45 comment added Mr.Wizard Michael, I don't think this is quite right yet; for example, shouldn't the term −3 x1 x3^3 be the third from the right, not the second as shown above?
Aug 11, 2013 at 2:22 vote accept HyperGroups
Aug 10, 2013 at 22:17 history answered Michael E2 CC BY-SA 3.0