I was previously using 3 columns. I switched to 2 columns, formatted everything to fit, and the table broke.
I cannot find a way to fix it, can someone help me to find and solve the issue?
Minimal Reproducible Example (compiled with Overleaf):
\documentclass{article}\usepackage{caption}\usepackage{float}\usepackage{array}\newcolumntype{L}[1]{>{\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}\newcolumntype{C}[1]{>{\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}\newcolumntype{R}[1]{>{\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}\renewcommand\arraystretch{1.5}\author{mikyll}\title{test}\begin{document}\maketitle\section{Introduction}\begin{table}[H] \centering \begin{tabular}{ |p{0.2\linewidth}|p{0.7\linewidth}| } \hline \centering{\textbf{Feature}} & \centering{\textbf{Description}}\\ \hline CORS control & test\\ \hline Rate Limiting & test \\ \hline \end{tabular} \caption{API Gateway Requirements.} \label{tab:api-gateway-requirements}\end{table}\end{document}
Result:
Error:
31: Misplaced \noalign32: Extra alignment tab has been changed to \cr.