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 "median" 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

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

Archive

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