Skip to main content
replaced http://meta.mathematica.stackexchange.com/ with https://mathematica.meta.stackexchange.com/
Source Link

How do I post Mathematica code in StackExchange properly? I read some instructions that told me I should copy the Mathematica code from the Mathematica notebook with Copy as > Plain text or Copy as > Input text, paste into the SE code editor pane, and put it between $ $,

When I did this I still did not get well-formated equations. For example, I got:

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 $

So what did I miss?

Actually I still haven't found an answer. I followed the instruction in http://meta.mathematica.stackexchange.com/questions/1584/how-to-copy-code-from-mathematica-so-it-looks-good-on-this-siteHow to copy code from Mathematica so it looks good on this site

I did the following for a Mathematica cell that I wanted to post Mathematica.SE site. I convert the contents of the cell to Raw InputForm and then pasted intp SE editor between \$ $, like

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 $

Nothing, so I also tried to put between { }, like

{eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 }

So I'm afraid I didn't understand the instructions in the referred post.

How do I post Mathematica code in StackExchange properly? I read some instructions that told me I should copy the Mathematica code from the Mathematica notebook with Copy as > Plain text or Copy as > Input text, paste into the SE code editor pane, and put it between $ $,

When I did this I still did not get well-formated equations. For example, I got:

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 $

So what did I miss?

Actually I still haven't found an answer. I followed the instruction in http://meta.mathematica.stackexchange.com/questions/1584/how-to-copy-code-from-mathematica-so-it-looks-good-on-this-site

I did the following for a Mathematica cell that I wanted to post Mathematica.SE site. I convert the contents of the cell to Raw InputForm and then pasted intp SE editor between \$ $, like

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 $

Nothing, so I also tried to put between { }, like

{eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 }

So I'm afraid I didn't understand the instructions in the referred post.

How do I post Mathematica code in StackExchange properly? I read some instructions that told me I should copy the Mathematica code from the Mathematica notebook with Copy as > Plain text or Copy as > Input text, paste into the SE code editor pane, and put it between $ $,

When I did this I still did not get well-formated equations. For example, I got:

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 $

So what did I miss?

Actually I still haven't found an answer. I followed the instruction in How to copy code from Mathematica so it looks good on this site

I did the following for a Mathematica cell that I wanted to post Mathematica.SE site. I convert the contents of the cell to Raw InputForm and then pasted intp SE editor between \$ $, like

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 $

Nothing, so I also tried to put between { }, like

{eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 }

So I'm afraid I didn't understand the instructions in the referred post.

corrected spelling and grammar
Source Link
bbgodfrey
  • 63.2k
  • 1
  • 16
  • 16

How do I post Mathematica code in StackExchange propaplyproperly? I read some instructions that told me I should copy the Mathematica code from the Mathematica notebook with Copy as > Plain text or Copy as > Input text, pastpaste into the SE code editor pane, and put it between $ $,

When I did this I still did not get well-definedformated equations. For example, I got:

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 $

So what did I miss?

Actually I still don't haven't found an answer. I followed the instruction in: http://meta.mathematica.stackexchange.com/questions/1584/how-to-copy-code-from-mathematica-so-it-looks-good-on-this-site

I did the following for a Mathematica cell that I wanted to post Mathematica.SE site. I convert the contents of the cell to Raw InputForm and then pasted intp SE editor between \$ $, like

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 $

Nothing, so I also tried to put between { }, like

{eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 }

So I'm afraid I didn't understand the instructions in the referred post.

How do I post Mathematica code in StackExchange propaply? I read some instructions that told me I should copy the Mathematica code from the Mathematica notebook with Copy as > Plain text or Copy as > Input text, past into the SE code editor pane, and put it between $ $,

When I did this I still did not get well-defined equations. For example, I got:

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 $

So what did I miss?

Actually I still don't haven't found an answer. I followed the instruction in: http://meta.mathematica.stackexchange.com/questions/1584/how-to-copy-code-from-mathematica-so-it-looks-good-on-this-site

I did the following for a Mathematica cell that I wanted to post Mathematica.SE site. I convert the contents of the cell to Raw InputForm and then pasted intp SE editor between \$ $, like

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 $

Nothing, so I also tried to put between { }, like

{eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 }

So I'm afraid I didn't understand the instructions in the referred post.

How do I post Mathematica code in StackExchange properly? I read some instructions that told me I should copy the Mathematica code from the Mathematica notebook with Copy as > Plain text or Copy as > Input text, paste into the SE code editor pane, and put it between $ $,

When I did this I still did not get well-formated equations. For example, I got:

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 $

So what did I miss?

Actually I still haven't found an answer. I followed the instruction in http://meta.mathematica.stackexchange.com/questions/1584/how-to-copy-code-from-mathematica-so-it-looks-good-on-this-site

I did the following for a Mathematica cell that I wanted to post Mathematica.SE site. I convert the contents of the cell to Raw InputForm and then pasted intp SE editor between \$ $, like

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 $

Nothing, so I also tried to put between { }, like

{eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 }

So I'm afraid I didn't understand the instructions in the referred post.

Major clean-up
Source Link
m_goldberg
  • 108.7k
  • 1
  • 29
  • 57

How todo I post MathematicaMathematica code in StackExchange propaply  ? I read some constructions before tellinstructions that told me I should to Copycopy the Mathematica Mathematica code from the Mathematica Notebook As -> Mathematica notebook with Copy as > Plain text or InputCopy as > Input text, then I past into herethe SE code editor pane, and put it between $ $,

When I did this I still did not get well defined-defined equations, for. For example, I got:

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 $

So what did I missedmiss?

Actually I still don't findhaven't found an answer,. I followed the instruction in: http://meta.mathematica.stackexchange.com/questions/1584/how-to-copy-code-from-mathematica-so-it-looks-good-on-this-site

I madedid the following for the Mathematicaa Mathematica cell i wantthat I wanted to post here: convert to ->Mathematica.SE site. I convert the contents of the cell to Raw InputForm then past in and then pasted intp SE. editor between $ $\$ $, like

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 $

nothingNothing, so I also i tried to put between {}{ }, like

{eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 }

So I'm afraid iI didn't getunderstand the instructions in the referred post.

How to post Mathematica code in StackExchange propaply  ? I read some constructions before tell that I should to Copy the Mathematica code from the Mathematica Notebook As -> Plain text or Input text, then I past into here and put between $ $,

When I did this I still did not get well defined equations, for example I got:

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 $

So what I missed

Actually I still don't find an answer, I followed the instruction in: http://meta.mathematica.stackexchange.com/questions/1584/how-to-copy-code-from-mathematica-so-it-looks-good-on-this-site

I made the following for the Mathematica cell i want to post here: convert to -> Raw InputForm then past in SE. between $ $, like

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 $

nothing, also i tried to put between {}, like

{eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 }

So I'm afraid i didn't get the instructions in the referred post.

How do I post Mathematica code in StackExchange propaply? I read some instructions that told me I should copy the Mathematica code from the Mathematica notebook with Copy as > Plain text or Copy as > Input text, past into the SE code editor pane, and put it between $ $,

When I did this I still did not get well-defined equations. For example, I got:

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 $

So what did I miss?

Actually I still don't haven't found an answer. I followed the instruction in: http://meta.mathematica.stackexchange.com/questions/1584/how-to-copy-code-from-mathematica-so-it-looks-good-on-this-site

I did the following for a Mathematica cell that I wanted to post Mathematica.SE site. I convert the contents of the cell to Raw InputForm and then pasted intp SE editor between \$ $, like

$ eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 $

Nothing, so I also tried to put between { }, like

{eq1[zz_, \[Beta]_] := 2*Subscript[\[Lambda], 1]*v1[\[Beta]]^2 + 2*Subscript[\[Lambda], 2]*v2[\[Beta]]^2 }

So I'm afraid I didn't understand the instructions in the referred post.

added 8 characters in body
Source Link
m_goldberg
  • 108.7k
  • 1
  • 29
  • 57
Loading
deleted 1 character in body
Source Link
S.S.
  • 360
  • 1
  • 3
Loading
deleted 1 character in body
Source Link
S.S.
  • 360
  • 1
  • 3
Loading
Post Closed as "Duplicate" by Karsten7, Szabolcs, rm -rfMod
Post Migrated Here from mathematica.stackexchange.com (revisions)
Source Link
S.S.
  • 360
  • 1
  • 3
Loading