Timeline for How to post Mathematica code in StackExchange [duplicate]
Current License: CC BY-SA 3.0
Post Revisions
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 16, 2017 at 15:49 | history | edited | CommunityBot |
replaced http://meta.mathematica.stackexchange.com/ with https://mathematica.meta.stackexchange.com/
|
|
| Apr 22, 2016 at 18:25 | comment | added | S.S. | Thanx for the replies. | |
| Jan 7, 2016 at 3:54 | comment | added | bbgodfrey |
On the other hand, if you have code with complex formatting, convert it to input form by using the Mathematica InputForm command, and then copy and paste the result. This leaves Greek letters to format properly. For many web viewers, use Halirutan's editor. See also my earlier question.
|
|
| Jan 7, 2016 at 3:45 | comment | added | bbgodfrey |
Unless the code has special symbols or formatting, you can just copy it from your notebook and paste it into SE. If it is just a short piece of code, you can include it in a line of text by surrounding it by backquotes, as in x + y. However, it is a longer piece of code or you wish it to stand alone on a line, paste it into a blank line, highlight it, and click the {} symbol about the SE code editor box. (Equivalently, separate it from text by a blank line and indent it four spaces.) In this case, do not surround it by backquotes. Do not surround it by dollar signs unless you want LaTex.
|
|
| Jan 7, 2016 at 3:30 | history | edited | bbgodfrey | CC BY-SA 3.0 |
corrected spelling and grammar
|
| Jan 7, 2016 at 0:11 | comment | added | m_goldberg |
@S.S. I don't know where you saw you should the enclose code you copy from a notebook in \$ \$, but that is wrong and don't do it.
|
|
| Jan 7, 2016 at 0:10 | history | edited | m_goldberg | CC BY-SA 3.0 |
Major clean-up
|
| Jan 6, 2016 at 23:57 | history | edited | m_goldberg | CC BY-SA 3.0 |
added 8 characters in body
|
| Jan 6, 2016 at 15:21 | comment | added | S.S. | Please look at my question, because I added. | |
| Jan 6, 2016 at 15:09 | history | edited | S.S. | CC BY-SA 3.0 |
deleted 1 character in body
|
| Jan 6, 2016 at 14:37 | review | Reopen votes | |||
| Jan 11, 2016 at 10:28 | |||||
| Jan 6, 2016 at 14:18 | history | edited | S.S. | CC BY-SA 3.0 |
deleted 1 character in body
|
| Jan 6, 2016 at 13:46 | history | closed |
Karsten7 Szabolcs rm -rfMod |
Duplicate of How to copy code from Mathematica so it looks good on this site | |
| Jan 6, 2016 at 13:23 | review | Close votes | |||
| Jan 6, 2016 at 13:58 | |||||
| Jan 6, 2016 at 11:31 | history | migrated | from mathematica.stackexchange.com (revisions) | ||
| Jan 6, 2016 at 10:46 | comment | added | S.S. | Let me try here, I convert the equation to : Raw InputForm, then past here between \$ $: $eq1[zz_, [Beta]_] := 2*Subscript[[Lambda], 1]*v1[[Beta]]^2 + 4*Subscript[[Lambda], 2]*v2[[Beta]]^2} $ or \{} {eq1[zz_, [Beta]_] := 2*Subscript[[Lambda], 1]*v1[[Beta]]^2 + 4*Subscript[[Lambda], 2]*v2[[Beta]]^2} | |
| Jan 6, 2016 at 10:17 | comment | added | user9660 | Welcome to Mathematica.SE! 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! | |
| Jan 6, 2016 at 9:52 | history | asked | S.S. | CC BY-SA 3.0 |