我正在使用粉碎标题重新定义小图像和表格,其标题位于页边距中。它会破坏标题,但不破坏附加脚注。此外,由于标题被破坏,脚注会覆盖在标题上。是否可以在标题后添加破坏并对齐的脚注?
来源:
\documentclass[twoside]{book}
\usepackage[
letterpaper,
includemp,
headheight=0.5in,
left=1.25in,
width=6.75in,
marginparsep=0.25in,
marginparwidth=2in,
bottom=1in,
top=1in]
{geometry}
\usepackage{blindtext}
\usepackage{floatrow}
\DeclareFloatSeparators{marginparsep}{\hskip\marginparsep}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{hyperref}
\makeatletter
\newcommand*\smashcaption{%
\def\FR@makecaption##1##2{%
\vbox to\z@{%
\vss
\captionfont
{\captionlabelfont##1}\caption@lsep##2%
\par
\vss
}%
}%
\caption
}
\makeatother
\begin{document}
\blindtext[1]
\thisfloatsetup{%
floatwidth=\linewidth,
capposition=beside,
capbesideposition={bottom,outside},
facing=yes,
justification=raggedleft,
margins=hangoutside,
capbesidewidth=\marginparwidth,
capbesidesep=marginparsep
}
\begin{table}[h]
%\ra{1.2}
{\small
\begin{tabular}{@{}ll@{}}
\toprule
Library & Purpose \\
\midrule
aa & AAA\tabularnewline
bb\footnote{\url{http://www.abc.com}}\footnote{\url{http://www.abc.com}}\footnote{\url{http://www.abc.com}}
\footnote{\url{http://www.abc.com}}\footnote{\url{http://www.abc.com}}\footnote{\url{http://www.abc.com}}
\footnote{\url{http://www.abc.com}}\footnote{\url{http://www.abc.com}}\footnote{\url{http://www.abc.com}}
\footnote{\url{http://www.abc.com}}\footnote{\url{http://www.abc.com}}\footnote{\url{http://www.abc.com}} & BBB\tabularnewline
cc & CCC \tabularnewline
dd & DDD \tabularnewline
\bottomrule
\end{tabular}}
\captionsetup[table]{font={footnotesize,sf},margin=0pt}
\smashcaption{Some elaborate description about this awesome table.
Some elaborate description about this awesome table.
Some elaborate description about this awesome table.
Some elaborate description about this awesome table.
Some elaborate description about this awesome table.}
\end{table}
\blindtext[1]
\end{document}