I am using package xr to produce scientific manuscript. I have main and Supplementary file and want to use \autoref to provide reference to figures. However, when I use reference to figure which is in the main text I want it to appear as "In Figure 2 we have ... ", but for the figures which are placed in Supplementary file I want it to appear as "In Supplementary Figure". In other words, I want "In \autoref{fig:secondFigure} we have ..." to provide different outputs, depending on in which file figure with label fig:secondFigure resides. Is it possible to do this and how?
Asked
Active
Viewed 173 times
1
user2337800
- 11
\renewcommandshould not go at the top, but at the start of the supplementary material. – Marijn Jul 03 '18 at 15:07\documentclasscommand, have a minimal preamble and then\begin{document}...\end{document}. The code should compile and be as small as possible to demonstrate your problem. It is much easier to help if we have close to working code to start from. – Jul 03 '18 at 19:33