$i++$ doesn't look nice. Any better way?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
The traditional way to typeset assignments in pseudocode, including a modification of a variable, is to write them in the full form:
Alternatively, you can typeset a call to a function "Inc" or "Increment", or even use |
||||
|
|


\texttt{i++}. – Martin Scharrer♦ May 17 '11 at 21:17