mscroggs.co.uk
mscroggs.co.uk
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.

subscribe

Blog

A non-converging LaTeX document

 2019-09-15 
Today, I wrote this LaTeΧ document. It only uses default LaTeΧ functionality, and uses no packages.
If you compile it (twice so that cross references are not ??s), you will get a four page document (pages numbered i to iv), that repeatedly says: "This document ends on page v."
This document ends on page iv and says: "This document ends on page v."
If you then recompile it, you will get a five page document (pages numbered i to v), that repeatedly says: "This document ends on page iv."
This document ends on page v and says: "This document ends on page iv."
Repeatedly compiling it will alternately give these two results, and so the process of compiling this LaTeX document does not converge.
Tags: latex
                        
(Click on one of these icons to react to this blog post)

You might also enjoy...

Comments

Comments in green were written by me. Comments in blue were not written by me.
 Add a Comment 


I will only use your email address to reply to your comment (if a reply is needed).

Allowed HTML tags: <br> <a> <small> <b> <i> <s> <sup> <sub> <u> <spoiler> <ul> <ol> <li> <logo>
To prove you are not a spam bot, please type "tneitouq" backwards in the box below (case sensitive):

Archive

Show me a random blog post
 2024 

Dec 2024

Christmas card 2024

Nov 2024

Christmas (2024) is coming!

Feb 2024

Zines, pt. 2

Jan 2024

Christmas (2023) is over
 2023 
▼ show ▼
 2022 
▼ show ▼
 2021 
▼ show ▼
 2020 
▼ show ▼
 2019 
▼ show ▼
 2018 
▼ show ▼
 2017 
▼ show ▼
 2016 
▼ show ▼
 2015 
▼ show ▼
 2014 
▼ show ▼
 2013 
▼ show ▼
 2012 
▼ show ▼

Tags

wool bubble bobble estimation geogebra geometry bodmas matt parker books the aperiodical python databet turtles error bars matrices oeis 24 hour maths nine men's morris tmip matrix multiplication asteroids map projections platonic solids fonts inverse matrices latex crossnumber quadrilaterals inline code tennis boundary element methods arithmetic misleading statistics php pac-man newcastle chebyshev trigonometry javascript stickers gather town finite group zines christmas card propositional calculus gerry anderson a gamut of games sound signorini conditions errors weak imposition electromagnetic field correlation exponential growth polynomials logic interpolation numbers noughts and crosses realhats dataset preconditioning golden spiral sobolev spaces computational complexity final fantasy game of life london christmas numerical analysis cambridge edinburgh braiding machine learning people maths puzzles raspberry pi triangles gaussian elimination youtube mean fence posts national lottery pi approximation day draughts light hannah fry guest posts fractals sorting finite element method reuleaux polygons pi news ucl big internet math-off martin gardner recursion manchester science festival programming mathslogicbot graphs dragon curves european cup folding paper folding tube maps bots video games logs frobel captain scarlet runge's phenomenon mathsteroids bempp royal institution countdown radio 4 live stream palindromes royal baby curvature pythagoras golden ratio football ternary dates world cup anscombe's quartet mathsjam data visualisation approximation coins chalkdust magazine phd squares binary harriss spiral data manchester go games advent calendar london underground crochet wave scattering sport talking maths in public speed hexapawn rhombicuboctahedron pizza cutting graph theory matrix of cofactors hyperbolic surfaces probability determinants rugby craft accuracy standard deviation datasaurus dozen matrix of minors flexagons reddit simultaneous equations stirling numbers pascal's triangle hats game show probability convergence chess menace plastic ratio cross stitch weather station dinosaurs statistics logo

Archive

Show me a random blog post
▼ show ▼
© Matthew Scroggs 2012–2024