So, I have a set of TeX documents compiled into a main file by the \include{} function. Every one of those documents has a common instance of text in them, and would like to know if it would be possible to swap it for another one without having to replace it manually in each.
I heard you can do this for a single document with a number of instances with the "Replace" feature, but I searched and didn't find a solution for my situation.
Thanks.
\mytextor any such command you can define that command to be different text in different contexts, but if it is just unmarked text in a paragraph it is better to use your editor, – David Carlisle Jun 21 '21 at 12:51one two threeTeX has no way to access the wordtwoit is simply not available to the tex macro layer. If on the other hand your document isone \mytext\ threethen you can define\mytextto betwoorTWOor\textcolor{red}{five}or whatevever you want. But your texworks editor could easily change the wordtwoto anything you want with a global find/replace. So editors are much better for this question than tex. – David Carlisle Jun 21 '21 at 13:10