# Voice command to output “\ref{}” in Dragon Dictate 4

I want to define a voice command that outputs "\ref{}" in Dragon Dictate 4. When I define the following voice command:

the output is:

[blank line]
ef{}


Basically \r is interpreted as a carriage return. How can I escape this? I would prefer a solution that works as the text macro (it should be easy to do it in Automator as a last resort otherwise).

I tried writing \\ref{} as escape character but it didn't work, I get the following:

\
[blank line]
ef{}