Page LayoutLinebreak before/after subsubsection and paragraph headings

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
genetix
Posts: 2
Joined: Mon Feb 15, 2010 11:48 am

Linebreak before/after subsubsection and paragraph headings

Post by genetix »

Hello,

I am trying to modify the subsubsection and paragraph headings for a document which uses the documentclass amsbook but so far I have been only half successful.
I have searched this forum and found the sectsty package and I managed to change the font settings etc. but I wasn't able to find a solution to the follwing problem: How can I automatically insert a newline before and after a subsubsection/paragraph heading? The goal is to make subsubsection headings look the same as subsection headings, just smaller. I cannot even insert the linebreaks manually using \\ or an empty line. The headings still remain in the same line as the remainder of the text.

Can anyone give me a hint, please?

Best regards,
Anja

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Linebreak before/after subsubsection and paragraph headings

Post by localghost »

At first you should typeset the code below, look at the output and then clarify if we're still talking about the sectioning commands you mentioned.

Code: Select all

\documentclass[11pt,a4paper,english]{amsbook}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{blindtext}

\begin{document}
  \blinddocument
\end{document}

Best regards and welcome to the board
Thorsten
genetix
Posts: 2
Joined: Mon Feb 15, 2010 11:48 am

Re: Linebreak before/after subsubsection and paragraph headings

Post by genetix »

Thank you a lot for your reply. I've tried it out and found the mistake in my previous posting. Sorry, actually, I am trying to make the commands

/subsection
/subsubsection
/paragraph

behave in the same way as /section (not /subsection):

-some space before the heading
-Heading (no plain text in the same line as the heading)
-some space after the heading
...Plain text...

Best regards,
Anja
Post Reply