사용하는 package들은 가급적 안 바꾸고 싶고 XeLaTeX으로 컴파일합니다.
pagestyle을 나름대로 정의해 봤는데, chapter 시작할 때, 왜 바닥에서 "| 페이지 수"만 나오고, 절 넘버/제목은 안 보일까요?
3, 5 페이지 등을 보시면 "절 번호 절 제목 | 페이지 수" 이런 형태로 매 장 시작하는 첫 페이지도 동일하게 나오게 하고 싶은데, 궁금합니다.
소스 .tex 파일은 이러합니다. 즉, 1, 3, 5 등 모든 홀수 페이지 footer가 동일하게 적용되었으면 하는.....
아래를 컴파일한 오류 MWE로 .pdf도 첨부합니다.
\documentclass[twoside,chapter,oldfontcommands,footnote,10pt,openright]{oblivoir} \usepackage[hangul]{kotex} \usepackage[T1]{fontenc} \usepackage{CJKutf8} \usepackage{tikz} \usepackage{tikz-3dplot} \usepackage{pgfplots} \usepackage{lipsum} \makepagestyle{mymypagestyle} \makerunningwidth{mymypagestyle}{1\textwidth} \makeheadrule{mymypagestyle}{0pt}{0pt} \nouppercaseheads \makeoddfoot{mymypagestyle}{}{}{\footnotesize\sffamily\rightmark\, % 홀수 페이지 \,\,|\begin{tikzpicture}[overlay,xshift=3pt,yshift=2.4pt] \node[rectangle,align=left,anchor=west] {\color{black}\LARGE\sffamily\thepage}; \end{tikzpicture}} \makeevenfoot{mymypagestyle}{\begin{tikzpicture}[overlay,xshift=-3pt,yshift=2.4pt] \node[rectangle,align=right,anchor=east] {\color{black} % 짝수 페이지 \LARGE\sffamily\thepage}; \end{tikzpicture}\sffamily|\,\,\, \leftmark}{}{} %%%%%%%%%%%%%%%%%%%% \makeatletter \newcommand*{\@kmmarkfour}{% \createmark{chapter}{left}{shownumber}{\footnotesize 제\space}{\footnotesize \space장\color{black}\quad} \createmark{section}{right}{shownumber}{}{\enspace\,} \createplainmark{toc}{both}{\contentsname} \createplainmark{lof}{both}{\listfigurename} \createplainmark{lot}{both}{\listtablename} \createplainmark{bib}{both}{\bibname} \createplainmark{index}{both}{\indexname} \createplainmark{glossary}{both}{\glossaryname}} \makepsmarks{mymypagestyle}{\@kmmarkfour} \makeatother %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \pagestyle{mymypagestyle} \aliaspagestyle{chapter}{mymypagestyle} \begin{document} \chapter{Intro} \section{절절절} \lipsum[1-15] \chapter{test2} \section{절절절} \end{document}
KTUG 한국 텍 사용자 그룹