mscroggs.co.uk
mscroggs.co.uk

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 "x" then "-" then "a" then "x" then "i" then "s" in the box below (case sensitive):

Archive

Show me a random blog post
 2024 

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

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

Archive

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