I want to create a polynomial division in LatexIt, but am having all sorts of trouble. I have read the polynom documentation and looked at several examples. The examples all use polynom, but all seem to have unique preambles, making it hard to see what's necessary and what's not.
I've currently got the following preamble additions:
\usepackage[T1]{fontenc}
\usepackage{polynom}
and as the main equation:
\polylongdiv{x^3-2x^2+4x+7}{x+1}
but am subjected to a litany of error messages on the \polylongdiv{} line.
I use LaTeXit quite a lot, including adding additional packages when needed. Somehow this is eluding me.
polynomis the only package you should need. There might be some conflict with other package or with the order of packages. – FHZ Jun 04 '22 at 18:59\polylongdivcommand needs to be in display math mode. Syooroubnd the command with\[and\]. – Herb Schulz Jun 04 '22 at 19:08polynommacros can be used inside or outside math mode. But in the context of using them with LaTeXit, you cannot put them in LaTeXit's "Display" or "Inline" mode, they must be in Text mode. This is different from when you use them in a regular document. – Alan Munn Jun 06 '22 at 00:44