3 ms·
Can you share a screenshot/mockup of how that was supposed to look?
by detaro 12y ago
Can you share a screenshot/mockup of how that was supposed to look?
- wtallis 12y agoThe CLRS Algorithms textbook typesets its pseudocode with keywords in bold, variables in italics, function names in small caps, and the rest in plain. You could go even further with a bit of grayscale shading or a complementary pair of serif and sans serif typefaces, but like any syntax highlighting scheme it would be very language-specific.
- noblethrasher 12y agoSure. This is pretty close to what I had: https://github.com/noblethrasher/typography/blob/master/fs-typeset-screenshot.png https://github.com/noblethrasher/typography/blob/master/fs-t... (the typeface is Adobe Garamond Pro). But, it would be nice if VS supported italics, various font weights, and small caps.
- MichaelGG 12y agoWow, that looks way better than I thought it would. I'm saddened to hear that after all the effort into the new VS text system it isn't capable of doing all you wanted.
- anon4 12y agoOnce you're doing typesetting like that, I think it would be even better if you start replacing keywords with special symbols and reformatting the lines to some canonical representation. That would make it way easier to read.