Tag Info

New answers tagged

4

I think the better solution that I find so far is shown as below: SetOptions[SelectedNotebook[], PrintingStyleEnvironment -> "Printout", ShowSyntaxStyles -> True]


0

Actually, although the menu entry is gone in version 10 on Mac OS X, I just tried the keyboard shortcut and it seems to work: Pressing AppleOption. brings up the kernel interrupt popup menu, as I did in previous versions.


3

Why not take advantage of the fantastic on-board tool "Slide Show"? Edit I'm using "10.0 for Mac OS X x86 (64-bit) (June 29, 2014)" Slide Show has two Modes. Edit and Presentation. On Menue>Palettes you'll find the Palette Slide Show Just use this Palette to Start, Stop, Create ... Setttings. The Screenshot shows a Slide Show file in some (?) ...


2

The method described in File-name completion for custom functions can be used to complete the "description" argument in your examples, but it won't work for the curried parameters and variables. Note that the method does not appear to support dynamic computation of completion choices, so it cannot be used to generate the list directly from a symbol's ...


3

You can change the Mathematica menu in the way you desire by editing the MenuSetup.tr file, and restarting Mathematica. I make this change each time I get a new version of Mathematica. Of course, this isn't ideal, because it involves making a permanent change to the system, but it does work - just follow the style of the rest of the file. Be careful to ...


1

Under Windows, you select an expression then right-click on it and choose the Speak selection menu item from the contextual menu. The voice used is the one set in the system preferences. Using Speak or SpokenString give you some options, but they do not seem to relate to the Speak Selection Menu Item mentioned above.


2

Mathematica uses the voice set in System Preferences for it's built-in speech functions. It determines that voice when it is launched, so to get it to recognize a new voice preference you have quit and relaunch.


6

To make multiple tables, you should create a style definition for it. The style definitions used in tutorials can be found in the file FileNameJoin[{$InstallationDirectory, "SystemFiles", "FrontEnd", "StyleSheets", "Wolfram", "Reference.nb"}] (Execute it on your machine to find the local file name.) The style you show is called "DefinitionBox3Col". ...


5

Try something like text = { {Style[" option name", Italic], Style["default value", Italic], ""}, {" BackSubstitution", "False", "whether the solutions \ngiven by Reduce..."}, {" Cubics", "False", "whether the...\n"}}; Column[{ Grid[text, Alignment -> Left, Background -> RGBColor[0.92, 0.88, 0.84], Dividers -> {None, {1 ...


4

Context Menu The content of context menus is defined in the ContextMenus.tr in the $InstallationDirectory\SystemFiles\FrontEnd\TextResources folder. It is possible to modify this file within an editor (e.g. Notepad++). In order to get a new context menu item with the functionality you described: First make a backup copy of the original ContextMenus.tr, ...


7

It turned out that the MathematicaClosingDialog.nb is a nice example for a graphical user interface that solely uses the FrontEnd MathKernel. On the downside, one has to deal with low-level code. First I made a copy of the original MathematicaClosingDialog.nb, renamed it as MathematicaClosingDialog_Default.nb, and then imported it into a notebook: nb = ...


15

There is an undocumented file in the installation directory named specialArgFunctions.tr: NotebookOpen @ FileNameJoin @ { $InstallationDirectory, "SystemFiles", "FrontEnd", "SystemResources" , "FunctionalFrequency", "specialArgFunctions.tr" } This file describes in detail how to attach completion actions to each parameter of listed functions. For ...


5

The option GraphicsBoxOptions -> {ImageSize -> 500} can be set for the plot in several ways. (The option PreserveImageOptions is the one that controls what happens when the output cell is replaced. By default, the current size in output cell is preserved.) Stylesheet One can create a new style, say, "LargeImageSize" by editing the stylesheet (menu ...


5

In the meantime, here is a way to repair the gridlines fixGridLines[plot : _Graphics | _Legended] := Module[{xmin, xmax, ymin, ymax}, {{xmin, xmax}, {ymin, ymax}} = Through[{Min, Max}[#]] & /@ Transpose@Cases[plot, {_Real, _Real}, Infinity]; With[{p = plot}, MakeBoxes[p, StandardForm]] /. pat : (GridLines -> ...



Top 50 recent answers are included