我有一份带附录的报告。
我想要的是在附录开始时在页码上使用不同的样式。
我使用阿拉伯数字,直到我到达附录。然后我想做这样的事情:
我希望自定义页码为:
Chapter: A
Section: {Chapter}{1} (A-1)
\newpage
\pagenumbering{custompagenumbering}
这个是可能的吗?
发布于 2010-05-03 00:30:15
Some paragraph. Some paragraph. Some paragraph. Some paragraph. Some paragraph.
\newpage
\setcounter{page}{1}
\renewcommand{\thepage}{A-\arabic{page}}
Some paragraph. Some paragraph. Some paragraph. Some paragraph. Some paragraph.
这会不会接近你想做的事情?这就是如何操作page
计数器和\thepage
命令,该命令确定将打印为页码的内容。\roman{page}
会给出罗马数字,\alph{page}
a,b,c.
另一个合理的解决方案是使用fancyhdr包,如前所述。
发布于 2013-03-04 22:45:05
首先,我将创建一个包含所有章节和附录等内容的文件,名为main.tex或thesis.tex
您可以在其中执行所有的包含和文档设置,以及页眉和页脚设置:
% Free Header and Footer
\usepackage{fancyhdr}
\lfoot[\fancyplain{}{}]{\fancyplain{}{}}
\rfoot[\fancyplain{}{}]{\fancyplain{}{}}
\cfoot[\fancyplain{}{\footnotesize\thepage}]{\fancyplain{}{\footnotesize\thepage}}
\lhead[\fancyplain{}{\footnotesize\nouppercase\leftmark}]{\fancyplain{}{}}
\chead{}
\rhead[\fancyplain{}{}]{\fancyplain{}{\footnotesize\nouppercase\sc\leftmark}}
在这里,它将使页码位于页面的中心。标题左侧的章节标题,如果您的作品是双页的,则标题也在右侧。
然后你可以开始包括你的其他章节..我的看起来是这样的(仍在thesis.tex中):
% --- Start of Document ----------------------------------------
\begin{document}
\pagenumbering{roman} %roemische ziffern
\pagestyle{fancy} % Initialize Header and Footer
\include{title} % Title Page
\include{affidavit} % affidavit
\include{abstracts} % Englisch and German abstracts
\include{acknowl} % Acknowledgements
\include{glossary} % Glossary
\include{abbreviation} % Abkuerzungen
%\include{keywords} % Keywords
\include{toc} % Table of Contents
%--- Include your chapters here ----------
\setcounter{page}{1} % set page to 1 again to start arabic count
\pagenumbering{arabic}
%\include{chapter0}
\include{chapter1} % Introduction
\include{chapter2} % Background
\include{chapter3} % Konzeption
\include{chapter4} % Technische Umsetzung
\include{chapter5}
\include{chapter6}
%
%% ....
\appendix
\include{appendix} % Appendix A
\end{document}
希望这能有所帮助!页眉和页脚有时很难,有时如果你改变\documentclass,它也可能看起来不同。;)
发布于 2010-05-03 01:05:28
如果能够使用Memoir类(我推荐),就可以使用页面样式。参见Chapter 7.2 Page Styles
。例如,创建两种样式:
\pagestyle{plain} % Regular page numbering
... STUFF ...
\clearpage % make a new page numbering down here
\copypagestyle{AppendixPS}{plain}
\renewcommand{\thepage}{Chapter \chapter Section \section page \page}
\pagestyle{AppendixPS}
我还没有测试过这一点,也没有使用LaTeX来做这件事,但我希望它能提供一些思考的食粮,或者至少能让你走上正确的道路。
https://stackoverflow.com/questions/2753477
复制相似问题