In my LaTeX document, I have a few special terms that contain underscores, such as AAA_BBB_CCC. In one case, such a token is placed at the end of the line, and for some reason it reaches into the margin.
I like the fact that it the token is not divided into subtokens, but ideally, if it doesn't fit on the line, I'd like the whole term to go to the next line or in any case keep the right margin intact.
I'm currently writing the terms in the source like so:
bla bla bla My\_underscored\_term bla bla bla
Is there an alternative that will keep the margin intact?