Re: LaTeX "stretch" equivalent

Jeff Kingston <[email protected]>
Newsgroups gmane.comp.type-setting.lout
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.