For a project my partner and I are working on, our text includes a great number of words in mixed lowercase and smallcaps:
We're currently doing this with a rather clunky macro:
This allows us to have two "clusters" of smallcaps within a word like this:
which is just good enough to function without wasting too much of our time. However, since we're inputting a lot of words like this what we'd really like to do is have a macro where we could type the command like this:
and have it automatically convert the capital letters within the command to smallcaps in the document. We've searched for answers on this stack exchange and found a few solutions to adjacent issues, but none that addresses this particular problem.
As an addendum, some of these words contain the "Latin capital letter glottal stop" character Ɂ. Our existing macro deals with this character fine (as far as I can tell it just leaves it unaltered), but just in case any solution exists that would break on this non-ascii character, it won't do.
Does anybody know if this is doable?