Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I know of the polynom package for typesetting long divisions of polynoms. What I want to do is to typeset a long division of two polynoms that contain not numbers but equivalence classes based on the modulo. By that I mean that I use sets of numbers where the division with rest by a predefined number yields the same number (e.g. if this number is 3, both 4 and 7 will be in the same class [1]) instead of actual numbers.

Anyway, with a package where I enter the calculation manually what non-numbers I calculate on would not be relevant.

polynom can't calculate those.

Is there a package that does this, either manually or automatically like polynom?

share|improve this question
2  
TeX is a typesetting system. Try sage together with the sagetex package for LaTeX. –  tohecz Dec 3 '12 at 17:29
1  
You don't say? I did mention that I'm perfectly fine with manually entering the actual calculations. –  Erik Dec 3 '12 at 17:36
    
Sorry if I sounded rude. I don't like the idea behind packages like polynom. I know you mentioned you're ok with manually entering, but I don't know any package to help you with that. On the other hand, I thought that mentioning sagetex at this place can be helpful. –  tohecz Dec 3 '12 at 17:38
    
Related: tex.stackexchange.com/q/84562/14100 –  Scott H. Dec 3 '12 at 17:51
4  
I don't understand the question. The nearest I can guess is that you want to present long divisions with results modulo some ideal. (This doesn't make sense to me.) Can you provide an example/be more precise? –  Marc van Dongen Dec 3 '12 at 18:25

1 Answer 1

up vote 2 down vote accepted

No, there's no such package. Maybe a reworking of polynom might allow this, but it seems to be very extensive work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.