Tag Info

New answers tagged


HoldForm also can do the job: Framed[TraditionalForm [HoldForm[MyEquation = 1/Sqrt[1 - x^2]]], Background -> Yellow] Result:


The workaround is to put an \[InvisibleSpace] between the degree symbol and the C. Plot[x, {x, 0, 1}, FrameLabel -> {"x", "temperature / \[Degree]\[InvisibleSpace]C"}, Frame -> True] Note that the ImagePadding isn't very good in this case, but the C does indeed have the right baseline.


You can control this using the LineIndent option: Grid[tableText[[All, 7 ;; 9]], (* smaller table for example *) Frame -> All, ItemStyle -> {FontSize -> 10, LineIndent -> 0, {Bold}}, ItemSize -> {{5, 15, {6}}} ] Related: How to make a style for paragraphs with hanging indents


The problem appears to be due to a v10.2 bug in the Dataset visualization code that generates the box form of a dataset. It is not correctly distinguishing between Dataset being used as a constructor function and Dataset being used as the head of a constructed dataset. It assumes the latter case unconditionally, giving the exhibited messages for the former ...


A work around seems to be to not have Dataset as the first Head encountered... toDataset[table_List]:=Dataset@@{Association/@(Function[r,Thread[First[r]->#]&/@Rest[r]]@table)}; So the first Head the parser sees is Apply and not Dataset.


I think the problem in your first line of code is that you're trying to set v to a structure which contains v, hence the recursion issue. Mathematica is indeed able to differentiate variables of the same letter and different subscripts. Note Subscript[v, x] == Subscript[v, y] evaluates False and Subscript[v, x] = 5; Subscript[v, y] = 4; Subscript[v, x] ...


You can specify upvalues for any symbol. Try defining one on h as follows: h /: D[h[r_], r_] := 0 UpValues[h] As a result D[h[x], x]==0 (* True *)



Top 50 recent answers are included