我有一张想要旋转的桌子。我在 Stack Exchange 上查了一下,并使用了一个包rotating
\begin{sidewaystable}
\begin{table}[hbt!]
\vspace{-0.1in}
\centering
\caption{Routing Function Table for HopliteRT. PE injection has lowest priority and will stall on conflict. PE$\rightarrow$E + W$\rightarrow$S is not supported to avoid an extra select signal driving the multiplexers and doubling LUT cost by preventing fracturing a 6-LUT into 2$\times$5-LUTs.}
\label{routing-table-rt.tbl}
\begin{tabular}{llll}
\hline
\toprule
\multicolumn{2}{l}{{\bf Mux select}} & {\bf Routes} & {\bf Explanation} \\
\cmidrule{1-2}
{\bf sel1} & {\bf sel0} & & \\
\midrule
0 & 0 & W$\rightarrow$E + N$\rightarrow$S & Non-interfering \\
0 & 1 & W$\rightarrow$S + N$\rightarrow$E & Conflict over S (Not supported in Hoplite)\\
1 & 0 & PE$\rightarrow$E + N$\rightarrow$S & No W packet \\
1 & 1 & PE$\rightarrow$S + W$\rightarrow$E & No N packet (Not possible in Hoplite) \\
\bottomrule
\end{tabular}
\end{table}
\end{sidewaystable}
但我收到了一条错误消息LaTex Error: Not in outer par mode
答案1
来自rotating
文档:
环境
sidewaystable
和分别sidewaysfigure
引入景观形式的浮动tables
和figures
。
因此,如果您想获得旋转的浮动表,则sidewaystable
旨在替换环境,而嵌套这些浮动环境将导致所述错误。如果您从代码中删除环境,它将按预期工作。table
table