New answers tagged paragraph-styles
The best option is probably to make your icon a font. This can be done using a script by @jongware. He can do a better job of explaining it than I can. It's something that I have on my radar for the next time I need to create glyphs, so I haven't used it yet. There's a free trial or basic version. The script and more details can be found on indiscripts.com: ...
Different styles are for different styles You don't want one style to produce two different visual results. That would be a very strange feature. What you're after is automation of applying the styles. That makes sense. I assume you have your whole book chained in one text flow. And the styles surrounding your chapter text are already in place from the ...
No, you’re supposed to use two separate styles. Why are you trying to confuse how things are formatted by having two separate visual appearances be applied by a single style?
Nested styles might be needed to achieve this effect but it sounds like that is what you are already using. If you want you can attempt to have the styles automatically applied depending on the content of the text.
Okay, I finally figured out the answer myself and am posting it here for the benefit of others. The trick is to call the remove method of the ParagraphStyle class (more accurately, the paragraph style being removed). The syntax is: Old_Style.remove(New_Style); In this syntax, the New_Style argument is optional. Thus, for my example, the correct code would ...
Top 50 recent answers are included