Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 379 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 379 Bytes

Euclid-Latex-Generator

Generates LaTeX that shows the steps of the matrix version of Euclid's algorithm for finding GCDs. Works in Python 2 or 3.

How to Use

Call with as many pairs of numbers as required, like so: python gen.py 79,20 127,13 > output.txt

Example Output

python gen.py 79,20 >> screen.tex

Screenshot of matrices produced