The documentation of the \ref
command states:
\ref ["(text)"]
Creates a reference to a named section, subsection, page or anchor. For HTML documentation the reference command will generate a link to the section. For a section or subsection the title of the section will be used as the text of the link. For an anchor the optional text between quotes will be used or if no text is specified. For LATEX documentation the reference command will generate a section number for sections or the text followed by a page number if refers to an anchor.
With the \ref
command the first argument is the <name>
and a <name>
cannot contain a backtick.
To obtain the requested possibility of a mono spaced link one can for HTML (only!) adjust / extend the used entry in the style sheet.
As a starter:
In the default doxygen stylesheet doxygen.css
we have:
a.el {
font-weight: bold;
}
By changing this entry to e.g.
a.el {
font-family: monospace, fixed;
font-weight: normal;
}
Best is not to redefine the doxygen.css
and give this as setting HTML_STYLESHEET
,
but create a new, extra, stylesheet and specify this in HTML_EXTRA_STYLESHEET
.
Note that this will influence all links not only the \ref
ones.