Re: [Doxygen-users] \warning - customize the "Warning" text ?
Brought to you by:
dimitri
From: Clemens F. <c....@os...> - 2016-09-22 08:12:27
|
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 |