作者rogerli (我不想当好人,但...)
看板LaTeX
标题Re: [问题]Chapter标题不会换行问题
时间Thu Mar 25 18:44:05 2010
※ 引述《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