Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Thanks for the answer. I have two questions: 1. Why do you need \\n and not \n? In groff manuals I see e.g. \n(xx used instead. 2. What's the 'u' for in '\\n[saveIN]u'? I couldn't find any documentation on 'retrieving' register values that explained the 'u'. Thanks Commented Oct 17, 2013 at 15:28
  • Ahh OK, got my answer to 1. from here: lists.gnu.org/archive/html/groff/2010-05/msg00043.html Still looking for number 2. Commented Oct 17, 2013 at 15:32
  • 2
    Using .in 5 means "indent 5 ems" because .in defaults to scaling all numbers as ems. (See "man 7 groff".) The \n(.i register returns the indent in "units", not "ems", and that's the value we saved. So when we need to restore its value as an argument to .in we must append u to the number or else the value will be scaled up by .in to ems (and be huge). Commented Oct 18, 2013 at 20:54