![子字幕定位在图片旁边](https://linux22.com/image/392124/%E5%AD%90%E5%AD%97%E5%B9%95%E5%AE%9A%E4%BD%8D%E5%9C%A8%E5%9B%BE%E7%89%87%E6%97%81%E8%BE%B9.png)
我正在尝试将两个子图的标题放在图的侧面而不是下方,以便节省一些空间并使它们彼此更接近。任何帮助都非常感谢!提前致谢:)
\documentclass{scrreprt}
\usepackage{subfig}
\usepackage{graphicx}
\begin{document}
\begin{figure}[h!]
\centering
\subfloat[Top view]{%
\includegraphics[width=0.6\textwidth]{example-image-16x9}}
\\
\subfloat[Side view]{%
\includegraphics[width=0.6\textwidth]{example-image-16x9}}
\caption{This is the ``main'' caption}
\end{figure}
\end{document}