KTUGFaq

KTUG FAQ

α:
йȣ:
Enjoy your life; be pleasant and gay, like the birds in May.
KTUGFaqMap&value=Yhchoe/TitleIndex占쏙옙占쏙옙占쏙옙占쏙옙占Karnes/2006-04XEmTeXStructuredText&value=12 › PageStyle

LaTeX \pagestyle \thispagestyle Ѵ.

1
2 PageStyle
3 headings myheadings
3.1 headings running heading
3.2 myheadings running heading
3.3 ɰ PageStyle
4 PageStyle
4.1 FancyHdr Ű ̿ϴ
4.2 pagestyle Ӱ ϴ
5 Memoir PageStyle
6 FAQ
6.1 ǰ Ϸ
6.2 ȣ ٽ Ϸ

[]

1

LaTeX ǥŬ(article,report,book...) ϴ PageStyle ⺻ ̴.
PageStyle
plain ϴܿ ڸ ٴ´.
empty ƹ͵ ʴ´.
headings running heading δ. running heading Ÿ ޶.
myheadings heading \markboth ̳ \markright ִ.

[]

2 PageStyle

  1. \pagestyle{PageStyle} : PageStyle Ѵ. Ÿ .
  2. \thispagestyle{PageStyle} : Ÿ Ѵ.
    <!> \maketitle ǥ Ե Ÿ plain Ѵ. ׷Ƿ ǥ Ե PageStyle ٲٰ ʹٸ, \maketitle\thispagestyle{empty} Ͽ Ѵ.
  3. \pagenumbering{NumberingStyle} : NumberingStyle  ϳ̴.
    1. arabic : 1, 2, 3, 4, ...
    2. roman : i, ii, iii, iv, ...
    3. Roman : I, II, III, IV, ...
    4. alph : a, b, c, d, ...
    5. Alph : A, B, C, D, ...
  4. <!> ȣ Ÿ(NumberingStyle) ٲٴ ƴϰ ȣ ü ٲٴ ̸ ȣٲٱ .
[]

3 headings myheadings

[]

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 KTUGOperate:16489) LaTeX Դϴ. Ʒ ׸ Ӹۿ chapter ̸̳ section ̸ ڵ  Ǵµ. ǵ ũ⸦ Ѱ Ǵ , Ӹ ٷ editing ϴ  ִ? ڶ ⺻ ⵵ մϴ. ׷ Ź帳ϴ. http://www.ktug.or.kr/jsboard/data/operate/files/20051220154540/%C1%FA%B9%AE.JPG

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.1 FancyHdr Ű ̿ϴ

Ÿ Ϸ fancyhdr Ű ̴. fancyhdr Ű ؼ FancyHdr LayOut ϶.
[]

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)Ѵ.

Preamble ְ, Ŀ \pagestyle{myownpagestyle} Ѵ.

[]

5 Memoir PageStyle

MemoirClass pagestyle ִ. MemoirClass FancyHdr ʴ . Memoir Manual 3 11 .

\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 FAQ

[]

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}

[]

6.2 ȣ ٽ Ϸ


Q : (From KTUGOperate:16484)ǥ, ǥ, , ۼ

ǥ ʹȣ ϰ,
ǥ i Ͽ ű
ٽ 1 ϴ ʹȣ ű ͽϴ.


A :

ǥ شϴ \thispagestyle{empty}
ǥ ϴ \thispagestyle{plain} \pagenumbering{roman} \setcounter{page}{1}
ϴ \thispagestyle{plain} \setcounter{page}{1}








^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2011-03-18 15:21:42
Processing time 0.0718 sec