+1 On Sun, Jun 6, 2021, 2:19 PM Timothy wrote: > Hi All, > > I've started doing some more cross-referencing in documents exported to > LaTeX, and a hardcoded use of \ref has begun to stand out to me as a > rather annoying thing. Hypperef provides \autoref for adding helpful > prefixes (section, figure, etc.), and there are other packages which one > may want to use to generate 'clever' references (like cleveref with > \cref). > > As such, I think that the hardcoded \ref should actually be turned into > a customisable format string, which is what the attached patch does. > > -- > Timothy > >