The \tikzmark command (as in here) does not work within the \PARENS command provided by the mtpro2 package.
Here is a MWE (requiring at least two runs):
\documentclass{article}
\usepackage[lite,subscriptcorrection,slantedGreek,nofontinfo]{mtpro2}
\usepackage{tikz}
\newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};}
\begin{document}
$$\PARENS{\tikzmark{a}1}$$ %With PARENS
$$\tikzmark{b}(1)$$ %Without PARENS
\tikz[overlay,remember picture] {
\draw (a) circle (1cm); %With PARENS - ends up at the bottom left corner of page
\draw (b) circle (1cm); %Without PARENS - works fine
}
\end{document}
Would appreciate any explanations and/or remedies. Thanks
$$\tikzmark{a}\PARENS{1}$$? – JLDiaz Dec 19 '12 at 09:36\PARENS, and\tikzmarkis used to mark different positions within these matrices – hwhm Dec 19 '12 at 09:44$$\PARENS{{\tikzmark{a}}1}$$? – JLDiaz Dec 19 '12 at 10:44