1

I am trying to setup a custom style within MS Word 2013 that would display code snippets. So far everything is alright, except there are white separator lines on every 2nd line. I have searched quite a bit, but I cannot find the option that would disable them.

Here is a screenshot of those white lines:

pic

and here is a screenshot of enabled formatting options (shift+f1) for the selection:

pic

Is there a better way of displaying code snippets within MS Word without using styles?

--edit--

The reason why I am using MS Word for snippets:

I am learning programming and for each topic I try to write a small summary that also includes code snippets. I would gladly switch to another tool, but this far I havent found one that has the same capabilites of formatting text as Word and also I really need the table of contents for quick navigation, so I can jump from one topic to another. Which tools would you recommend?

Linger
  • 3,332
  • 10
  • 38
  • 47

1 Answers1

1

Judging from the screenshot, it looks like the text is contained in a table. If so, select the table, go to "Borders and Shading" (right-click or go to the "Design" tab) and select "None".

Karen927
  • 760