Questions tagged [roff]
The general name for a family of text formatting programs and mark-up languages, all descended from CTSS's 1964 `RUNOFF` system. Current versions are known as `groff`, `troff`, `nroff`, `ditroff`, etc. and are used at the command line to format manual pages (`man` pages) on Unix-like operating systems.
30 questions
6 votes
1 answer
395 views
Is groff ignoring `.nh` command?
For a man page written in POD (perlpod) I had the effect that the SYNOPSIS was left-adjusted on the text terminal, but the PostScript output (read: troff) adjusted the text to both borders. So I tried ...
1 vote
2 answers
349 views
Two Columns For Text And One For Footnotes In Groff
I'm new to groff, so excuse me if it's a silly question. I can't find an appropriate solution for have two-columned content with one-columned footnotes. I've messed with .1C and .2C macros to get the ...
0 votes
1 answer
1k views
How do I create a table using tbl command [duplicate]
I have to create a table and I tried doing this using tbl This is how the table should look: But I can't find a way how to use the tbl command to create this table in a file called authors.
0 votes
2 answers
238 views
How do I scale a whole figure in pic?
Given a pic figure: .PS circle "Foo" arrow box "Bar" arrow box dashed "Foo" "Dashed" .PE Is it possible to scale the whole diagram element's widths and heights?...
9 votes
3 answers
1k views
Are ∈ and ℝ symbols available in eqn/roff?
A set of commonly used symbols to represent that a variable belongs to a given real coordinate space are ∈ ("ELEMENT OF", Unicode U+2208) and ℝ ("DOUBLE-STRUCK CAPITAL R", Unicode ...
0 votes
1 answer
244 views
Is there a way to prevent line breaks in man pages?
Title says it all. I'm just trying to avoid awkward line breaks between words. I read somewhere that in {,t,g}roff using ~ in place of a space should do it, but that doesn't seem to work for man pages ...
2 votes
1 answer
196 views
Does Groff have an updated formatting algorithm (Knuth-Plass/other)?
In the groff mission statement it says that Groff will be moving to an improved formatting algorithm. Considering that the mission statement was written in 2014; I was wondering where this was at ...
0 votes
1 answer
75 views
Rendering of underlined dots in man
If you look at the documentation source for man(1) (probably at /usr/share/man/man1/man.1.gz) using, you'll notice lines like this one - .IR page [.\| section \|]\ \|.\|.\|.\|]\ \.\|.\|.\& This ...