Re: [groff] mark/lineup in eqn

2018-05-01 Thread Damian McGuckin
On Wed, 2 May 2018, Doug McIlroy wrote: I agree it lines things up right horizontally. What I complained about is that (at least in -ms) a separate EQ-EN pair for each line introduces extra vertical space, so the sequence does not look like a coherent whole. Is that because of the spacing insi

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Doug McIlroy
I agree it lines things up right horizontally. What I complained about is that (at least in -ms) a separate EQ-EN pair for each line introduces extra vertical space, so the sequence does not look like a coherent whole. The matrix trick gives a better display, but sacrifices any connection with ordi

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Damian McGuckin
Doug, On Tue, 1 May 2018, Doug McIlroy wrote: In fact the matrix trick is so painful that with tongue hardly in cheek I'd claim that for the present example raw troff would be simpler: \h'\w'longidentifier'u-\w'shortid'u'\c shortid = expression1 .br longidentifier = expression2 When I try (

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Doug McIlroy
Ingo suggested a way to write two equations aligned on equals signs, to look rather like this shortid = expression1 longidentifier = expression2 Here's the code .EQ set column_sep 35 matrix { rcol { xhortid above longidentifier } ccol { = above = } lcol { expression1 above exp

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Ingo Schwarze
Hi John, John Gardner wrote on Wed, May 02, 2018 at 08:07:38AM +1000: > I'm just gonna blurt out that I can't follow a word of this > without a visual. =( Here you are: .\" run with groff -e -mdoc doug.in > doug.ps .\" but please don't pull such stunts in a manual page, of course :) .Dd May 1

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Ingo Schwarze
Hi Doug, Doug McIlroy wrote on Tue, May 01, 2018 at 05:34:42PM -0400: > Fellow groffers, what do you think of generalizing the application > of "mark" and "lineup" in eqn to work in columns and piles as > well as in separately displayed equations. > > A typical use of mark and lineup is to align

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Tadziu Hoffmann
> [...] generalizing the application of "mark" and "lineup" in > eqn to work in columns and piles as well as in separately > displayed equations. I'm not sure I understand you correctly. There is no need for mark and lineup in columns and piles, because they already do the right thing. (?) > A

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Damian McGuckin
On Tue, 1 May 2018, Doug McIlroy wrote: Fellow groffers, what do you think of generalizing the application of "mark" and "lineup" in eqn to work in columns and piles as well as in equations. The typical use of mark and lineup is to align = signs in a sequence of equations. If the = signs signify

Re: [groff] mark/lineup in eqn

2018-05-01 Thread John Gardner
I'm just gonna blurt out that I can't follow a word of this without a visual. =( On 2 May 2018 at 07:34, Doug McIlroy wrote: > Sorry that my previous post was truncated. Here's what > I meant to say: > > Fellow groffers, what do you think of generalizing the application > of "mark" and "lineup"

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Doug McIlroy
Sorry that my previous post was truncated. Here's what I meant to say: Fellow groffers, what do you think of generalizing the application of "mark" and "lineup" in eqn to work in columns and piles as well as in separately displayed equations. A typical use of mark and lineup is to align = signs i

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Ted Harding
On Tue, 2018-05-01 at 13:45 -0400, Doug McIlroy wrote: > Fellow groffers, what do you think of generalizing the application > of "mark" and "lineup" in eqn to work in columns and piles as > well as in equations. > The typical use of mark and lineup is to align = signs in > a sequence of equations.

[groff] mark/lineup in eqn

2018-05-01 Thread Doug McIlroy
Fellow groffers, what do you think of generalizing the application of "mark" and "lineup" in eqn to work in columns and piles as well as in equations. The typical use of mark and lineup is to align = signs in a sequence of equations. If the = signs signify steps of