[Tex/LaTex] Justify main caption in figure

captionshorizontal alignment

I have two figures that I am putting vertically in my text. The two figures are located in the same column, on top of each other. I am trying to left justify the main caption of this figure (by default the caption is centered). But I am unsuccessful. Here is the text:

\documentclass[reprint,
superscriptaddress,showpacs,amsmath,amssymb,
aps,
pra,
]{revtex4-1}

\usepackage{graphicx}
\usepackage{subfig}

\begin{document}
\begin{figure}[h!] 
    \captionsetup[subfigure]{margin={0.92cm,0cm}}
    \subfloat[]{%
        \includegraphics[height=7.3cm,width=8cm]{example-image}%
     }
    \captionsetup[subfigure]{margin={1.2cm,0cm}}
        \hspace{-4mm} 
    \subfloat[]{%
        \includegraphics[height=3.8cm,width=8.3cm]{example-image}%
    }

   \captionsetup[subfigure]{justification=justified,singlelinecheck=false}             \caption{This is the main caption that I would like to have it justified and not centered (a) test figure 1 (b) test figure 2 } 
\label{figlabel} 
\end{figure}
\end{document}

I had two figures with different scales so I had to have them with different sizes and shift (a) and (b) labels differently for each figure. But my problem is the main caption under the two figs. Even including

\captionsetup[subfigure]{justification=justified,singlelinecheck=false} 

or

\captionsetup[subfigure]{justification=raggedright,singlelinecheck=false}

I wasn't able to fix it.

Best Answer

The revtex4-1 document class isn't really compatible with the caption package. While you don't load caption directly, it is loaded by the subfig package in order to make use of the former package's \captionsetup macro.

The upshot is that the \captionsetup macro doesn't have much of an effect -- if any. revtex4-1 captioning style is to center-set the caption. Assuming you're forced to stick with this document class, it may be a good idea to come to terms with this stylistic setting.