This question already has an answer here:
- Prettiest way to typeset “C++” (cplusplus)? 10 answers
I am writing a document with LaTeX covering the basics of programming with C++ and unfortunately the '+' signs look kind of ugly to me: They seem to be too big, too thin (regarding the rest of the text) and also shifted downwards.
Here is a screenshot from my document (which is written in German):
The issue with the thickness is not visible here, because one has to zoom out to notice. The example is from a
Are there any ways to do better? I haven't found a special '+' LaTex command, so I assume one has implement one's own solution.