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
Close encounters of the second kind
Christmas (2020) is over
Christmas card 2020

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 "bisect" in the box below (case sensitive):

Archive

Show me a random blog post
 2021 

May 2021

Close encounters of the second kind

Jan 2021

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

Tags

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

Archive

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