![图左侧的标题,在 revtex4-1](https://linux22.com/image/346028/%E5%9B%BE%E5%B7%A6%E4%BE%A7%E7%9A%84%E6%A0%87%E9%A2%98%EF%BC%8C%E5%9C%A8%20revtex4-1%20.png)
我希望在我的图表左侧添加一个标题。
我正在使用 revtex4-1,如下所示:
\documentclass[prl,amsmath,twocolumn,showpacs]{revtex4-1}
。
我希望只将图形放在一列上,并将标题放在旁边,而不是下面。
似乎我在这里找不到任何解决方案:图侧的标题 工作。
例如,使用\usepackage{sidecap}
和\begin[SCfigure]... \end{SCfigure}
似乎失败。
适合我的文档类别的正确解决方案是什么?
谢谢!
答案1
请发布一段代码,让我们看看它是如何失败的。尽管如此,在我的系统中它运行得很好。尝试以下代码:
\documentclass[12pt,reprint]{revtex4-1}
\usepackage{graphicx}
\usepackage{caption, subcaption}
\usepackage{sidecap}
\usepackage{lipsum} % you don't need this one
\begin{document}
\lipsum[1-6]
\begin{SCfigure}
\centering
\includegraphics[scale=0.45]{black.jpeg}
\caption{some caption that is used as a means to test the side caption of this figure}
\end{SCfigure}
\end{document}