5 ms·
My goodness. In what world does it make sense that a programming language standards document uses a variable width font for code samples?
by insaneirish 12y ago
My goodness. In what world does it make sense that a programming language standards document uses a variable width font for code samples?
- qubyte 12y agoThe bulk of the document is written in LaTeX, and it is possible that they used the listings package to write the code samples. See section 2.10 of The Listings Package document for variable column code samples. In more regular code snippets, the results can be very nice. http://mirror.ox.ac.uk/sites/ctan.org/macros/latex/contrib/listings/listings.pdf http://mirror.ox.ac.uk/sites/ctan.org/macros/latex/contrib/l...
- Timmmmbob 12y agoIt actually works quite well if you pick the right font. Stroustrup uses it in The C++ Programming Language and it is easier to read. You're just much more used to monospace.
- pyre 12y agoWhat font does Stroustrup use?