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

Similar posts

realhats
A surprising fact about quadrilaterals
Interesting tautologies
Log-scaled axes

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>
To prove you are not a spam bot, please type "elbatnuocnu" backwards in the box below (case sensitive):

Archive

Show me a random blog post
 2020 

May 2020

A surprising fact about quadrilaterals
Interesting tautologies

Mar 2020

Log-scaled axes

Feb 2020

PhD thesis, chapter ∞
PhD thesis, chapter 5
PhD thesis, chapter 4
PhD thesis, chapter 3
Inverting a matrix
PhD thesis, chapter 2

Jan 2020

PhD thesis, chapter 1
Gaussian elimination
Matrix multiplication
Christmas (2019) is over
 2019 
▼ show ▼
 2018 
▼ show ▼
 2017 
▼ show ▼
 2016 
▼ show ▼
 2015 
▼ show ▼
 2014 
▼ show ▼
 2013 
▼ show ▼
 2012 
▼ show ▼

Tags

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

Archive

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