我需要移动章节编号和章节标题,如下图所示。
平均能量损失
\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
也许你可以使用
\addtokomafont{section}{\addtolength\leftskip{-40pt}}
但是您示例中的左边距只有 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}