Page Layout ⇒ Different margins for sections and subsections
Different margins for sections and subsections
I have been searching everywhere but have not found any solution. I would like to set different left margins for content in chapters, sections and subsections (see fig.). Just wondering if there is a package that does this automatically. I know that package there is package changepage that uses command \begin{adjustwidth} but I have to do this manually which is not what I keen to do. If you know the package or the code to do it. Please help. Thanks.
- Attachments
-
- 1.pdf
- (117.33 KiB) Downloaded 211 times
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
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Different margins for sections and subsections
addmargin
which you can use to define new sectioning commands, or redefine the old ones. I don't have time to setup a test document. Hint: If you'd have prepared a minimal working example, you probably would have a solution by now.