Is it possible to redefine certain
\subsection to have custom pagecolor?
There are certain solutions like:
and so on.
However, this does not quite solve what I want. Some of these solutions need predefined color boxes at fixed positions etc.
What would be nice to have is, whenever this section (say
\newsection) starts, the page color from that point onwards including the section title becomes different until the section ends (which means a new normal
\section starts. Basically within the environment of the
\newsection ). For that, the whole page does not need to be a different color and the texts in this
\newsection might continue over the next page and so does the background color.
The complete page in the range of
\newsection can have a different background including possibly the page numbers, left-right margins, etc. or, it will also be sufficient to have the text and equations area in
The second example link above is much similar but that is only on the name of the section not on the content of the section.