Re: [問題] 章節頁的內文起始位置(章節標題空白)

看板LaTeX作者 (kezza)時間10年前 (2014/07/11 18:36), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
※ 引述《c2v (ceva)》之銘言: : 想請問在每一個章節的開頭,第一段文字的開始位置要怎麼設定? : 因為章節標題太長,導致第一段文字會和章節標題重疊。 : 或者是間距太小。 : -----------START--------------- : Chapter 1 : Chapter title............ : ......................... : ......................... : ......................... : 內文第一行和標題字重疊... : 內文的第二行....................... : ------------END----------------- : 我知道加\vspace{height} : 在\section{title}前面可以解決 : 但還是想知道怎麼調整第一段文字的開始位置 如果你是指上下位置,可以用 titlesec 的 \titlespacing* 語法: \titlespacing*{command}{左}{上}{下}{右} 如: \documentclass[12pt]{book} \usepackage{titlesec} \titlespacing*{\thechapter}{0pt}{2\baselineskip}{3\baselineskip} \begin{document} \chapter{Loooooooooooooooooooooooong chapter title} blah blah blah \end{document} 會在 chapter title 下留 3\baselineskip 的空位 -- je pense, donc je suis --- René Descartes, Discours de la Méthode (1637) ego sum, ego existo --- ____, Meditationes de Prima Philosophia (1641) ego cogito, ergo sum --- ____, Principia Philosophiae (1644) -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.101.4 ※ 文章網址: http://www.ptt.cc/bbs/LaTeX/M.1405074966.A.F47.html
文章代碼(AID): #1JlxuMz7 (LaTeX)
討論串 (同標題文章)
文章代碼(AID): #1JlxuMz7 (LaTeX)