I want to create a command \eqref*
, which is the same like \eqref
, but without a clickable link.
There are similar commands for \ref
(\ref*
) and \autoref
(\autoref*
) which achieve this behaviour, but not for \eqref
.
\newcommand{\myeqref}[1]{(\ref*{#1})}
Would work, but I don't like the naming, and there is an additional problem: \eqref
writes numbers upright even in italic math environment, \ref
doesn't do this.
Any help is appreciated.
[ Edit: for search engines: eqref, eqref*, eqrefstar, starred eqref, eqrefasterisk, asterisked eqref, eqref star, eqref asterisk ]
Best Answer
Here's a solution that borrows from Joseph Wright's
LaTeX3
solution to Defining starred versions of commands (* macro)