0

I basically copy pasted an example from here Yet it won't compile. I would really appreciate some help here

\documentclass{article}
\usepackage{array}
\begin{document}
\begin{tabular}%
{>{\ttfamily\char‘\\}c>{$}c<{$}}
\multicolumn{1}{c}{Command} &
\multicolumn{1}{c}{Symbol}\\
\hline
alpha & \alpha\\
beta & \beta\\
gamma & \gamma
\end{tabular}
\end{document}

Yet it won't compile with an error message as described in the title. What did I do wrong

2

You have used that is U+2018 instead of an ascii ` however you could have used \textbackslash rather than the \char construct.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.