Subject: Re: Char alignment in literals From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx> Date: Tue, 21 Jul 1998 11:48:03 -0400 (EDT) |
At 21 Jul 1998 12:52 +0100, Pawson, David wrote: > I have a series of paragraphs, each with a literal > and document data. > Tel: xxx > Fax: xxx > etc. > > > > (element (contacts tel) > (make paragraph > use: para-style > keep-with-next?: #t > (sosofo-append > (literal "Tel: ") > (process-children)))) > > In order to align them vertically, I want to > insert a <tab> within the literal, or cause the > content to commence at some fixed point. > Because of the literal, I cannot use > first-line-start-indent for the para. > > > How should I cause the alignment please? Use a line-field flow object. This example (cut down from an existing stylesheet) presumes a %field-width% variable: (element (contacts tel) (make paragraph start-indent: %field-width% first-line-start-indent: (- %field-width%) (make line-field field-width: %field-width% (literal "Tel:")) (process-children))) Regards, Tony Graham ======================================================================= Tony Graham Mulberry Technologies, Inc. Phone: 301-315-9632 17 West Jefferson Street, Suite 207 Fax: 301-315-8285 Rockville, MD USA 20850 email: tgraham@xxxxxxxxxxxxxxxx ======================================================================= DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Char alignment in literals, Pawson, David | Thread | Re: Char alignment in literals, Brandon Ibach |
tail recursion, Arthur Lemmens | Date | Re: Char alignment in literals, Brandon Ibach |
Month |