lout-users
[Top][All Lists]
Advanced

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

Re: How can you indent in terms of a particular font's width?


From: Ludovic Courtès
Subject: Re: How can you indent in terms of a particular font's width?
Date: Fri, 08 Dec 2006 14:17:46 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

Mark Summerfield <address@hidden> writes:

>> Maybe by enclosing the concatenation character itself in address@hidden':
>>
>>   { The Font } @Font {
>>     { The Other Font } @Font { Left }
>>
>>     |4f
>>
>>     { The Other Font } @Font { Right }
>>   }
>>
>> (I haven't tried it, though.)
>
> Hmmm, doesn't look like it'd be that nice to use though.

Maybe slightly nicer with a definition like this:

  def @WithSpecialSpacing
      left  l
      named basefont { The Other Font }
      named spacingfont { The Font }
      right r
  {
    spacingfont @Font {
      basefont @Font l
      |4f
      spacefont @Font r
    }
  }

Well, maybe not.  ;-)

Ludovic.


reply via email to

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