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

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

Archive

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