Document Classespolynom | Modifications to Horner Scheme

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
manjologs
Posts: 3
Joined: Wed Jul 21, 2010 1:28 am

polynom | Modifications to Horner Scheme

Post by manjologs »

Hi everyone,

I am currently trying to use the Polynom Package, in particular, the \polyhornerscheme. However, I would like to adapt it to how i normally do it, like what appears if one inputs this:

Code: Select all

\newcommand*{\divsrf}{\multicolumn{1}{|l}{-1}}
$\begin{array}{rrrrr}
1 & -5 & 0 & 6  & \divsrf \\
\cline{5-5}
& -1 & 6 & -6 & \\
\cline{1-4}
1 & -6 & 6 & 0 &
\end{array}$
Output is:
sample.jpg
sample.jpg (10.29 KiB) Viewed 2348 times

I tried toying with the sty file, but to no avail. Any help will be greatly appreciated. Thanks!
Last edited by Stefan Kottwitz on Wed Aug 08, 2012 1:47 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply