Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Adding a key binding for a Style

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70911] Adding a key binding for a Style
  • From: "David Bakin" <davidbak at gmail.com>
  • Date: Wed, 1 Nov 2006 03:55:54 -0500 (EST)

Certain of the styles (section, subsection, text, etc.) have key bindings
(under windows: Alt-1, Alt-2, etc.).  I'd like to add a keybinding for a
different specific style (input).

I've learned about KeyEventTranslations.tr and MenuSetup.tr from the
mathgroup archives, however I have a problem:  The key bindings for the
styles aren't in there!  Instead in the style menu there's an item "Start
Cell Style Names" and apparently this part of the menu is filled in
programatically.

I also looked inside of the default stylesheet (under
FrontEnd/StyleSheets/Default.nb) but didn't see anything that looked like a
key binding.

So:  is this possible?  and if so how?

Thanks!  -- Dave

(Thanks to everyone who answered my previous question - which was answered
(properly) by referring me to the documentation on Hold, HoldFirst, etc.  I
didn't thank you then because I was embarrassed that I missed understanding
such an obvious point.)



  • Prev by Date: RE: FindRoot, suppressing complex interval-numbers
  • Next by Date: Re: Curiosity concerning transformation rules for List
  • Previous by thread: Re: FindRoot, suppressing complex interval-numbers
  • Next by thread: RE: Adding a key binding for a Style