[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: [sqr-users] Underlining a portion of paragraph



Hi Steve,

This is easy if you are using a monospace font.  You can use separate 
print statements, and use a print location of (,+1) (same line, one column 
to the right) to add the underlined text at the proper location.

For your example:

Print 'Therefore,'            (+1,10)
Print 'you must take one'       (,+1) underline
Print 'of the following actions to avoid further consequences.' (,+1)

If you are using a non-monospace font, it becomes much more difficult to 
properly place the text for the separate print statements.  You can scan 
the archives for discussions on how to do this.

Hope this helps,
Don

> I have created a letter (.pdf) where a series of words in the paragraph 
need
> to be underlined.  I am not sure if this can be accomplished and was
> wondering if someone had any ideas.
> 
> I have tried to create and print a variable containing all of the text
> leading up to the underline and then force printing the location of the
> underline text, however, the paragraph is dynamic and the location will
> never be the same place each time.
> 
> Example text :Therefore, (underline)you must take one(/underline) of the
> following actions to avoid further consequences. 
> 
> Any help is appreciated.
> 
> Steve Bryson - Technical Business Analyst
> Center for Analysis and Reporting -PHH ARVAL
> Steve.Bryson@phh.com 
> (410) 771-2732 

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users