Tag Info

New answers tagged

5

Stealing Lou's example, you can add a couple of options: CreateDocument[ Manipulate[ Plot[Sin[x (1 + a x)], {x, 0, 6}, ImageSize -> Full], {a, 0, 2}], CellMargins -> 0, ShowCellBracket -> False, WindowSize -> Full] If you want those options to be always valid, you can put SetOptions[EvaluationNotebook[],...] into ...


13

Yes, it can be easily implemented with FrontEndExecute, e.g.: SetOptions[EvaluationNotebook[], NotebookEventActions -> {{"MenuCommand", "Save"} :> Print["HEY"], PassEventsDown -> True}]; You can insert any code instead of Print command


4

Yes, it is possible. Evaluate $InstallationDirectoryand from there open the directory $InstallationDirectory\SystemFiles\FrontEnd\StyleSheets. Make there a folder, say, entitled "Custom" and place your favorite StileSheets into this folder. Done. The folder will appear in the Menu/Format/StileSheet. Later edit: One another way is as follows: go to ...


0

The bugs/problems described in the question seem to have been (at least partially) solved in Mathematica 10.0 on Windows 8.1. The following three testing characters, "𠃬"(U+200EC), "𪵯"(U+2AD6F), "𫞹"(U+2B7B9), are randomly selected from the CJK Unified Ideographs Extension B block, C block and D block Nothing is broken in the kernel nor the FrontEnd. So ...


1

Motivated by the same concerns, I wrote the following code and added it to my init.m file. There are two main entries you'll want to change to use this. The global variable $SwapDirectory is where the swap files are saved (by swap file, I mean it in the VIm sense; an "extra" copy of your notebook, separate from your manually saved copy that periodically ...


3

Motivated by the same concerns, I wrote the following code and added it to my init.m file. There are two main entries you'll want to change to use this. The global variable $SwapDirectory is where the swap files are saved (by swap file, I mean it in the VIm sense; an "extra" copy of your notebook, separate from your manually saved copy that periodically ...


1

Motivated by the same concerns, I wrote the following code and added it to my init.m file. There are two main entries you'll want to change to use this. The global variable $SwapDirectory is where the swap files are saved (by swap file, I mean it in the VIm sense; an "extra" copy of your notebook, separate from your manually saved copy that periodically ...


-1

I solved it by installing windows updates (.NET mainly :)) )


3

You need the values of the options "WindowTitle" and "ModifiedInMemory". These can be obtained using the function NotebookInformation. For notebooks that have not been modified since the last save the value of the option "ModifiedInMemory" is True. So, you can do: {"WindowTitle", "ModifiedInMemory"} /. (NotebookInformation /@ Notebooks[]) to get all the ...


2

From Mathematica version 9 onward, the following expressions are possible... To delete the current cell: NotebookDelete[EvaluationCell[]] To replace the current cell with a text cell: NotebookWrite[EvaluationCell[], Cell["New Content", "Text"]] To replace the current cell with an input cell containing an arbitrary expression: ...


1

Self-deleting cell with output: Print@"arbitrary output"; SelectionMove[EvaluationNotebook[], All, EvaluationCell]; SelectionMove[EvaluationNotebook[], All, CellGroup]; NotebookDelete[]; Modifying an input cell: Print@"arbitrary text"; SelectionMove[EvaluationNotebook[], All, EvaluationCell]; SelectionMove[EvaluationNotebook[], Before, CellContents]; ...


0

Ok, I can't paste screenshot in comments, so just post an answer. This is classical scheme in win xp: It's on my virtual machine, where mathematica is not installed, but still. Yes, I agree in win7 it will look slightly different.


7

NOTE: I forgot about this. Apparently, the following should (presumably) be the way to change these settings, but the actual feature has not been implemented yet. You can change this using UndoOptions. To go back to version 9 behavior, use this: SetOptions[EvaluationNotebook[], UndoOptions -> {"MaxLength" -> 1, "RememberEvaluations" -> ...


1

It doesn't seem to happen on Mma v9 WinXP. The Virtual size increases, but only once: Initial state: After generating one image: After deleting the first image from the front end: After generating a second image: After deleting the second image:


0

I never did what you are trying to do. However, I added an add-on to the init.m file in order to always load it up together with Mma. I used then the init.m file situated here: ~\Wolfram Research\Mathematica\10.0\SystemFiles\Autoload\PacletManager\Kernel. May be you could try this. Please let me know, if you succeed.


3

I think when you press = over ≠, the underlying RowBox-es got re-grouped (which is a correct move), but somehow didn't re-group again when finishing input =!=. I don't know if the FrontEnd is supposed to re-parse code every 1/n second, but it does look like a bug to me. One possible workaround: Select the cell, from the Edit menu, Copy As Plain Text, paste ...


0

1. What about a custom toolbar : bTitle = Button["Title", FrontEndTokenExecute["Style", "Title"]]; bSection = Button["Section", FrontEndTokenExecute["Style", "Section"]]; To create a new notebook with an extra toolbar : CreateWindow[DockedCells -> Cell[BoxData[ToBoxes[Grid[{{bTitle, bSection}}]]], "DockedCell"]]; Or, to display the toolbar in the ...


0

Consider any of following alternatives to the way you are currently creating new cells. A normal input cell is the default style for most style sheets, so normally all you have to do for normal input is place the cursor where you want the new cell to be and start typing. You can also use the context menu (right-click) to select any style with one ...


0

Is there a particular reason you're creating new cells this way? I cannot answer your specific question but here are a couple of faster alternatives: If you have clicked where you want the new cell to appear, choose from the Format -> Style menu the type of cell you want. In my experience, it is even faster to memorize the keyboard shortcuts for the few ...



Top 50 recent answers are included