Re: [問題]Chapter標題不會換行問題
※ 引述《mathblue (math)》之銘言:
: ※ 引述《andrew43 (Myrmarachne)》之銘言:
: : 常見的方式是 \chapter[短標題]{長標題}
: : 也可以考慮以 titletoc package 自訂 table of contents
: 我的裡面設定是這樣:
: \chapter{The best constants for multidimensional modular
: inequalities over spherical cones}
: \markright{Chapter 1. The best constants for multidimensional
: modular inequalities over spherical cones}
: 這樣在個頁上顯示的 chapter 1. The best ................
: 都會過長打到頁碼. 這位版大的方法我會試看看.
: \chapter[短標題]{長標題} 的意思是[]裡面打我要留在第一行的東西嗎
: {}裡面打第二行嗎? 這樣我還是不太會用, 請版大說明詳細一點好嗎?
try this:
\documentclass{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{}
\renewcommand{\subsectionmark}[1]{}
\begin{document}
\chapter{The best constants for multidimensional modular
inequalities over spherical cones}
\section{What a wonderful world!}
Your contents...
\end{document}
用這個package不用定義markright,預設就是了。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.255.2.198
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):