I find myself doing a lot of writing where I would have to change fonts for certain parts of the text. The obvious example is writing code documentation, where you'd have to reference code frequently, and it's much more readable to write code in a font that distinguishes it from non-code.
In markdown, such as on sites like this one, doing this is super fast and I merely have to use backticks.
Is there some way that I can use backticks or a hotkey to type monospace characters in either LibreOffice Writer or Microsoft Office Word? I don't care if it's only available in one of the two.
It doesn't have to be a hotkey, all I require is that I can use it very quickly while I type instead of having to use the mouse.
Best Answer
Apparently yes! In LibreOffice:
Now, to enable switching to "monospace"/"fixed-width" font, via e.g. Alt-1 shortcut:
To enable easy switching back to "regular" font, repeat above steps, but use e.g. Alt-0 instead of Alt-1, and Function Default Style instead of Source Text.
(Based on a reddit answer to a similar question.)
Hints
And by the way, some related shortcuts available by default, apparently: