I do like to have my sections formatted with a foregoing thick horizontal line, let's say color grey, thickness 2mm. It should appear about 2cm after the text of the last section ended. The section Name should appear as usual, in this case 1cm below my grey line. The line width should be textwidth exactly.
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
I also tried to format my chapters in a smiliar manner using titlesec, but I am not able to fulfil my wishes of a grey box of 4cm height including the following chapter style:
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