TeX - LaTeX Asked on January 2, 2021
I currently started to use the subfigure
command instead of minipage
to arrange several figures. I am using the subcaption
package to do so. Now subfigure
(other than minipage
) references in the written text – when using autoref{ExampleLabel}
– as Abbildung 1a
. While I do like the (a), (b), (c), (d) label format I would like the reference to be like Abbildung 1 (a)
with both parenthesis and the blank in between.
How do I approach this?
As @Mico stated in the Comments:
The subcaption
user manual stats on page 9:
"If you want parentheses around the sub-figure part of the reference, so they will look like ‘1(a)’, you may get them this way:"
usepackage[labelformat=simple]{subcaption}
renewcommandthesubfigure{(alph{subfigure})}
If one wants to have "1 (a)" - so with a blank in between - instead on "1(a)", one has to add the blank such as: renewcommandthesubfigure{ (alph{subfigure})}
.
If one uses renewcommandthesubfigure{,(alph{subfigure})}
it will be a half blank and 1 (a)
never gets separated.
Answered by Timon on January 2, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP