Tag Info

New answers tagged

0

In OS X, I have not been able to reproduce your problem. But on Windows I use: Alt + 93 to insert ] when I need it. It is slower but it works. You just need to press numbers on Numeric Pad. I hope your laptop have one or if not use Fn to access a virtual numPad. Here is a guide of other codes and here is a Wikipedia article explaining it. Lets hope ...


1

This points out that Legended is typeset instead of evaluated in the kernel evaluation time. The evidence is in that InputForm[p] still contains two Legendeds and the graphics only one. This is what you need: Show[ListPlot[Range[10], PlotLegends -> {"a"}, PlotStyle -> Red], ListPlot[Range[10] + 2, PlotLegends -> {"b"}, PlotStyle -> Blue]] ...


1

One way to do what it seems me you would like to is to use the InputAliases function by evaluating in your notebook the following expression: SetOptions[InputNotebook[], InputAliases -> {"ind" -> "Evaluate[Indexed[\[SelectionPlaceholder],\[Placeholder]]]"}] After that as soon as you type Esc+ind+Esc placeholders to type in an indexed ...


4

You could use a Palette: CreatePalette @ PasteButton @ Indexed[\[SelectionPlaceholder], \[Placeholder]] Or an Input Alias: AppendTo[ CurrentValue[$FrontEndSession, "InputAliases"], "idx" -> TemplateBox[{"\[SelectionPlaceholder]", "\[Placeholder]"}, "IndexedDefault"] ] For a system-wide keyboard shortcut you can copy KeyEventTranslations.tr from ...


4

Here is a quick pass at a Palette that does this. The same commands could be used for keyboard commands in KeyEventTranslations.tr. This is not rigorously written or tested so be careful with it. mover[label_, c_List] := Button[label, With[{nb = SelectedNotebook[]}, (NotebookWrite[nb, #2]; SelectionMove[nb, Previous, Cell]) &[ ...


2

Here is the answer given by Rolf Mertig that includes many additional shortcuts. One of them Ctrl+T, evaluates whatever is stored in joker.m file (invoked by Ctrl+R). There are already two examples, coincidentally the second one is exactly what you need! Ok, so briefly: Get["http://www.mertig.com/shortcuts.m"] reset Mathematica use Ctrl+R to open ...



Top 50 recent answers are included