In OpenOffice.org, go to the Insert menu, and click on Special Character...
In vim, make sure you have this in your .vimrc:
set digraph
Then, when writing a document, in command mode enter :digraph to see a table of digraphs which consist of two numbers/letters/symbols seperated by a backspace.
The Registered Trademark symbol is R <backspace> g.
|