[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Diagrams: spurious spacing
From: |
Valeriy E. Ushakov |
Subject: |
Re: Diagrams: spurious spacing |
Date: |
Tue, 5 Dec 2000 20:51:45 +0300 |
User-agent: |
Mutt/1.3.3i |
On Mon, Dec 04, 2000 at 20:46:05 -0300, Marcelo Huerta wrote:
> Finally, some charitable soul could explain for me the difference
> between / and // (and also | and ||)? Yes, I've RTFM, but sadly I
> haven't understood the explanation :-(
Lout operates on rectangular objects. Each object has one or more
horizontal (row) and vertical (column) mark(s). When / or |
concatenation is applied to two objects Lout aligns their marks
(column marks for / and row marks for | operator), e.g. A / B might
look like this (with common column mark protruding through the
result of concatenation)
|
+-------|----------------------+
|A | |
| | |
+-------|----------------------+
|
+--|---+
|B | |
| | |
+--|---+
If objects have several marks Lout will align all marks (adjusting
gaps between marks as necessary).
OTOH, // and || ignore marks altogether and align left or top edges of
concatenated objects, e.g A // B will look like this (with ignored
marks of A and B drawn inside objects just to show they are there but
are ignored):
+------------------------------+
|A | |
| | |
+------------------------------+
+------+
|B | |
| | |
+------+
You can select which mark of the concatenation will be the principal
mark by using ^ variants of concatenation operators.
You can "glue" concatenation objects for good by dropping all but the
principal mark with @OneRow and @OneCol.
You can move the principal mark with @VShift and @HShift (hint: use
'w' unit). The names are somewhat unintuitive, the mnemonic is that
@HShift moves (vertical) column mark _H_orizontally (and v/v for @VSHift).
SY, Uwe
--
address@hidden | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen