I am using a code editor called RStudio. It can produce a .docx output of the code that looks fairly nice for publishing. However the .docx document uses the consolas font. In Word, it splits words at the end of a line. So it may do something like this
For consistency, we should choose whe
ther to write W1 first or to write X first.
I can't figure out how to fix this in Word. Does anyone have a suggestion? I tried changing the font but that does not fix the problem. I checked for line-breaks and it does not seem to have them because when I put the insertion bar to the left of the t as suggested and press backspace the e disappears