13.07.2015 Views

xlop-doc.pdf. - Mirror

xlop-doc.pdf. - Mirror

xlop-doc.pdf. - Mirror

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

These rules are typeset with no change on grid. That is, with no spaceadded. Therefore, with great values for thickness, the rules could run overnumbers.+14 21 7 22 1 4source\opadd[hrulewidth=8pt]{42}{172}There is also a paramater which allows to control the horizontal shiftof decimal separator. It is thedecimalsepoffset paramater with a defaultvalue of­0.35. This value indicates a length with the unit\opcolumnwidth.We will see an example at section 3.4 page 17.2.2.4 Figure’s StylesThe <strong>xlop</strong> package provides five types of numbers and associates five styleparamaters:+• operands withoperandstyle;• result withresultstyle;• remainders withremainderstyle;• intermediary numbers withintermediarystyle;• carries withcarrystyle.1 14 5.8 91 2 7.51 7 3.3 9source\opadd[operandstyle=\blue,resultstyle=\red,carrystyle=\scriptsize\green]{45.89}{127.5}Keep in mind that, in this manual, we use pstricks package.In fact, the management of these styles is even more powerfull sinceyou can distingish different number of a same class. In one operation, youhave several operands, and, possibly several remainders and several intermediarynumbers. You can access to the style of these numbers adding anindex to the matching style.+1 14 5.8 91 2 7.51 7 3.3 9source\opadd[operandstyle=\blue,operandstyle.1=\lightgray,resultstyle=\red,carrystyle=\scriptsize\green]{45.89}{127.5}In this example, we indicate that the first operand must be typesetted withthe\lightgray style. We don’t indicate anything for the second operand,so it takes the basic style for its class. (Then with\blue style.)9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!