Search replace: superscript
brucine Posted messages 25279 Registration date Status Member Last intervention -
Good evening
I would like to achieve the following result using a find-replace (CTRL/H):
XIV century which will become XIVe
That is to say, with the letter e in superscript
I would like to do this manipulation all at once.
(I have about twenty of them). I should have known one day, my goodness... the neurons!!!
Thank you in advance for your responses
2 answers
-
Hello,
The typographic usage is not even the superscript but the small capitals xivᴱ, but we will accept the large XIVᴱ.The problem is that, whether superscript or small capitals, I do not have a way to my knowledge to do a search-replace in Word with a generic formatting character.
Therefore, we cannot select the expression Ve to replace it with Vᴱ, and of course, we cannot select just e.
However, we can cheat as follows in three steps: search for XIVe and replace it with 14th, which Word will automatically put in superscript, then replace 14 with XIV and th with E.
-
Sorry !!! This is about Word 2019
Actually, I would like to put the "e" in superscript concerning the centuries, that is to say after
the Roman characters (and only after those!!!) Let's say the text is already typed with this anomaly.
So with the find and replace, I can change everything at once, but the rest of the "e"
in the end other words will not be affected. You understand. This manipulation only concerns
dates in the form of centuries (XVIIe-XIXe, etc.)
But in the future, I could use the technique by putting in superscript while typing using the key combination CTRL/SHIFT/= (equal sign). Indeed, I hadn’t thought of that.
According to the European Ramat of typography (Authors: Aurel Ramat, Romain Muller (ed. De Champlain), it is not mandatory to write dates in the form of centuries in small capitals. They are typed in capital letters, then the size of said capitals is reduced ... but well! detail !!))
But there, the error is already disseminated throughout the document.
Thank you very much for your reply
-
I was focusing on the only 14th century where the solution I proposed works well without putting the rest in superscript.
For all centuries between X and XXI:
-Check the box "Use wildcards" in the search area-Search for ([XIV])(e)> and replace with \1 \2$ (assuming that the $ character is unused in the document, otherwise find another one)
-Now search for e$ and replace with e by specifying Format, Font, checking Superscript and Small Caps
-