Unfortunately the user-created keyboard shortcuts are not toggling.
However, if you accept to use Writer the way it should (no offence intended and all the more if you’re switching from M$ Word), you can workaround this difficulty and benefit from a huge improvement.
Writer is based on the use of styles. Styles are a set of formatting parameters grouped under a name. There are paragraph, character, frame, page and list styles. When you select a style, the parameters immediately apply to the object (paragraph, character, frame or page) selected. When there is no selection, it will apply to the subsequently typed characters (character style).
In your case, you need to create a character style for small capitals.
- Show the style side pane with
F11
or Styles
>Manage Styles
- Click on the second icon in the toolbar (the one with an A – character styles)
- Right-click on the white area after the list and
New
- In the
Organizer
tab, give it a name like SmallCaps
- In
Font
select a small cap font face or in Font Effects
, Effects section, select Small capitals
from the Case menu
After that, create a shortcut for this style in Tools
>Customize
, Keyboard
tab, Category Styles>Character. Choose a free key and select your SmallCaps style.
As said above, user shortcuts are not toggling. Consequently, create another shortcuts for character style Default Style. CAUTION! There are also Default Style’s in paragraph and page categories. Take care to select the right one.
I recommend you download the Writer Guide and read the chapters about styles. This will give you clues to automate your typing.
To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!
In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.