Copy link to clipboard
Copied
Good morning, I need to select and italicize the first two words of each paragraph - however it just can´t be about selecting the "italic" form of the font, because the one I have to use doesn´t have the italic, so it has to be forced italic at x degrees... but I don´t know how to work with scripts... Help! And thank you
You don't need a script for this, just a nested character style as part of the paragraph style definition.
In the Paragraph Style definition dialog go to the Drop Caps and Nested Styles section and create a new Nested Style then click the drop-down in the new style that shows what character style is to be applied and choose New Character Style (unless you've already defined one to apply the "italics" elsewhere, in which case you can simply choose that). Define the new Character Style with the a
...Copy link to clipboard
Copied
You don't need a script for this, just a nested character style as part of the paragraph style definition.
In the Paragraph Style definition dialog go to the Drop Caps and Nested Styles section and create a new Nested Style then click the drop-down in the new style that shows what character style is to be applied and choose New Character Style (unless you've already defined one to apply the "italics" elsewhere, in which case you can simply choose that). Define the new Character Style with the appropriate slant, then set the nested style to apply through 2 words.
Copy link to clipboard
Copied
Thank you very much, works like a charm.