Why do I get a "Misplaced \noalign" error message when I use \hline outside the tabular environment?
Code: Select all
\begin{document}
\hline
Hello, \TeX{}-perts!
\hline
\end{document}
Thx.
Code: Select all
\begin{document}
\hline
Hello, \TeX{}-perts!
\hline
\end{document}
It is simply not allowed to use this command outside a tabular environment. Replace \hline with \hrule and it will work.evlabiba wrote:[...] Why do I get a "Misplaced \noalign" error message when I use \hline outside the tabular environment? [...]