The title says it. Lets have to counters:
\newcounter{myCount}
\newcounter{anotherCount}
I set myCount
to some value for example 10
\setcounter{myCount}{10}
How do I set counter anotherCount
to double the value of myCount
? I have tried things like
\setcounter{anotherCount}{2\value{myCount}}
and
\setcounter{anotherCount}{2\themyCount}
but non of this works.
\multiply\myCount by 2
— this is not a length!