I have a lyx document with two figures side-by-side. right now everytime I reference to them I get them numbered like this 2a and 2b. I want to make lyx to number them like this: 2(a) and 2(b). I want to add the parentheses. Is there any way? maybe add something to the preamble? Thank you
Asked
Active
Viewed 815 times
0
-
Can you show us what you have tried? – Jul 03 '13 at 23:01
-
yes. I did exactly what this link suggests. I tried to look for a module to fix it but haven't found one. – Jul 03 '13 at 23:38
1 Answers
1
Please take a look at Adding parentheses around subfig references.
In LyX, it seems you will have to put \usepackage[subrefformat=parens,labelformat=parens]{subfig} in your preamble, and then you might need to use an ERT such as Figure~\subref*{sf1} in your document body for the reference.