Re: LaTeX "stretch" equivalent
Matej Nanut <[email protected]>
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <CABTKRFzgdwt_U7hsaXbiE+X5hLOkFJGFrhH1YLYJ9sPczVpDnw@mail.gmail.com> |
The "too much width solution" works perfectly, thank you! I had hoped for a clean way of doing this, but I guess this will have to do. Matej On 8 July 2012 01:25, Jeff Kingston <[email protected]> wrote: > Matej, > > @SysInclude { doc } > @Doc @Text @Begin > 20c @Wide @LocalWidthRule |1c Some Text |1c > 20c @Wide @LocalWidthRule > @End @Text > > works for me. When there is too much width, Lout silently > shrinks the width assigned to the columns, by shrinking > the wider columns equally. So in the example above it > leaves Some Text alone and shrinks the rules equally. > > If you happened to want the text part to be wider than the > rules parts, it would get harder. Let me know if so and > I will give some thought to it. > > Jeff > > > On Sat, Jul 07, 2012 at 01:05:00AM +0200, Matej Nanut wrote: >> Hello, >> >> I'm afraid I've hit another snag. How would I go about getting two >> rules to the left and right of a centred object? >> >> Like this: [---------------- text ----------------]. >> >> I've tried using "|" and "&" with various combinations of >> @FullWidthRule and @LocalWidthRule, but I can't figure it out. >> >> Sorry for being so annoying. An answer in the form of the (obvious? :/ >> ) page (or approximate section) in one of the guides would more than >> suffice. >> >> Thank you, Matej >