Skip to main content

Questions tagged [xlop]

{xlop} is about the eX­tra Large OPer­a­tion package. The {xlop} package calculates and displays arithmetic operations.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Improve an addition worksheet using xlop

I have the following worksheet, \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \usepackage{enumitem} \usepackage{tikz} \usepackage{xlop} \newcommand*{\DifficultyOne}{999}% \...
Paul A's user avatar
  • 1,117
0 votes
2 answers
89 views

pythontex and xlop

first of all, I am sorry if this has been already answered, I can't find any anwser ! When I try to compile this MWE : % % % xelatex document.tex % % % pythontex document.tex % % % xelatex document....
silver's user avatar
  • 1
3 votes
1 answer
108 views

xlop: color remainder of opidiv

I want to color the remainder of \opidiv with xlop using the code below, but all intermediary remainders are colored with the same color :( Is there a way to only color the last remainder ? Thank you. ...
silver's user avatar
  • 41
0 votes
1 answer
39 views

splitting code on to separate pages in a worksheet

I am trying to split the following code onto 3 separate pages, as in page one being the question, page two the working and the third being the answers. but I can only seem to get it with all three on ...
Paul A's user avatar
  • 1,117
0 votes
1 answer
44 views

Tikz diagrams will not render when combined

I'm not sure if anyone can see what I am doing wrong here as both diagrams work separately, this first one producing a number line and the second on using opal produces an addition question. \...
Paul A's user avatar
  • 1,117
1 vote
0 answers
98 views

Carry symbols using xlop

Is there a way to achieve the same type of carry symbols like the addition and subtraction examples when using opmul? \documentclass{book} \usepackage{amsmath} \usepackage{mathtools} \usepackage{...
Paul A's user avatar
  • 1,117
2 votes
1 answer
288 views

How to write your own result using the xlop package

I'm trying to display vertical addition for binary numbers, but xlop solves everything automatically assuming base 10 and then displays it. Is there a way for me to remove the result and replace it ...
Kartashuvit's user avatar
2 votes
2 answers
187 views

"Numeric Puzzles" in Latex. Vertical division etc. with letters and other symbols

I tried to make puzzles like this in LaTex and had some problems, especially with examples for division . With help of \begin{tabular} i make this for addition and multiplication: \documentclass[...
Alexandr Proshin's user avatar
0 votes
1 answer
292 views

Help with the xlop package

How can I perform these types of exercises with the xlop package? If it is possible to use another package, I would appreciate if you tell me which package can perform this.
Kami's user avatar
  • 95
1 vote
2 answers
150 views

Doubt about the xlop package and new commands

I hope you are excellent. I am a basic education teacher and I am not very good at using LaTex, I would like to know how I could create a new command to compact the command that I use right now to do ...
OscarR's user avatar
  • 35
1 vote
1 answer
72 views

Doubt about how to do these basic subtraction exercises

I would appreciate it too much if someone could help me generate this type of subtraction exercises. I use the xlop package but I don't know if it is possible for me to do that type of exercise.
Kami's user avatar
  • 95
3 votes
1 answer
46 views

Why are xlop commands producing horizontally smashed output when using \RequirePackage{xlop} in a custom document class?

test.tex: \documentclass{testclass} \begin{document} Some text. \opadd{34}{45} \end{document} testclass.cls: \ProvidesClass{testclass} \RequirePackage{xlop} \LoadClass{article} is producing: ...
Mike Thielvoldt's user avatar
2 votes
0 answers
339 views

Automatic "school" arithmetic with binary numbers

The xlop package provides a way of having addition, multiplication, etc, of base 10 numbers that does all the work out including carry bits and the bar that is above the answer. I am looking for a way ...
Gunqqer's user avatar
  • 21
0 votes
0 answers
235 views

Is there a command to show the "handmade" square root algorithm?

Is there a command to show the product of two integers or the square root of an integer? I know xlop package does similar for the division algorithm.
Lucas Herick's user avatar
1 vote
0 answers
79 views

How to do long division of an angle in degrees

Is there a way to display the basic operations with angles in degrees, just like xlop does with integers? For example, with integers we use: \documentclass{article} \usepackage{xlop} \begin{...
Ulysses's user avatar
  • 197
4 votes
1 answer
805 views

Arithmetic operations

I would like to typeset additions and subtractions with more than two operands using the following style. The image has been generated using the following (quite ugly) code. \documentclass{article} ...
Matthias's user avatar
  • 1,966
2 votes
0 answers
140 views

Newcommand with xlop and tikz

Consider this example. What is the easiest way to get automatically the same style when the number of digits change with ? \newcommand ? If two digits : I can create four commands, but what I ...
Aviroum's user avatar
  • 1,514
0 votes
1 answer
112 views

Font usage and number display by xlop

Here is my sample code, for some reason the font changes for all the text except the actual math problems (as highlighted). How should I get the xlop to use the font set in setmainfont. Any insight on ...
kartek's user avatar
  • 123
2 votes
2 answers
2k views

How to set up European/French style long division in TeX?

How exactly can one achieve French Style Long Division? Is line drawing/table/array formatting my only way here? I'm really new into TeX/LaTeX trying to find my way around it for elementary math, but ...
ASertacAkkaya's user avatar
6 votes
2 answers
827 views

How to place carried numbers in the French division algorithm with xlop?

The French divisional algorithm was taught in the 1960s in primary schools. It is an algorithm that allows you to quickly perform all divisions. In this algorithm, carried numbers are placed in front ...
AndréC's user avatar
  • 25.6k
2 votes
3 answers
168 views

xlop alignment of multiple equations when resultstyle=text

Is there a way to align xlop equations when the resultstyle is text \documentclass[20pt,fleqn,leqno]{extarticle} \usepackage{enumitem} \usepackage{multicol} \usepackage{amsmath} \...
kartek's user avatar
  • 123
1 vote
1 answer
103 views

xlop inconsistent display style when multiplying numbers that end in 0 (multiples of 10)

I am using xlop to generate some math worksheets but when multiplying numbers like {70 * 10 } xlop is showing just one step and that looks inconsistent to kids and alignment of problems is off. ...
kartek's user avatar
  • 123
1 vote
2 answers
270 views

how do we increase font size when using xlop and anyfontsize

I can get upto 20 pts with this code \documentclass[20pt]{extarticle} \usepackage{xlop} \begin{document} \opadd[voperation=center,carryadd=false] {1}{1} \end{document}​ I am trying to use ...
kartek's user avatar
  • 123
2 votes
1 answer
374 views

xlop package controlling resultstyle when style=text

Does xlop support resultstyle when style is set to text. If it does not is there a way to hide the result with style set to text. \documentclass{article} \usepackage{xcolor} \usepackage{xlop} \...
kartek's user avatar
  • 123
2 votes
2 answers
243 views

Single-Digit xlop exercises

I am creating worksheets for young children in which they'll be doing single digit operations vertically. How do I set them up vertically so that there is: An exercise worksheet with no answers. A ...
WeCanLearnAnything's user avatar
2 votes
1 answer
77 views

How can I stop receiving the results of this calculations?

I use xlop \usepackage to prepare for my son. Now I don't want to show the resuls of this calculations. How can I do it? \documentclass[12pt]{article} \usepackage{color,xlop} \usepackage{multicol} \...
minhthien_2016's user avatar
8 votes
3 answers
704 views

How do I typeset multiple additions nicely?

For some project, I'm trying to typeset something into approximately this: 1234 321 12345 6 ----- + 13906 I've seen people do this using xlop for the addition of two values, which works ...
Bert Peters's user avatar
4 votes
1 answer
286 views

Placing characters of a text exactly in grid boxes (w/ TikZ grid)

For generating a large number of Exercise-sheets for my math class I'd like to set the problem in a grid so the kids have a given structure to add their calculation. Example with quite a large code ...
Martin L.'s user avatar
3 votes
2 answers
889 views

Drawing a circle around the numbers in xlop package

I am writing something about base conversion (from decimal system to other bases). I am using the xlop package for producing a sequence of long divisions. The result is good, but it would be perfect ...
Amir Parvardi's user avatar
1 vote
1 answer
115 views

How do I include a dollar or pound sign using xlop package?

I would like the first number in the multiplication to include a dollar sign or Pound sign. The question, for example, would be $12.34 x 56. In some cases, I would like the $ sign at the end of the ...
freemath's user avatar
  • 117
3 votes
3 answers
1k views

addition with 3 elements using xlop

I am using xlop package to make exercises for kids but when I want to put a third element in the addition the \opadd{12}{12}{12} command doesn't count this third one. Is there something I can put to ...
Very23's user avatar
  • 949
2 votes
1 answer
1k views

How to do Three column Addition?

I want to write a primary school sheet of exercices (additions in columns) with big digits in LaTeX. When i want to do two columns, it is easy with xlop, but i can't to do three columns! How to do ...
norbux's user avatar
  • 289
1 vote
0 answers
164 views

Division negative integers with xlop

I have a problem with xlop. Indeed, when I do \opdiv[style=text,parenthesisnegative=all]{-6}{2} I get -0.99999999999999 instead of -3.
Neyaj's user avatar
  • 11
4 votes
1 answer
343 views

Enumeration with xlop

I am creating problems for elementary level math, and I wish to enumerate the problems. When I use the xlop package and enumerate, the enumeration occurs at the bottom left of the problem instead of ...
Kiyoshi Nakatani's user avatar
1 vote
1 answer
930 views

Multiplication with xlop

When I use the xlop package command \opmul[displayintermediary=None]{453}{1001205} to display the multiplication of 453 and 1001205 without the intermediary steps, pdflatex gives me errors. This ...
salducci's user avatar
9 votes
1 answer
523 views

Change display style in xlop multiplication

When I use xlop for multiplication for example like this: \documentclass{article} \usepackage{xlop} \begin{document} \opmul{0.436}{0.35} \end{document} I get the following output: However I ...
Anna's user avatar
  • 1,251