Use a real monospace font #2
Comments
Font is corrected, let me know if you prefer it now. The pdf is in the root of the repo, it's the only file besdies the readme. How would you suggest I make it more obvious? |
Link to it from the README. That’s not what I expected. Computer Modern Roman is fine for body text. But code should be typeset in a monospace font. Not a sans font, not a serif font. See PR. |
Simply do this: Change line 30 from:
to:
I would also comment line 4:
or replace it with a nicer font. (Anyways, thanks for the book!) |
(PR #3 is concerned with that, and using DejaVu Sans Mono for mono text) |
Thanks both of you for the help. You can likely tell this is my first Latex project! The fonts should be all sorted now, and I've added a link in the README. |
One more TeX hint, by the way: don’t use \vspace{5mm} all over the document, just set up the |
Thanks Kwpolska |
@Kwpolska I would prefer to use |
Computer Modern is a really good font, but code listings are meant to be written in a monospace font. This thing looks bad with uneven tracking, and no way to tell some characters apart.
Also, the .pdf file is hard to discover.
The text was updated successfully, but these errors were encountered: