Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • Would (a customized version of) \autoref{algLabel} contains \autoref{lineLabel} be an option? Commented Jan 22 at 19:31
  • 1
    @Marijn Are you suggesting that we switch from \zref from zref-clever to \autoref from thmtools? I'm afraid switching to yet another package for my non-minimal document (not shown here) is out of option as of now, as it'd take me at least a full day, given the current state of the bug tracker of thmtools and given that its last commits happened already 2 years ago. I'm in the process of ditching an even older cleveref … Commented Jan 22 at 19:35
  • \autoref is from hyperref, not from thmtools (see page 26 of the hyperref manual). It just takes the value of the string from thmtools or babel or whichever other package (re)defines \algorithmname. You can still use zref-clever for everything else. Not ideal but a quick solution - I'll post an answer. Commented Jan 22 at 19:42
  • @Marjin Oh. I search for autoref on CTAN and it directed me to thmtools. Sure, please feel free to post an answer. Maybe I was wrong about the source of the provided command. Commented Jan 22 at 19:44
  • 1
    You're right, I didn't look closely at the other question and assumed it was about zref-clever as well. I retracted the close vote. Commented Jan 23 at 6:47