Post Reply 
CAS: force latex to write unevaluated expression?
09-27-2017, 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
Find all posts by this user
Quote this message in a reply
09-27-2017, 09:15 PM
Post: #2
RE: CAS: force latex to write unevaluated expression?
Try putting the argument in single-quote marks:

latex(2^3) --> "8"
latex('2^3') --> "2^{3}"

X<> c
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
09-27-2017, 09:50 PM
Post: #3
RE: CAS: force latex to write unevaluated expression?
Thank you.
Arno
Find all posts by this user
Quote this message in a reply
Post Reply 




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