On Mon, Apr 03, 2006 at 09:47:25AM +0200, Helge Hafting wrote: > Juergen Spitzmueller wrote: > > >Helge Hafting wrote: > > > > > >>You are thinking about a dialog providing <length> of <something> > >>Where <length> can be 1cm, 4pt, big, med, small, or fill, > >>and <something> can be space, dots, or rule? > >> > >>This certainly seems more useful. I'll have to read up on latex to > >>see if all the permutations are supported. I haven't heard of a > >>"5cm dotfill" but believe it can be done by putting a sized parbox > >>around the dotfill. > >> > >> > > > >I don't think such a thing exists. I was merely thinking about \hfill. But > >as you say, it's probably easy to define a customizable dotfill. > > > > > \makebox[5cm][s]{\dotfill} > > This trick works for every kind of fill except blank space, where > I use hspace for the fixed lengths.
Think carefully before re-inventing the wheel... we have Box, which can be used as fixed-width horizontal space (just don't draw a frame, and require an inner box, i.e. a parbox, IIRC). If you implement a \dotfill inset -- or add one as a variant of the existing insethfill -- and place it on the menu under "special characters", you can insert one into Box and be done. Same with arrows etc. - Martin
pgpQ7G4knafKW.pgp
Description: PGP signature