При использовании пакета wrapfig
с таблицей внутри раздела первая строка таблицы не выравнивается по тексту, который ее переносит. Эта проблема отсутствует при работе вне раздела.
\documentclass{article}
\usepackage{wrapfig}
\usepackage{lipsum}
\begin{document}
\section{Section}
\begin{wraptable}{l}{0pt}
\begin{tabular}{cccc}
A & B & C & D \\
E & F & G & H\\
\end{tabular}
\label{Mytable}\caption{This is my table.}
\end{wraptable}
\textbf{This bit of text should be aligned with the table's top row.}
\lipsum[2]
\end{document}
Это дает:
![Text not aligned with wrapped table's first row](https://i.stack.imgur.com/YwxWb.png)
В то время как в идеале я хотелось бы получить что-то вроде:
![Text hypothetically aligned with wrapped table's first row (not a TeX output)](https://i.stack.imgur.com/gJsUp.png)