版权声明:本文为博主原创文章,未经博主允许不得转载。转载时请附上转载链接。 https://blog.csdn.net/qq_41009742/article/details/80937943
在LaTeX中制作表格出现misplaced \noalign. \hline,\bottomrule,\midrule等错误
解决方式:制作三线表格等的表格横线时,我们需要在\hline,\bottomrule,\midrule等命令之前加上双反斜杠”\\”。
代码示例:
\begin{tabular}{l}
\toprule
\textbf{Algorithm 1}{} Experience replay \textbf{RL}\\
\hline
%\midrule
\textbf{Input:}{} underlyingRL algorithm LEARN,\\
\bottomrule
\end{tabular}
结果演示:
参考链接:(需要翻墙)
https://tex.stackexchange.com/questions/109206/misplaced-noalign