3

I need to move section number and section heading as shown in figure below.

enter image description here

MWE

\documentclass[12pt,twoside=semi]{scrbook}
\usepackage{blindtext}

\usepackage[showframe]{geometry}
\geometry{paperwidth=170mm, paperheight=240mm, left=42pt, top=40pt, textwidth=280pt, marginparsep=20pt, marginparwidth=100pt, textheight=560pt, footskip=40pt}

\begin{document}

\blinddocument

\end{document}

1 Answer 1

2

Maybe you can use

\addtokomafont{section}{\addtolength\leftskip{-40pt}}

But the left margin in your example is only 42pt.

\documentclass[12pt,twoside=semi,headings=small]{scrbook}
\usepackage{blindtext}
\usepackage[showframe]{geometry}
\geometry{paperwidth=170mm, paperheight=240mm,
  left=42pt, top=40pt, textwidth=280pt,
  marginparsep=20pt, marginparwidth=100pt,
  textheight=560pt, footskip=40pt}

\addtokomafont{section}{\addtolength\leftskip{-40pt}}

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

enter image description here

2
  • It's just as good to use \addtokomafont{section}{\hspace*{-40pt}}.
    – Werner
    Apr 27, 2014 at 15:10
  • @Werner If a section title is longer then one line \addtokomafont{section}{\hspace*{-40pt}} only shifts the first line of this section title.
    – esdd
    Apr 27, 2014 at 22:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .