[texhax] Formatting \subsubsection

Uwe Lueck uwe.lueck at web.de
Mon Jun 30 21:16:39 CEST 2014


(On modifying subsection styles with amsbook, previous suggestion attached:)

I see that more parameters must be changed to get something tolerable, e.g.,

\makeatletter
%\def\section{\@startsection{section}{1}%
%  \z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
%  {\normalfont\bfseries\centering}}
\def\subsection{\@startsection{subsection}{2}%
  \z@{.5\linespacing\@plus.7\linespacing}{.3\linespacing}%
  {\normalfont\bfseries\centering}}
\def\subsubsection{\@startsection{subsubsection}{3}%
  \z@{.3\linespacing\@plus.5\linespacing}{.2\linespacing}%
  {\normalfont\itshape\centering}}
\makeatother

You might play with the factors for \linespacing.

HTH -- Uwe.
 
============================================================================
Gesendet: Montag, 30. Juni 2014 um 19:13 Uhr
Von: "Uwe Lueck" <uwe.lueck at web.de>
An: "Mike Makai" <makai at aeki.kfki.hu>
Cc: support at tug.org
Betreff: Re: [texhax] Formatting \subsubsection
> Is it possible to change the \subsubsection in amsbook so that
> the vertical space after the subsubsection be as big as desired?

With amsbook, vertical space after \subsection and \subsubsection
is not intended, headings are embedded in the starting paragraph.
This may be changed, here is the code:

\makeatletter
\def\subsection{\@startsection{subsection}{2}%
\normalparindent{.5\linespacing\@plus.7\linespacing}{-.5em}%
{\normalfont\bfseries}}
\def\subsubsection{\@startsection{subsubsection}{3}%
\normalparindent\z@{-.5em}%
{\normalfont\itshape}}
\makeatother

You can copy this to your document preamble and replace both
`-.5em' by something positive, such as `1ex'.

HTH -- Uwe.
 
=============================================
Gesendet: Sonntag, 29. Juni 2014 um 20:22 Uhr
Von: "Mike Makai" <makai at aeki.kfki.hu>
An: support at tug.org
Betreff: [texhax] Formatting \subsubsection

Dear TUG,
 
Is it possible to change the \subsubsection in amsbook so that the vertical space after the subsubsection be as big as desired?
 
Thanks in advance!
 
**Mike Makai**

__________ ESET NOD32 Antivirus - Vírusdefiníciós adatbázis: 9962 (20140618) __________

Az üzenetet az ESET NOD32 Antivirus ellenorizte.

http://www.eset.hu
_______________________________________________ TeX FAQ: http://www.tex.ac.uk/faq[http://www.tex.ac.uk/faq][http://www.tex.ac.uk/faq[http://www.tex.ac.uk/faq]] Mailing list archives: http://tug.org/pipermail/texhax/[http://tug.org/pipermail/texhax/][http://tug.org/pipermail/texhax/[http://tug.org/pipermail/texhax/]] More links: http://tug.org/begin.html[http://tug.org/begin.html][http://tug.org/begin.html[http://tug.org/begin.html]] Automated subscription management: http://tug.org/mailman/listinfo/texhax[http://tug.org/mailman/listinfo/texhax][http://tug.org/mailman/listinfo/texhax[http://tug.org/mailman/listinfo/texhax]] Human mailing list managers: postmaster at tug.org


_______________________________________________
TeX FAQ: http://www.tex.ac.uk/faq[http://www.tex.ac.uk/faq]
Mailing list archives: http://tug.org/pipermail/texhax/[http://tug.org/pipermail/texhax/]
More links: http://tug.org/begin.html[http://tug.org/begin.html]

Automated subscription management: http://tug.org/mailman/listinfo/texhax[http://tug.org/mailman/listinfo/texhax]
Human mailing list managers: postmaster at tug.org




More information about the texhax mailing list