Das Beschriftungsverhalten von RevTex4-1 für die letzte Zeile wurde nach der Anpassung geändert. Wie kann ich es wieder ändern?

Das Beschriftungsverhalten von RevTex4-1 für die letzte Zeile wurde nach der Anpassung geändert. Wie kann ich es wieder ändern?

Ich bin in der \begin{figure*}Umgebung mit ein paar subfigureObjekten, die keine Beschriftungen haben. Nach \end{subfigure}verwende ich derzeit

\caption[]{\small\justify blah blah blah}

was das folgende Bild erzeugtBildbeschreibung hier eingeben

Wenn ich jedoch zu

\caption[]{\small blah blah blah}

nach der ersten Einstellung

\usepackage[justification=justified,singlelinecheck=false]{caption}
\usepackage[justification=justified,labelfont=large]{subcaption}

Ich bekomme

Bildbeschreibung hier eingeben

das ist, was ich will, außer dass die letzte Zeile zentriert ist. Ich möchte, dass die letzte Zeile wie das erste Bild ist. Übersehe ich einen wirklich einfachen Befehl? Danke.

Gesamtcode:

 \begin{figure*}
  \begin{subfigure}[b]{0.485\textwidth}
           \centering
            \includegraphics[width=\textwidth]{fig1.eps}  
            \label{fig:1}
\vspace{-12pt}
        \end{subfigure}
        \begin{subfigure}[b]{0.485\textwidth}  
            \centering 
            \includegraphics[width=\textwidth]{fig2.eps}
            \label{fig:2}
\vspace{-12pt}
        \end{subfigure}
 %       \vskip\baselineskip
        \begin{subfigure}[b]{0.485\textwidth}   
            \centering 
            \includegraphics[width=\textwidth]{fig3.eps}
            \label{fig:3}
        \end{subfigure}
        \begin{subfigure}[b]{0.485\textwidth}   
            \centering 
            \includegraphics[width=\textwidth]{fig4.eps}
            \label{fig:4}
        \end{subfigure}
\vspace{-10pt}
        \caption[]{\small\justify blah blah blahblah blah}
\label{fig:plot}
\end{figure*} 

Antwort1

captionSie sollten und nicht subcaptionmit verwenden, revtex4-1da es zu Inkompatibilitäten kommt.

Wenn Sie damit fortfahren möchten, laden Sie das Paket subcaption(das geladen wird caption) ohne Optionen und laden Sie dann das Paket ragged2eund definieren Sie

\DeclareCaptionJustification{justified}{\justifying}

An dieser Stelle deklarieren Sie dieses Setup

\captionsetup{justification=justified,singlelinecheck=false,labelfont=large}

MWE:

\documentclass{revtex4-1}
\usepackage[demo]{graphicx}
\usepackage{subcaption}
\usepackage{ragged2e}
\DeclareCaptionJustification{justified}{\justifying}
\captionsetup{justification=justified,singlelinecheck=false,labelfont=large}

\begin{document}
\begin{figure*}
        \begin{subfigure}[b]{0.485\textwidth}
           \centering
            \includegraphics[width=\textwidth]{fig1.eps}
            \label{fig:1}
\vspace{-12pt}
        \end{subfigure}
        \begin{subfigure}[b]{0.485\textwidth}
            \centering
            \includegraphics[width=\textwidth]{fig2.eps}
            \label{fig:2}
\vspace{-12pt}
        \end{subfigure}
 %       \vskip\baselineskip
        \begin{subfigure}[b]{0.485\textwidth}
            \centering
            \includegraphics[width=\textwidth]{fig3.eps}
            \label{fig:3}
        \end{subfigure}
        \begin{subfigure}[b]{0.485\textwidth}
            \centering
            \includegraphics[width=\textwidth]{fig4.eps}
            \label{fig:4}
        \end{subfigure}
\vspace{-10pt}
        \caption[]{\small blah blah blah blah blah blah blah blah blah blah blah blah 
                          blah blah blah blah blah blah blah blah blah blah blah blah 
                          blah blah blah blah blah blah blah blah blah blah blah blah 
                          blah blah blah blah blah blah blah blah blah blah blah blah 
                          blah blah blah blah blah blah blah blah blah blah blah blah 
                          blah blah blah blah blah blah blah blah blah blah blah blah 
                          blah blah blah blah blah blah blah blah}
\label{fig:plot}
\end{figure*} 
\end{document} 

Ausgabe:

Bildbeschreibung hier eingeben

verwandte Informationen