CAS: force latex to write unevaluated expression?

09272017, 07:00 PM
Post: #1




CAS: force latex to write unevaluated expression?
As I currently am looking inside Latex a little bit, I stumbled upon writing a comment here using nice looking format and the prime refused to give me \[\int_a^1 \! \frac{1}{x^{n}} \, \mathrm{d}x\] instead it evaluated the integral. Is there a possibility to make it provide the integral without evaluation, perhaps a second parameter of the latex command (0:evaluate, may be default value and 1: don't)?
Arno 

09272017, 09:15 PM
Post: #2




RE: CAS: force latex to write unevaluated expression?
Try putting the argument in singlequote marks:
latex(2^3) > "8" latex('2^3') > "2^{3}" X<> c Joe 

09272017, 09:50 PM
Post: #3




RE: CAS: force latex to write unevaluated expression?
Thank you.
Arno 

« Next Oldest  Next Newest »

User(s) browsing this thread: 2 Guest(s)