latex: dollar $ sign within lstlising

倖福魔咒の 提交于 2019-12-04 14:23:12

You have a missing backslash. Try:

prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}}

It was the \hookleftarrow outside of math mode that was causing the error.

Use this:

CTRL_WD_12      equ     \$303400
CTRL_WD_34      equ     \$220000
CTRL_WD_56      equ     \$000000
CTRL_WD_78      equ     \$000000

The rule is: if something is a special character, like $ is, a backslash \ usually escapes it without problems.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!