Kinda rings a bell for me, although not from a book, but some LaTeX manual. Maybe this helps: http://tug.ctan.org/macros/latex/contrib/algorithm2e/doc/alg...
Re:Turning off syntax highlighting
by abecedarius on Monday November 07, 2016 @09:13PM
(#12897051)
That wasn't it, though that looks relevant for anyone thinking of working on this problem. Thanks for the pointer.
Bjarne Stroustrup's C++ book used a proportional font with tabular spacing.
Re:Turning off syntax highlighting
by abecedarius on Monday November 07, 2016 @09:15PM
(#12897053)
So did the book I was thinking of, but it tried more fancier stuff too and iirc reported on some experiments in code reading.
There was a book on this, whose title I'm blanking on. Anyone remember? Color wasn't an element, since it was an older book focusing on printing on paper.