[Doxygen-develop] Aliases to create tables
Brought to you by:
dimitri
From: <Eck...@t-...> - 2006-09-29 07:16:53
|
Hello everybody. I often use the following examples to create tables: ALIASES = "TabBegin = <TABLE><TR><TD>" \ "TabEnd = </TD></TR></Table>" \ "I = </TD><TD>" \ "I________________________________________________________________________________ = </TD></TR><TR><TD>" \ "I_______________________________________________________________________________ = </TD></TR><TR><TD>" \ "I______________________________________________________________________________ = </TD></TR><TR><TD>" \ . . . the number of "_" changes from 80 to 1 . . . "I_ = </TD></TR><TR><TD>" This tags produce html-tables in the documentation This is a source example where the new commands are used: @TabBegin Title 1 @I Title 2 @I Title 3 @I______________________________________________ row 1 column 1 @I row 1 column 2 @I row 1 column 3 @I______________________________________________ row 2 column 1 @I row 2 column 2 @I row 2 column 3 @I______________________________________________ row 3 column 1 @I row 3 column 2 @I row 3 column 3 @I______________________________________________ row 4 column 1 @I row 4 column 2 @I row 4 column 3 @TabEnd Since more the one @I___-commands are defined it is possible to use short lines for small tables and long lines for tables with more columns. May be it is a good idea to change the design of the aliases a little bit. For example it may be good to insert tag to write the headline in bold. ALIASES = "TabBegin = <TABLE><TR><TD><B>" \ "Ib = </B></TD><TD><B>" \ "IbEnd = </B>\ This is a source example where the new commands are used: @TabBegin Title 1 @Ib Title 2 @Ib Title 3 @IbEnd @I______________________________________________ row 1 column 1 @I row 1 column 2 @I row 1 column 3 @I______________________________________________ row 2 column 1 @I row 2 column 2 @I row 2 column 3 @I______________________________________________ row 3 column 1 @I row 3 column 2 @I row 3 column 3 @I______________________________________________ row 4 column 1 @I row 4 column 2 @I row 4 column 3 @TabEnd Is there a special alias-archive with other examples like this? Kind Regards, Eckard Klotz. > |