Best way to show code snippets in word?

Posted by Larry on Stack Overflow See other posts from Stack Overflow or by Larry
Published on 2008-12-22T21:45:26Z Indexed on 2010/04/16 14:13 UTC
Read the original article Hit count: 362

Filed under:

Does anyone know a good way to display code in Microsoft Word documents?

I have tried to include code as regular text which looks awful and gets in the way when editing regular text. I have also tried inserting objects, a WordPad document and Text Box, into the document then putting the code inside those objects. The code looks much better and is easier to avoid while editing the rest of the text. However, these objects can only span one page which makes editing a nightmare when several pages of code need to be added.

Lastly, I know that there are much better editors/formats that have no problem handling this but I am stuck working with MS word.

© Stack Overflow or respective owner

Related posts about msword