lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with aligned displays


From: Stephan Pabst
Subject: Problems with aligned displays
Date: Wed, 14 Jul 1999 17:09:24 +0200 (MESZ)

Dear Lout users,

according to the user's guide, page 134-135, it is possible
to mix raw und non-raw displays, as well as numbered and
non-numbered displays.
However, when processing the following little test file...

---

@SysInclude { eq }
@SysInclude { book }
@Book
//
@Chapter
@Begin

@LP Abcdef Abcdef Abcdef Abcdef Abcdef Abcdef Abcdef
Abcdef Abcdef Abcdef Abcdef Abcdef

@BeginAlignedDisplays
@IndentedAlignedNumberedDisplay @Eq { test(1) ^= test(2) }
@RawIndentedAlignedNumberedDisplay @Eq { ^= test(3) }
@IndentedAlignedNumberedDisplay @Eq { ^= test(4) }
@EndAlignedDisplays

@BeginAlignedDisplays
@DP @RawIndentedAlignedDisplay @Eq { test(5) ^= test(6) }
@DP @RawIndentedAlignedNumberedDisplay @Eq { ^= test(7) }
@DP @RawIndentedAlignedNumberedDisplay @Eq { ^= test(8) }
@DP
@EndAlignedDisplays

@LP Abcdef Abcdef Abcdef Abcdef Abcdef Abcdef Abcdef
Abcdef Abcdef Abcdef Abcdef Abcdef

@End @Chapter

---

... Lout 3.16 seems to have two problems:

- Aligning does not work correctly when a non-raw display is
  followed by a raw display
- Numbers are shifted beyond the right margin when the first
  equation of an aligned block is a non-numbered one

The following "ASCII art" might give an impression of what
happens...

---

Abcdef Abcdef Abcdef Abcdef Abcdef Abcdef Abcdef Ab-
cdef
     test(1) = test(2)                         (1.1)
       = test(3)                               (1.2)
             = test(4)                         (1.3)

     test(5) = test(6)
             = test(7)                             (1.4)
             = test(8)                             (1.5)
Abcdef Abcdef Abcdef Abcdef Abcdef Abcdef Abcdef Ab-
cdef

---

While it is quite easy to avoid the first problem (by using
raw displays only), the second problem is a nasty one.
Are there any known solutions to this?
Thank you,

Stephan Pabst (address@hidden)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]