TeX - LaTeX Asked by Álvaro Ferrero on May 12, 2021
I need to set certain margins for every chapter, section… so each block appears to be ‘in his own level’. Not only for the titles but for the whole text in each section. I need it to be automatically done and not having to set horizontal margin each time I add a new section/subsection. I’m already using titlesec in the main document.
documentclass[a4paper,10pt,twoside]{report}
usepackage{lipsum}
usepackage[spanish]{babel} % espanol
usepackage[latin1]{inputenc} % acentos sin codigo
begin{document}
chapter{Chapter}
añslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfj
section{Section}
añslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfj
añslkdfañlksdfjalsdjflasdjflaksjdflkasdf
subsection{Subsection}
añslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfj
subsubsection{subsubsection}
añslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfjañslkdfjalsdkfjasdkfj
end{document}
Here is a picture of how I need it to look like.
Thank you very much.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP