How to use Math Variables amidst text in Writer?

I forgot to mention: my previous answer refers to ‘Writer’!