Re: Simple keyboard shortcut
On Sun, Jul 25, 2021 at 08:48:51AM +0300, Baris Erkus wrote: > Could someone explain *step-by-step* how to add a shortcut to insert italic > "i.e." when I press Ctrl+i+e? > Hi Barış, I don't know if it's possible to use that particular key sequence for the shortcut. I tried and it doesn't work for me. In case it's still helpful, I can tell how to use a different key sequence. First let's make sure we get the command-sequence that you want. The general way to do this is written up step-by-step here: http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531 I think the command-sequence you want is the following: command-sequence font-emph; self-insert i.e.; font-emph Copy that command-sequence line (starting with "command-sequence" and ending with the second "font-emph"), then in LyX go to Tools > Preferences > Editing > Shortcuts. Then click on "New". In the box "Function", paste the command-sequence. Then click on the blank rectangle and then press the key sequence you want (unfortunately I think your ideal sequence doesn't work). Then press "OK". I'm sorry I couldn't figure out how to do it with "Ctrl+i+e". It did work for me with "Ctrl + ;". Best, Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How to superscript within a date environment
On 2021-07-25 08:46, Herbert Voss wrote: Am 25.07.21 um 07:22 schrieb Daniel: On 2021-07-25 07:09, Steve Litt wrote: Hi all, On my book, I used the date environment to write "A Troubleshooters.Com(R) book, except I used \textregistered. I wanted the (R) superscripted, and couldn't find ways that didn't involve math. So I finally put the following in ERT (TeX) $^{\footnotesize\textregistered}$ This gave me a "Missing glyphs!" error. foo\textsuperscript\textregistered Herbert Yes, you can solve the error by using textsuperscript. However, entering math mode seems superfluous then. And outside of math mode, you can just use the LyX functionality to achieve the same result as suggested below. Without using math, couldn't you insert a superscript (Insert > Formatting > Superscript) and then \textregistered in ERT (Insert > TeX Code)? Daniel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users