Re: \warning - customize the "Warning" text ?

Clemens Feige <[email protected]>
Newsgroups gmane.text.doxygen.general
Organization Osypka Medical
Message-ID <[email protected]>
Monique Semp wrote on 22.09.2016 at 01:02:
> Hello, Doxygen users,
>
> (Doxygen 1.8.10, Windows 7)
>
> Is there a way to create in essence an alias for the \warning command?
> I’m looking to create a “Memory Usage” style for flagging memory issues,
> and it’d be ideal if I could simply change the “Warning” label/text to
> say, “Memory Usage”. (And bonus if I could change the red color to some
> other color.)
>
> One method is to use the \xrefitem and alias to customize the output
> text and styling, but I haven’t found a way to omit the consolidated
> page (the one that lists all the \xrefitem instances) from the output.
> And I don’t want a consolidated page of all “memory usage” notes.
>
> Thanks,
> -Monique

Hello Monique


If you like to omit the auto-generated consolidated page (created by 
\xrefitem), then all you want seems to be a simple paragraph with 
headline "Memory Usage", do you?

Then just make your own \memory (or @memory) command, as explained in 
the comments inside the configuration file:

ALIAS = "memory=@par Memory Usage:\n"


Clemens

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.