How is the Keyboard font automatically styled as keyboard-like keys for the letters in Alt, Shift, Ctrl, Esc, and Backspace?

倖福魔咒の 提交于 2019-12-11 19:26:45

问题


I was creating a quick-reference reminder card for how to soft-reboot a frozen Linux computer (Alt+SysRq+r+e+i+s+u+b) in LibreOffice v6.2.4.2. I chose the "Linux Biolinum Keyboard" font and started typing in individual letters. Examples:

So far so good!

When I went to add the Alt and SysRq keys to the beginning, I got a nice surprise:

The letters "A", "l", "t", automatically changed to "Alt", styled in a single box just like the Alt key itself, rather than three individual boxes. Similarly for "Shift", "Enter", "Backspace", "Ctrl", "Tab", "Home", "Esc", and others.

How the heck does this work? I didn't find anything relevant under Tools → Autocorrect nor Tools → Auto Text nor Insert → Special Characters.

If I could figure out how it works I could fix the broken "SysRq" key... those letters typed in don't reform into a single box. There are a few more that don't seem to work: "Caps Lock", "PgUp", and "PgDn".

Note in the Markdown for this post (above) I used the HTML <kbd> element to create sequences of characters styled like keys on a keyboard.

Please speak up if this should be posted on some other site in the stackexchange universe.

来源:https://stackoverflow.com/questions/56613006/how-is-the-keyboard-font-automatically-styled-as-keyboard-like-keys-for-the-lett

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!