TeX - LaTeX Asked by Oskar Henriksson on December 13, 2020
Is there a way to get rid of the indentation at the beginning of subsections when using the documentclass amsbook
?
See the attached image for an example (where the problematic indentation is marked blue):
The example was generated using the following code:
documentclass[a4paper]{amsbook}
usepackage{lipsum}
begin{document}
chapter{This is a chapter}
section{This is a section}
subsection{This is a subsection}
lipsum[1-2]
end{document}
Please try this code. Put the redefinition of subsection
from makeatletter
to makeatother
in your preamble.
documentclass[a4paper]{amsbook}
usepackage{lipsum}
makeatletter
defsubsection{@startsection{subsection}{2}%
z@{[email protected]}{-.5em}%
{normalfontbfseries}}
makeatother
begin{document}
chapter{This is a chapter}
section{This is a section}
subsection{This is a subsection}
lipsum[1-2]
end{document}
Correct answer by Simon Dispa on December 13, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP