Tag Info

New answers tagged

1

This is not yet a complete answer but I think it may set you on a viable path. We can style each element using StyleBox as follows: boxes = RowBox[{"(", FractionBox[ RowBox[{RowBox[{"(", RowBox[{"a", "+", "b"}], ")"}], SuperscriptBox["c", "d"]}], SqrtBox["e"]], ")"}]; colors = ColorData[54, "ColorList"] boxesNew = Module[{i = 1}, ...


2

When working with Box form you must keep all expressions in Box form; you cannot insert a non-Box-form expression such as EventHandler[. . .] into it and have it remain valid. You must also convert the the EventHandler into Box form, e.g.: EventHandler["a", {"MouseClicked" :> (thing = "clicked")}] // ToBoxes TagBox["\"a\"", ...


5

Ok, let's open new package File -> New -> Package. It was second on my list of Notebooks[]. So: package = Notebooks[][[2]] This is a notebook as any other, it just has different stylesheet ("Package.nb") and we can modify it as any other: SetOptions[ package, { StyleDefinitions -> Notebook[{ Cell[StyleData[StyleDefinitions ...



Top 50 recent answers are included