有人能帮我调整包裹之间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}