I am trying to adjust equation range numbering from (1.10)-(1.15)
to (1.10-15)
.
By calling this in the preamble:
\crefrangelabelformat{equation}{(#3#1#4-#5#2#6)}
and then this in the document:
\Crefrange{eq:1-10}{eq:1-15}
I have gotten the range in side the same brackets, i.e. (1.10-1.15)
, but I am having trouble stripping the section number from the second label in the range. Is there some way to adjust the {eq:1-15}
label prior to calling \Crefrange
(i.e. changing 1.15
to 15
), and then change it back after the call? I need to change it back as in other locations I reference 1.15 individually and so need to retain the section number. Alternately can I strip the section number from the formatted text (#2
) passed to \crefrangelabelformat
?
Any help appreciated.
(1.15-2.5)
?