TransWikia.com

Create 1 shortcut for 2 actions

TeX - LaTeX Asked by N4D4V on October 21, 2020

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).

One Answer

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

Correct answer by Torbjørn T. on October 21, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP