I think I've got it figured out. If you're applying a nestable style like "compinline" or "box," the begin- and end-style codes go immediately before and after the text that you've highlighted (selected). With linear styles like "para.", "list.", "h1.", etc. (any with a period at the end), the beginning code will be placed right after the carriage return, end line command, or ending code of another linear style that precedes the highlighted text. The ending code with go just before the next [<], [l], or opening linear style code AFTER what's highlighted. In fact, you don't even have to highlight anything. The cursor can just be anywhere in the "paragraph" you want, and the style you select is applied to the whole section between carriage returns, etc. I used to have trouble when trying to apply a heading style to text after a print page break in a textbook. I'd put in the [lea] code and print page number, then a heading, which I wanted in the h1. or h2. style. The opening style code would end up before the [lea] command. Now I know I should put the line end code [l] after the page number, and it works correctly. (A carriage return after the page number gives an unwanted skipped line.) I ended up answering my own question because I'm not working on anything with a deadline right now and decided to experiment. I hope all this is helpful to someone besides me. --Lynn -----Original Message----- From: Lynn Carroll Sent: Thursday, November 14, 2002 2:53 PM To: duxuser@xxxxxxxxxxxxx Subject: [duxuser] Re: Applying styles to highlighted text I will next try to reproduce my problem with getting extra stuff at the front end. Also, check how nestable styles differ. "list." is a linear style, meaning it applies to whole "paragraphs". I'd like to figure out a set of rules describing the placement of the style beginnings and endings in all situations. If someone already knows this, please speak up now! * * * This message is via list duxuser at freelists.org. * To unsubscribe, send a blank message with * unsubscribe * as the subject to <duxuser-request@xxxxxxxxxxxxx>. You may also * subscribe, unsubscribe, and set vacation mode and other subscription * options by visiting //www.freelists.org. The list archive * is also located there. * Duxbury Systems' web site is http://www.duxburysystems.com * * * * * * * This message is via list duxuser at freelists.org. * To unsubscribe, send a blank message with * unsubscribe * as the subject to <duxuser-request@xxxxxxxxxxxxx>. You may also * subscribe, unsubscribe, and set vacation mode and other subscription * options by visiting //www.freelists.org. The list archive * is also located there. * Duxbury Systems' web site is http://www.duxburysystems.com * * *