CTAN Comprehensive TeX Archive Network

Direc­tory macros/generic/xlop

Package xlop proposes two main features.  First, xlop prints
operations (displayed or running), that is, user write only
operands.  Second, xlop is able to deal with unlimited numbers, in
fact, limitations are due to TeX memory.  This features include
basic arithmetic operations, input/ouput, numeric variables, tests,
and some high level operation (without operations which imply infinite
processing such exponential, trigonometric functions, etc.).

All the source files have the license type lppl

Distribution consists of files:
  * README (the file you are reading)
  * LISEZ.MOI (same in french)
  * history.txt relates project history
  * manual.sty package file to compile documentation
  * xlop-doc-fr.tex and xlop-doc-fr.pdf source and pdf of french user's
    manual of xlop
  * xlop-doc.tex and xlop-doc.pdf source and pdf of english user's
    manual of xlop
  * xlop.tex xlop code
  * xlop.sty allow the use of xlop as LaTeX package

xlop can be used under TeX or LaTeX.  Thus, TDS recommendations are
that the best place to put the file xlop.tex is
and that the best place to put xlop xlop.sty is

For documentation files (README, history.txt, manual.sty, and
fr-user.*), best place should be [texmf]/doc/generic/xlop/.

You have just to run texhash command (or mktexlsr, or ...) to refresh
your texmf base and all should work fine.

If you detect some bug, whatever its seriousness (that could be just
spurious spaces), try to illustre this error with an example as short
as possible.  Particularly, don't use unecessary package.  Sent your
code with a short explanation at:


If you wish for some feature in a future version, ask to the author.
To help my antispam soft, could you please write 'xlop' in the message

Down­load the con­tents of this pack­age in one zip archive (578.1k).

xlop – Cal­cu­lates and dis­plays arith­metic op­er­a­tions

Xlop (eX­tra Large OPer­a­tion) will type­set arith­metic prob­lems ei­ther in-line or “as in school” (us­ing French school con­ven­tions). So for ex­am­ple, \opadd{2}{3} can give ei­ther $2+3=5$ or some­thing sim­i­lar to: \be­gin{tab­u­lar}{r} 2\\ +3\\ \hline 5\end{tab­u­lar}.

Fur­ther­more, num­bers may be very large, e.g 200 fig­ures (with a very long com­pi­la­tion time). Many other fea­tures al­low to deal with num­bers (tests, dis­play, some high level op­er­a­tions, etc.)

Li­censesThe Project Public Li­cense
Main­tainerJean-Côme Char­p­en­tier
Con­tained inTeX Live as xlop
MiKTeX as xlop
See alsolongdiv
Guest Book Sitemap Contact Contact Author