LATEX skips numbers in numbering when putting several figures in the same figure environment -
here bundle using:
\documentclass[twocolumn,showpacs,preprintnumbers,amsmath,amssymb,superscriptaddress]{revtex4} \usepackage{graphicx} \usepackage{bm} \usepackage{subcaption} \usepackage{siunits} \captionsetup{justification=raggedright, singlelinecheck=false} \bibliographystyle{approve}
in order set 2 figures next each other, using total width of page twocolumn option, utilize syntax:
\begin{figure*} \centering \begin{subfigure}[b]{0.5\textwidth} \includegraphics[width=\textwidth]{mfploglog_a.eps} \end{subfigure}% \begin{subfigure}[b]{0.5\textwidth} \includegraphics[width=\textwidth]{mfploglog.eps} \end{subfigure} \caption{xxx}\protect\label{eloglog} \end{figure*}
the probleme using numbering incorrect. each figure, number skipped if subfigure environment counting 1 figure. illustration if set figure in code, going labeled figure number 2.
does encountered kind of problem ?
don't utilize caption
package (or subcaption
) revtex4-1
. you'll note in .log
there compatibility issues between bundle , class. instead, place 2 images side-by-side in same figure*
without using subfigure
environment:
\documentclass[twocolumn,showpacs,preprintnumbers]{revtex4-1} \usepackage{graphicx} \begin{document} \begin{figure*} \centering \includegraphics[width=.3333\linewidth]{example-image-a} \qquad \includegraphics[width=.3333\linewidth]{example-image-b} \caption{xxx} \end{figure*} \end{document}
latex figure
No comments:
Post a Comment