Is there any way to get data with in braces, before a certain latex command (\body) and assign that content (long text) to a variable.
eg:
\text{just a text before body} \body{contains lot of paragraphs etc etc etc, and that paragraphs also contains lot of latex command like \textbf{my name} and \textit{text} etc. but i want all the content with in the brace} \text{just a text after body}
i need
\body{contains lot of paragraphs etc etc etc, and that paragraphs also contains lot of latex command like \textbf{my name} and \textit{text} etc. but i want all the content with in the brace} in a variable
I want some search and replace in it. thats why
i did a macro to yank text with in braces by the help of % (to search with in braces).
is there any easy way to do this?
thanks in advance