1

I know how to create a justified alignment Word document from rmarkdown, using a template file. The problem is that the ends of line are all stretched (see picture). In Word, one solves this by putting a tab at the end of the line, but I can't reproduce this in rmarkdown. Adding tabs there doesn't work.

Any solutions that do not involve manual reformatting of all paragraph ends?

enter image description here

Bakaburg
  • 3,165
  • 4
  • 32
  • 64
  • Not sure whether this works in your case, but have you tried adding a tab using " "? – stefan Oct 16 '20 at 13:16
  • apparently yes! aren't there more evident solution though that an anonymous code? – Bakaburg Oct 16 '20 at 13:40
  • 1
    So it has worked? If yes. I just figured this out by trial and error, when I had an issue with tabs in Word documents too. Somehow I stumbled over this, but can't remember whether I found it somewhere or ... Most interesting to me is that this works in Word as is the HTML entity for a tab. – stefan Oct 16 '20 at 14:00
  • all the pleasures of MS words... it never stops to amaze me its unpredictability – Bakaburg Oct 16 '20 at 14:45

0 Answers0