0

How groff can output \ symbol in my text, do not reading this symbol as a macro? And how to prohibit dividing words with a dash (hyphenation)?

U. Windl
  • 3,480
  • 26
  • 54
Uncle Leo
  • 15
  • 2

2 Answers2

1

You can get a printing version of the backslash with \e according to the manpage.

And there is .nh for »no hyphenation«.

Joey
  • 344,408
  • 85
  • 689
  • 683
  • Actually the man page says: "(...)`\e` represents the current escape character. To get a backslash glyph, use `\(rs` or `\[rs]`." – U. Windl Apr 05 '22 at 12:51
0

For me, writing \\ as a sort of escape sequence works fine and outputs a singe backslash "\".

Paul
  • 165
  • 6