STYLE: Keep codesnippet lines under 80 characters.
STYLE: Fix Latex blocks in documentation to include newlines.

Also caught some invalid and unfinished examples, and put them in a state
where they could be used more easily if we wanted to include them at some
point.

Change-Id: Ib3fe1bc84b397e83cf5c568aaa38de115473cf60
Merge topic 'add-newlines-in-latex-blocks'

2c563516 STYLE: Fix Latex blocks in documentation to include newlines.
Merge topic 'fix-line-length-warnings'

02d82bda STYLE: Keep codesnippet lines under 80 characters.