When multiple \pagestyle in one document, the page styles become quite strange. How can I make the first work until the second, the 2nd until the 3rd, and so on? Please run the following code to view the effect.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
In this one-sided document, insert the \clearpage command before changing the page style, so that the changed style will only take effect from the new chapter.
Since the page style of the first page of each chapter is set to plain, the style selected by pagestyle is not set until the second chapter page.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p