![移动表格标题](https://linux22.com/image/266648/%E7%A7%BB%E5%8A%A8%E8%A1%A8%E6%A0%BC%E6%A0%87%E9%A2%98.png)
我想移动换行的表格和标题,我尝试使用 vspace,但它无法移动标题。有什么想法吗?
\documentclass[12pt]{article}
\usepackage{wrapfig}
\usepackage{floatrow}
\floatsetup[table]{capposition=top}
\begin{document}
\section{Section Title}
\begin{wraptable}{r}{7cm} \small
\vspace{-60pt}
\begin{center}
\begin{tabular}{lll} \hline
A & B & C\\ \hline
1 & 2 & 3 \\
\end{tabular}
\end{center}
\vspace{-60pt}
\caption{Caption}
\vspace{-60pt}
\end{wraptable}
\end{document}
答案1
为什么要移动表格?它正好位于段落的开头:
\documentclass[12pt]{article}
\usepackage{wrapfig}
\usepackage{floatrow}
\usepackage{blindtext}
\floatsetup[table]{capposition=top}
\begin{document}
\begin{wraptable}{r}{7cm} \small
\caption{Caption}
\begin{tabular}{lll} \hline
A & B & C\\ \hline
1 & 2 & 3 \\
\end{tabular}
\end{wraptable}
\blindtext
\end{document}