Is it possible to create a TOC with section headings in one color and subsection headings in different color.
I am using above lines to create TOC, do I need to use any special package?
You could use the
Without an additional package, you could modify the class macros which are responsible for the table of contents entries, such as
Here is an example for the
I've just solve it!
The space can be varied with the