KTUGFaq
KTUG FAQ
"Heck, I'm having a hard time imagining the DOM as civilized!" -- Fred L. Drake, Jr.
LaTeX \pagestyle \thispagestyle
Ѵ.
2 PageStyle ¶
- \pagestyle{PageStyle} : PageStyle Ѵ. Ÿ .
- \thispagestyle{PageStyle} : Ÿ Ѵ.
\maketitle ǥ Ե Ÿ plain Ѵ. Ƿ ǥ Ե PageStyle ٲٰ ʹٸ, \maketitle\thispagestyle{empty} Ͽ Ѵ.
- \pagenumbering{NumberingStyle} : NumberingStyle ϳ̴.
- arabic : 1, 2, 3, 4, ...
- roman : i, ii, iii, iv, ...
- Roman : I, II, III, IV, ...
- alph : a, b, c, d, ...
- Alph : A, B, C, D, ...
ȣ Ÿ(NumberingStyle) ٲٴ ƴϰ ȣ ü ٲٴ ̸ ȣٲٱ .
3.1 headings running heading ¶
book.cls \pagestyle{headings} ̴.
\if@twoside \def\ps@headings{% \let\@oddfoot\@empty\let\@evenfoot\@empty \def\@evenhead{\thepage\hfil\slshape\leftmark}% \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% \let\@mkboth\markboth \def\chaptermark##1{% \markboth {\MakeUppercase{% \ifnum \c@secnumdepth >\m@ne \if@mainmatter \@chapapp\ \thechapter. \ % \fi \fi ##1}}{}}% \def\sectionmark##1{% \markright {\MakeUppercase{% \ifnum \c@secnumdepth >\z@ \thesection. \ % \fi ##1}} }} \else \def\ps@headings{% \let\@oddfoot\@empty \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% \let\@mkboth\markboth \def\chaptermark##1{% \markright {\MakeUppercase{% \ifnum \c@secnumdepth >\m@ne \if@mainmatter \@chapapp\ \thechapter. \ % \fi \fi ##1}} }} \fi
Q2: (From 16489) LaTeX Դϴ. Ʒ Ӹۿ chapter ̸̳ section ̸ ڵ Ǵµ. ǵ ũ⸦ Ѱ Ǵ , Ӹ ٷ editing ϴ ִ? ڶ ⺻ մϴ. Ź帳ϴ.
A: ¦ ʹȣ Ӹ Ŭ ɼ twoside ϴ. book Ŭ, amsbook Ŭ ɾ \chapter ִ Ŭ ¦ ʿ chapter ̸, Ȧ ʿ section ̸ ڵ Ǿ ְ, chapter ̸̳ section ̸ 찡
\chapter[ª ]{ } \section[ª ]{ }˴ϴ. ̰ \markboth{left head}{right head} ʽÿ.
3.2 myheadings running heading ¶
\markboth \markright Ἥ running heading ڰ ִ.
\markboth{left head}{right head}
\markboth \markright ϴ ¦ head з \markboth Ͽ ȴ. ݸ Ȧ head ̿ϰų, ó õ \markboth Ǵ \markright Ͽ ȴ.
(\chapter, \section) heading ٲپ Ѵٸ Ͽ \chaptermark, \sectionmark Ѵ.
3.3 ɰ PageStyle ¶
\rightmark \leftmark ʴ . ϰ ٲٴ \markboth \markright ־ ִ.
, \sectionmark ɰ \chaptermark \section̳ \chapter ȣ ű ° \markboth ҷش.
\renewcommand\chaptermark[1]{\markboth{#1}{}} \renewcommand\sectionmark[1]{\markright{\thesection~#1}}
4.2 pagestyle Ӱ ϴ ¶
Ÿ Ϸ Ÿ Ī ϰ, ű شϴ ps@xxx ()Ѵ.
ο Ÿ Ī myownpagestyle ϰ, ܿ PAGE~\thepage Ÿ ̴.
\makeatletter \newcommand\ps@myownpagestyle{% \renewcommand\@oddfoot{}% \renewcommand\@evenfoot{}% \renewcommand\@evenhead{\textsc{Page}~\thepage}% \renewcommand\@oddhead{\hfil\textsc{Page}~\thepage}% } \makeatother
- \ps@ŸϸĪ (newcommand)Ѵ.
- \@oddfoot, \@evenfoot, \@evenhead, \@oddhead (renewcommand)Ѵ.
5 Memoir PageStyle ¶
\makepagestyle \aliaspagestyle \copypagestyle
ο Ÿ ̴.
\makeevenhead \makeevenfoot \makeoddhead \makeoddfoot̸ ״̴. ̹ۿ ũε ȴ.
\makerunningwidth \makeheadrule \makefootrule \footruleheight, \footruleskip \makeheadposition \makepsmarks
Ÿ ũ ̿ܿ Ÿ ȴ. empty, plain, headings, myheadings LaTeX ⺻ Ÿϰ ϰ, ruled, Ruled, companion, book, chapter, cleared, part, title, titlingpage ߰ Ÿ ִ. (ѱ ʹ ̹ϰ ߳ ͵ .)
, Memoir ο chapter ۵DZ Ǿ ִ , book̳ report pagestyle ġ κ ذصΰ ִ.
6.1 ǰ Ϸ ¶
book Ŭ ϴ 쿡 (chapter) Ȧ ʿ ۵Ǹ鼭 ٷ
¦ ʿ 찡 ִ.[1]
----
- [1] Memoir Ŭ ̷ ʴ´.
ε book ϰ ʹȣ µ
ʰ Ϸ
\documetnclass{book} . . . \newcommand{\cedp}{% \newpage{\pagestyle{empty}\cleardoublepage} } \begin{document} \include{chapter1} \cedp \include{chapter2} \cedp \include{chapter3} \cedp \pintindex \end{document}