如何使用 Sidenotes 和 Subcaption 包调整图形和标题之间的间距?

如何使用 Sidenotes 和 Subcaption 包调整图形和标题之间的间距?

有人能帮我调整包裹之间figure和包裹caption内的间距sidenote吗?我希望有和没有一样的间距\phantomsubcaption

\documentclass[oneside]{scrbook}
\usepackage{amsmath}
\usepackage{blindtext}

\usepackage{sidenotes}
\usepackage{mwe}
\usepackage{subcaption}

\usepackage[showframe]{geometry}
\geometry{paperwidth=170mm, paperheight=240mm, left=42pt, top=40pt, textwidth=280pt, marginparsep=20pt, marginparwidth=100pt, textheight=560pt, footskip=40pt}
%



\begin{document}


\chapter{Introduction}

\section{Introduction}

\blindtext

% With phantomsubcaption 
\begin{marginfigure}%
    {\includegraphics[width=\marginparwidth]{example-image-a}%
                    \phantomsubcaption\label{fig:MWEa}
                    \phantomsubcaption\label{fig:MWEb}}
    \caption{A small rectangle put in the margin.\label{rectangle}}%
\end{marginfigure}%

% Without phantomsubcaption 
\begin{marginfigure}%
    \includegraphics[width=\marginparwidth]{example-image-a}%
    \caption{A small rectangle put in the margin.}%
    \label{fig:MWE}
\end{marginfigure}%
%

\blinddocument
\end{document}

在此处输入图片描述

相关内容