I'm trying give the reference to the subfigure, but I want that instead of figure number as, 1a and 1b, I want them to be 1, 2 etc. and in sync with normal figure number. Can anyone give any insight to that?


The floatrow package is done for that. It has an eponymous environment that takes an argument, the number of figures in a row (default is 2) and figures are inserted in the form: \ffigbox{image}{caption title+label}. Similarly there is a \ttabbox command for tables. If you want subfigures, there is a subfloatrow environment. The package cooperates with the caption package, and it supports sideways captions.

Here is a simple example:

\documentclass[a4paper, 11pt]{article}



{\includegraphics[scale = 0.8]{sendak}}
{\caption{Where Wild Things are}

{\includegraphics[scale = 0.5]{AliceSteadman}}


enter image description here

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.