CTAN Comprehensive TeX Archive Network

Directory macros/generic/xlop

%% eXtra Large OPeration macros for Generic TeX.
%% See `xlop-doc.pdf' for documentation;
%%     `xlop-doc-fr.pdf' for french documentation.
%% Copyright 2005-2020, by Jean-C\^ome Charpentier
%%   Jean-Come.Charpentier@wanadoo.fr
%% This program may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX 
%% version 2003/12/01 or later.

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 lppl1.3

Distribution consists of files:
  * README (the file you are reading)
  * LISEZ.MOI (same in french)
  * history.txt relates project history
  * 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, 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

Download the contents of this package in one zip archive (595.0k).

xlop – Calculates and displays arithmetic operations

Xlop (eXtra Large OPeration) will typeset arithmetic problems either in-line or “as in school” (using French school conventions). So for example, \opadd{2}{3} can give either $2+3=5$ or something similar to: \begin{tabular}{r} 2\\ +3\\ \hline 5\end{tabular}.

Furthermore, numbers may be very large, e.g 200 figures (with a very long compilation time). Many other features allow to deal with numbers (tests, display, some high level operations, etc.)

LicensesThe Project Public License 1.3
Copyright2005–2020 Jean-Côme Charpentier
MaintainerJean-Côme Charpentier
Contained inTeX Live as xlop
MiKTeX as xlop
See alsolongdiv
Guest Book Sitemap Contact Contact Author