Message Boards Message Boards

0
|
1913 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

How to assign a keyboard shortcut to a style?

Posted 1 year ago

I want to assign a keyboard shortcut, say "Shift+Ctrl+I", to apply the style "InlineFormula" to the current selection. (I have changed this style, but this does not matter here).

I know that this is possible by modifying the "KeyEventTranslations.tr"- file of my Wolfram installation or copy and modify it and store it in my $UserBaseDirectory. I have even found a complete package "Shortcuts" for many additional shortcuts. But this seems to be overkill for my simple purpose.

Is there some simple WL-expression, a KeyEventHandler or the like, which I can use for my purpose?

POSTED BY: Werner Geiger

I use the style chooser key Alt+0 . The chosen style remains active, so you only need to confirm the Ok button by Enter. It's the shortest way to input sequnces of numbered equations or items.

POSTED BY: Roland Franzius
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract