I'm trying to find the name of the function : Insert -> formatting -> Page Break

So i can set it as a shortcut from preferences ->Editing->shortcuts->new. But in order to do that i need the function name, and i can't seem to find it online.

Anyone knows?

  • \newpage. is that what youre looking for? – Seamus Dec 13 '12 at 10:38
  • Nope. When you try to make a new shortcut it's asks for the function name. I tried 'newpage' and '\newpage' both were invalid names – oopsi Dec 13 '12 at 10:41
  • Have you tried \clearpage? – Brent.Longborough Dec 13 '12 at 10:50
  • Not working as well. – oopsi Dec 13 '12 at 10:59
  • So, you are trying to get a keyboard shortcut for a TeX macro, is that right? LyX is telling you that \newpage and \clearpage are invalid names? – Seamus Dec 13 '12 at 11:08

Go to the menubar and press

Tools | Preferences | Editing | Shortcuts

In the window that has popped up, enter newpage in the field called Show key-binding containing. In the window below, you will see a function called


Highlight this and press Modify. In the window that pops up, you can enter your favorite shortcut (I have used Alt+Shift+N).

Press Apply first and then Save, and you should be done.

Works for me under Linux with LyX 2.0.4.

  • Great Thanks! Any chance you know the function name for : vertical space? – oopsi Dec 13 '12 at 12:58
  • Sorry I don't but maybe this could give you some ideas – vaettchen Dec 13 '12 at 15:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.