[texhax] [pstricks] Typesetting (long) division questions

Jean-Côme Charpentier jean-come.charpentier at wanadoo.fr
Thu Mar 15 19:04:52 CET 2012


Le 15/03/2012 14:29, Barbara Beeton a écrit :
> hubert lam asks,
>
>      I know that there is a longdiv.tex that is widely available (written by
>      Barbara Beeton) which fills in all the blanks, and the xlop package that
>      will do it in the (French?) way.
>
>      However would there be something where I could easily typeset it without
>      all the "answers" that Barbara's longdiv command produces?
>
>      (See: http://www.atscire.de/index.php?nav=products/polynom)
>
> on tex live, there is a file longdiv.tex that
> does the calculations; it's by donald arseneau,
> not barbara beeton.  all i claim responsibility
> for is the idea for using a sized right-hand
> parenthesis to make the output look decent.
>
> i'm not sure what you mean by "all the answers".
> is what you want just the quotient and the
> remainder?

   Yes, I suppose (am I wrong?) that Hubert ask for xlop feature where 
some numbers can be typeset in white (or what you want). For example to 
obtain:

        949
    -------
13 ) 12345

      -----
        645

        ---


        ---
          8

rather than

        949
    -------
13 ) 12345
      11700
      -----
        645
        520
        ---
        125
        117
        ---
          8

xlop v0.3 will do that because there will be an english division. 
Problem: I haven't any clue about the date of this release! Not before 
september for sure.

   Jean-Côme Charpentier


More information about the texhax mailing list