I'm currently writing my dissertation and most of the text is set in Stix. I'll have to include a good bit of code and the default Courier looks rather ugly (too wide and doesn't fit well). Can someone either recommend a good code font to go with Stix or give some pointers on how to properly pair a font with it?
Don't know what you're using to lay the document out but if you plan to set monospace and STIX on the same line I would focus on linespacing metrics - in other words, does swapping a few words to monospace font in the line of the text throw the linespacing out in your paragraphs? That would be the most distracting thing to avoid.
I don't think most any mono font will complement STIX better than any other - they all have quite different letter structures.