New answers tagged

0

Looks like this is a setting you can turn off. There is a similar post here that will probably work for you. I do not have an OSX machine to test this myself. Mathematica steals focus after finishing computation


2

It seems that you can use the StyleBox: StyleBox["boxB", LanguageCategory -> None] (*highlighted*)CellPrint@ Cell[BoxData @ RowBox @ {"boxA", StyleBox["boxB", LanguageCategory -> None]}, "Input"] (*jumps between placeholders works*) CellPrint @ Cell[ BoxData @ RowBox @ { "boxA\[Placeholder]", ...


2

The code you give that produces constant re-evaluation by the front-end can be further reduced to But on my system (I'n running V12.1 on MacOS 10.13.4), there is no freeze. The cell bracket is only saying the cell is busy. Other evaluations can be made while the Manipulate output cell is in the busy state. The evaluation can be stopped by simply deleting ...


0

I don't remember any built-in option for this, so we may need to implement it on our own. SetOptions[ EvaluationNotebook[], CellProlog :> With[ { status = ( SelectionMove[EvaluationNotebook[], Previous, CellGroup, AutoScroll -> False]; NotebookRead[EvaluationNotebook[]][[1,2]] ) ...


2

For future generations, this is how you do it. Place this in your init.m: If[$Notebooks, AppendTo[CurrentValue[$FrontEnd, {CodeAssistOptions, "IncludedCompletions"}], "Blacklisted"]; Begin["CursorSave`"]; SaveCursorPosition[] := ( $LastNotebookObject = EvaluationNotebook[]; $LastCellObject = First @ SelectedCells[$...


4

You can use TemplateBox to control how derivatives are copy/pasted: MakeBoxes[Derivative[n_Integer?(Between[{1,4}])][f_], StandardForm] := With[ {p=StringRepeat["\[Prime]",n], q=StringRepeat["'",n]}, TemplateBox[ {MakeBoxes[f]}, "Derivative1", DisplayFunction->(SuperscriptBox[#1, p, ...


3

One approach is to override Derivative box formatting and use Copy As -> Plain Text MakeBoxes[Derivative[n_Integer][f_], form_] := RowBox[{ToBoxes@f, StringRepeat["'", n]}]


2

Thanks to Kuba for telling me about DevTools`. It is a very neat package. But I did not want to use Ctrl + ' and then Backspace. But the KernelExecute hint helped me find 16165 which showed how to add a command to a shortcut. The jist is, put your function/command in a .m file (no formatting, exactly how it appears in a notebook) then use this syntax in an ...


3

Following the comments under m_goldberg Answer to this question (https://mathematica.stackexchange.com/a/227859) the following code disables the SummaryBox for Polygon only without disabling all elided forms or modifying the protected symbol BoxForm`UseIcons: ClearAll[Region`PolygonDump`summaryBox] Region`PolygonDump`summaryBox[poly_, format_] := ToBoxes[...


1

You can use Manipulate, PopupMenu and InputField as follows: functions = {Total, Min, Max, MinMax, Mean, Median, Commonest, Quartiles}; flabels = {"Suma Datos", "Dato Minimo", "Dato Maximo", "Rango", "Media Aritmetica", "Mediana", "Moda", "Cuartiles"}; fl = Thread[functions -...


2

You can move the cursor between cells, then press and hold SHIFT and select whole cells up or downwards with your arrow keys. If you press DELETE then this will delete the selected cells.


Top 50 recent answers are included