For two thousand years, learning geometry meant reading the Elements of Euclid. By the end of the eighteenth century, French teachers found the ancient text too long and poorly suited to the new schools. Clairaut had tried a more intuitive book; Legendre wrote a more rigorous one. His Elements of Geometry came out in 1794, the year of the Terror, and went through some twenty editions in the author’s lifetime. A tidied-up Euclid Legendre kept the deductive style, with definitions, axioms and proved theorems, but reorganised the material. He separated plane geometry from solid geometry, handled proportions with algebra instead of Eudoxus’s difficult theory, gathered the results on areas and volumes, and included polyhedra and the round figures, such as the cylinder, the cone and the sphere. The notes at the end of the book went beyond school: in note IV, Legendre proved that $\pi$ is irrational, simplifying a proof by Lambert from 1761, and went further, proving that $\pi^2$ is irrational too. He also conjectured that $\pi$ is not a root of any algebraic equation with integer coefficients, which would only be proved by Lindemann in 1882.