You can do this with a simple nested style.
EITHER set the base paragraph style to what you want after the common name and apply a character style to change the common name up to 1 (
OR set the paragraph style formatting to that for the common name, then nest None up to 1 ( and your new formatting through 1 )
Thanks for replying Peter! I tried your advice but I must still be doing something wrong. Here is what I want the heading to look like:
but when I try to make the nested style, it won't work. Here are the character styles:
and here are my settings in the paragraph/nesting style:
Any idea what I am messing up? Thank you thank you thank you for your help!
How are you applying the SciName Character Style?
From how you are setting up your Paragraph style, the SciName attributes should be the base Paragraph style, and would not need to be applied as a separate Character Style.
Char tag: ScienName Raleway Med Italic 12.5/6
¶ tag: SpeciesHeading Ostrich Sans Heavy 18.5/6
None up to 1 (
SciName up to 1 )
I personally would use a Grep style from within the paragraph style. Purely because I hardly ever use nested styles.
The grep expression would probably be something like this (I can't check it for sure as I'm not near my Mac):
that's basically saying, find an open bracket followed by any number of characters, followed by a closed bracket.
Apply SciName as your character style.
GREP styles are less efficient than ordinary nested styles and should be avoided when you have a pattern such as this that can be used to trigger the style change.