1

I want to create a shortcut for a key combination (e.g. Alt+1) for 2 actions:

  • textstyle-update color 17
  • font-bold

I tried to create a shortcut as

textstyle-update color 17; font-bold

but it is not working (for some reason it makes the text invisible in lyx with no effect after compilation).

4
  • 1
    Hi, welcome. For shortcuts with multiple actions, I think you need to prepend the functions with command-sequence, as in for example tex.stackexchange.com/questions/281453 Jul 30, 2020 at 8:57
  • It is working now, thanks alot
    – N4D4V
    Jul 30, 2020 at 9:11
  • @TorbjørnT. I suggest to make an answer.
    – scottkosty
    Jul 30, 2020 at 23:55
  • 1
    @scottkosty Done. Jul 31, 2020 at 16:51

1 Answer 1

1

When making shortcuts that chains multiple actions, the function has to be prepended with command-sequence, so I guess you need

command-sequence textstyle-update color 17; font-bold

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .