0

I am writing a table in Latex. A reproducible example is as follows:

\begin{table}
\tbl{RE}
{\begin{tabular}{cc} \toprule
\textbf{Step 1:} & estimate p \\
\addlinespace[1cm]
\textbf{Step 2:} & sample a \\ 
\hline
\end{tabular}}
\tabnote{\textsuperscript{a} $p$=a parameter}
\label{sample-table}
\end{table}

But I got the following error:

"Undefined control sequence: \tbl"

. What is the solution?

  • 2
    Delete \tbl{RE}. – Sigur Jan 31 at 21:01
  • 2
    Welcome to TeX SX! Where did you learn about this command? – Bernard Jan 31 at 21:04
  • @Bernard it came with a journal template. – gultu Jan 31 at 21:05
  • 1
    Is this journal template available online? If so, where? – Mico Jan 31 at 21:06
  • the template (which you have not shown) presumably defined the commands you are using. – David Carlisle Jan 31 at 21:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.