On Sat, Mar 15, 2008 at 07:28:07PM +0100, Jürgen Spitzmüller wrote: > Here's the patch. Lyx2lyx works now, the metrics problem remains, and I'm > stuck with that. Maybe someone has an idea. > > Otherwise, objections?
I think that there should be some visual difference between enspace, quad, qquad, and custom spaces. ATM they all look the same. Just as a suggestion, maybe your new inset could support leaders. Leaders are a special case of glue as far as TeX is concerned. Ordinary glue fills space with nothing, while leaders fill space with any desired thing. For example, \leaders<some box>\hskip<glue> has the same effect as \hskip<glue> except that the specified box is used as a fill pattern. A \lspace macro could be defined as \def\lspace#1#2{\vrule [EMAIL PROTECTED]@\nobreak \leaders\hbox{#1}\hskip #2\hskip [EMAIL PROTECTED] and then used as follows: \lspace{$\rightarrow$}{\fill} \lspace{ $\rightarrow$ }{\fill} \lspace{.-}{5cm} \lspace{abc}{5cm} In this way a fill pattern could also be defined by the user for custom lengths. -- Enrico