Re: [問題]使用fancyhdr自訂頁首 結果空白一片的問 …

看板LaTeX (論文排版)作者 (Siraya)時間18年前 (2007/09/03 18:43), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
※ 引述《Hiankun (Siraya)》之銘言: : 請問 fancyhdr 是不是內定第一頁不會出現自訂的 header 內容? : 我最近也在試著用它 : 需要在 paper 的每一頁上頭 : 左右兩邊都有自訂的 header 內容 : 寫法如下: : \usepackage{fancyhdr} : \pagestyle{fancy} : \fancyhf{} : \rhead{test right header} : \lhead{test left header} : \cfoot{\thepage} : \renewcommand{\headrulewidth}{0pt} : 第二頁之後就會按照我要的設定出現 : 但第一頁的 header 空白 : 不知道該如何設定(前面幾篇提到的方式我有測試,還是一樣) : 才能讓第一頁也出現自訂的 header 內容? : 謝謝 剛剛重新上網搜尋 看到 http://www.essex.ac.uk/linguistics/clmt/latex4ling/headers/ 裡頭提到 The difference between these two is that \fancyplain allows you to retain control over headers and footers even on, say, the first page of a chapter - where normally LaTeX switches to plain. 所以 結論很簡單 把 pagestyle 從 fancy 改成 fancyplain 就好了... =__= -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.202.68
文章代碼(AID): #16s-L2xz (LaTeX)
文章代碼(AID): #16s-L2xz (LaTeX)