New answers tagged

4 votes
Accepted

How can I keep the form when I use Expand[2a+3b]^5 and apply to all elements of a list?

One way of many myex = (x + y)^5 e = myex /. {x -> HoldForm[2 a], y -> HoldForm[3 b]} Expand[e] Expand@ReleaseHold[e] For formatting, you could use ...
Nasser's user avatar
  • 142k
1 vote

How can I create some versions of exercises and get the LaTeX file?

Question Challenge: Non-Mathematica Answer. I hope this is not against the rules of the site, but I suggest that the best tool for this job is not Mathematica. If you can compile in LuaLaTeX, the <...
confusedandbemused's user avatar
5 votes
Accepted

How can I create some versions of exercises and get the LaTeX file?

(edit: added simplification if needed) This output is generated by this code (note: code is written in CODE cell (not INPUT) cell). To copy please copy to code cell, else it will get mis-formatted). ...
Nasser's user avatar
  • 142k
4 votes
Accepted

What is wrong with this code to convert all elements of a list to a LaTeX file?

The main problem you had is that you used ToString[expr] Where expr was math. This is a no-no. When you have ...
Nasser's user avatar
  • 142k
6 votes
Accepted

How can I convert a list containing three points and its equation passing three points to text file?

This code generates this PDF Code ...
Nasser's user avatar
  • 142k
7 votes
Accepted

How can I convert the code from Mathematica to text and put it in enumerate like this?

...
Nasser's user avatar
  • 142k

Top 50 recent answers are included