I have two counters defined
Code: Select all
\newcounter{a}
\newcounter{b}
Code: Select all
(a+b)/2
Code: Select all
\expandafter\parseValue#1
\setcounter{c}{((\value{\a}+\value{\b})*10/\value{divisor}+5)/10}
Code: Select all
\def\parseValue(#1+#2)/#3{%
\def\a{#1}
\def\b{#2}
\setcounter{divisor}{#3}
}
And these are my questions:
1) Is any package out there dealing with Regular Expressions?
2) a. Or do I have to hack my own code using any String Manipulation Package?
2) b. Do you have any experience which packets fit best?
3) Or does a package already deal with the issue I'm working on?
Thanks in advance!
