
如何輸入附錄的頁首才不會碰到頁邊空白?
我在 LaTeX 上有這樣的程式碼:
\documentclass[a4paper,12pt,oneside]{book}
\usepackage[left=3cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{lipsum}
\usepackage[toc,page]{appendix}
\renewcommand{\appendixtocname}{Lampiran}
\renewcommand{\appendixpagename}{Lampiran}
\begin{document}
\begin{appendices}
\chapter{Penurunan dari perkiraan solusi analitik untuk opsi Asia dengan volatilitas stokastik}
\lipsum
\end{appendices}
\end{document}
答案1
在book
和report
類別中,此chapter
命令可以採用可選參數:
\chapter[<toc-header-title>]{<title>}
其中可選項toc-header-title
被放入目錄和頁首中,同時title
用作文檔正文中的章節標題;通常toc-header-title
是 的縮短版本title
。如果未使用可選參數,則title
用於所有三個位置。對於較低階的部門,例如\section
等,也是如此。
我不知道您使用的語言,因此我無法建議您的附錄標題的縮寫版本有意義。
如果您需要目錄、標題和正文的三個不同版本,則該類別(和memoir
的超集)會透過提供兩個可選參數來擴展它:report
book
\chapter[<toc-title>][<head-title>]{<title>}
沒有可選參數 title
在所有三個地方都使用
一個可選參數 toc-title
用於目錄和標題
兩個可選參數 toc-title
用於目錄並head-title
用於標題。
在所有情況下,title
都用作文檔正文中的章節標題。
和下面的情況類似\section
。