I’m currently working on a diploma thesis describing a computer program, and I’d like to unify my usage of italics. The problem is, I do not know whether there is an academic standard for using italics on programming-related texts.
What I currently emphasize:
- Names of states (my thesis deals with state machines)
- Names of variables
- Names of methods
What I am wondering about whether to emphasize or not:
- Names of processes (As in, individual programs)
- Names of data types
- Names of classes
- Names of macros
I am also wondering whether I should still emphasize a word when it is the only word in a table cell, given it is a word i normally emphasize in the text.
Any help would be greatly appreciated.