Post History
This is an example of direct quoted thought, which is a construct that only occurs in fiction. (Actually, direct quoted putative thought, but that is beside the point.) I do seem to recall seeing...
Answer
#4: Attribution notice removed
Source: https://writers.stackexchange.com/a/25740 License name: CC BY-SA 3.0 License URL: https://creativecommons.org/licenses/by-sa/3.0/
#3: Attribution notice added
Source: https://writers.stackexchange.com/a/25740 License name: CC BY-SA 3.0 License URL: https://creativecommons.org/licenses/by-sa/3.0/
#2: Initial revision
This is an example of direct quoted thought, which is a construct that only occurs in fiction. (Actually, direct quoted putative thought, but that is beside the point.) I do seem to recall seeing cases of single quotes being used to denote direct quoted thought, but I think what is right that the more common convention is to use italics. Bear in mind though that your typical reader has no idea what the convention for this is, which means that there is not a lot of benefit in sticking to the convention. Out here on the borders of of usage, you have some liberty to be innovative with the conventions you use. For instance, maybe you are already using italics for speech in a different language, so now you need something else for direct quoted thought. No one is going to send you to the literary penalty box for an innovative convention, as long as you make it clear in context what that convention means (which you do here). If you are published professionally, you editor will change it to suit their house or personal style, in which case there is not a lot of point worrying about it. If you are self publishing, on not writing for publication, then you are captain of your own ship; do whatever you want as long as you make it clear.