0

I'm using pweave to write an HTML document. I would like to express a $ sign in text, for example:

Bob has $1, Sally has $2

However pweave thinks that 1, Sally has should be formatted as maths. If I use \$ then it stops the math environment but keeps the \.

4

2 回答 2

0

至少对于 HTML 输出, 产生一个没有垃圾的 $。如果针对 LaTeX,则不确定修复。

于 2018-01-23T00:41:32.943 回答
0

您的示例对我有用,但Bob has $1, Sally has$ 2不起作用...

您可以尝试{\$},\{\$\}或.\textdollar$\textdollar$

于 2018-01-15T15:02:12.910 回答