Tag Info

New answers tagged


I believe this is the documentation you are looking for: String Representation of Boxes Notably: And:


These are Operator Input Forms Characters that are not letters, letter‐like forms, or structural elements are treated by the Wolfram Language as operators. The Wolfram Language has built‐in rules for interpreting all operators. The functions to which these operators correspond may or may not, however, have built‐in evaluation or other rules. ... ...


data= Import["http://pastebin.com/raw.php?i=7jJ4e2jW"]; titles = First@data; data = Rest@data; TableForm[data, TableHeadings -> {None, titles}] (*Displays the Table *) (*Do Something with Data*) ArrayPlot[data]


Just an extended comment to the answer of m_goldberg. Without changing the standard settings in Option Inspector: fractionStyle = Style[#, DefaultOptions -> {FractionBoxOptions -> {AllowScriptLevelChange -> False}}] &; HoldForm[1/(1 + 1/x)] // fractionStyle // TraditionalForm An additional advantage using DefaultOptions is i.e. having a list ...


Start with HoldForm[1/(1 + 1/x)] // TraditionalForm which produces the fraction box in reduced size. Now open the output cell with Cmnd+Shift+e and add FractionBoxOptions->{AllowScriptLevelChange->False} at the end. Cell[BoxData[ FormBox[ TagBox[ FractionBox["1", RowBox[{"1", "+", FractionBox["1", "x"]}]], ...


Regarding the plot issue, I tried using HoldForm[x = Stack[_]] as an axis label to capture the stack at the moment of evaluation inside HoldForm. This revealed a problem in a helper function for dealing with units. The function Visualization`Utilities`OptionsDump`unitFormStringQ is applied to the axis labels (in a pattern test). The definition is this: ...


Considering work-arounds, Style and Inactivate seem to work well together. Plot[x , {x, 0, 1}, AxesLabel -> {Style["M", Italic], Style[Inactivate[InputForm[E] = M c^2, (Set | Times)], "TraditionalForm"]}] Inactivating Times keeps M c^2 from being rewritten to c^2 M.


I'm not sure what's going on with HoldForm[InputForm[ℰ]], but I think I know what's going on with Plot. It appears at some point ReleaseHold is called because wrapping HoldForm twice fixes your problem. Plot[x^2, {x, -2, 2}, AxesLabel -> {x, HoldForm[HoldForm[InputForm[E = 1]]]}]


I can't comment on exactly why HoldForm has changed but I believe your examples fall under the purview of the new Active/Inactive functionality. For example: Clear[x]; Plot[Sin[x], {x, 0, 1}, AxesLabel -> {Inactivate[x = 3], Inactive[Set][InputForm[E], 3]}] x Note, however that Inactivate can't be used with InputForm, since you want InputForm to ...


Use value -> label in the list of values: Manipulate[ plot[[n]], {plot, {rawplots -> "foo", weightplots -> "bar", linearizedplots -> "baz"}, PopupMenu} ]


Most likely you merely set to some $FrontEnd options unintentionally. If you can figure out what these options are you can reset them by clicking the X next to the field in the Option Inspector: You can also select as text rather than by category to see a list of all the options that have been changed from the default (manually or otherwise).


In Linux this still works: and even in the official documentation the shortcuts are still listed under Format Menu. This problem seems to be local to your machine.


You need to set CellLabelAutoDelete->False You can do this programmatically: SetOptions[EvaluationNotebook[],CellLabelAutoDelete->False] or set it in your stylesheet.

Top 50 recent answers are included