how do i tell it in GREP to make the word max subscript after a C
this is what i have:
this is whatt I want:
This should work
It finds max when it is between a C and a space
Set the Change format to subscript. you can also set this up as a GREP style if you define a subscript character style.
forgive me, i found an instance that breaks that rule, Cmax may sometimes be in a parenthesis:
that does not work, i also need a grep for T1/2, see below
(done in my car! 😉 )
that partially works. it does not honor it in parenthesis?
it does, forgive me. so many styles. you are 100% correct.
i tip my hat to you good man.
question. intead of the 1/2, can we say any numbers? just incase i have 2/4, 1/3 or whatever other fraction they may want?
Change: 1/2 in \d/\d
that does not work, i also need a grep for T1/2
…and not for Tmax?
I had at the time many documents containing CO2, H2O, H2, O2, … Grep styles are great fun 😉