
르그랑 오렌지북의 머리글과 바닥글에 structure.tex
.
\usepackage{fancyhdr} % Required for header and footer configuration
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\sffamily\normalsize\bfseries #1}{}} % Chapter text font settings
%I do not want sectionmark%\renewcommand{\sectionmark}[1]{\markright{\sffamily\normalsize\thesection\hspace{5pt}#1}{}} % Section text font settings
\fancyhf{} \fancyhead[LE,RO]{\sffamily\normalsize\thepage} % Font setting for the page number in the header
%%\fancyhead[LO]{\rightmark} % Print the nearest section name on the left side of odd pages
%%\fancyhead[RE]{\leftmark} % Print the current chapter name on the right side of even pages
\fancyhead[C]{\leftmark}
\fancyhead[LO,RE]{%
\includegraphics[height=0.5in]{./Gambar/HEADER)
}
\fancyfoot[C]{\includegraphics[height=0.5in]{./Gambar/footer1}}
\renewcommand{\headrulewidth}{0.5pt} % Width of the rule under the header
\addtolength{\headheight}{2.5pt} % Increase the spacing around the header slightly
\renewcommand{\footrulewidth}{0pt} % Removes the rule in the footer
\fancypagestyle{plain}{\fancyhead{}\renewcommand{\headrulewidth}{0pt}} % Style for when a plain pagestyle is specified
% Removes the header from odd empty pages at the end of chapters
\makeatletter
\renewcommand{\cleardoublepage}{
\clearpage\ifodd\c@page\else
\hbox{}
\vspace*{\fill}
\thispagestyle{empty}
\newpage
\fi}
하지만 두 곳 모두 사진이 없습니다.
I got this on my log:
("C:\Program Files\MiKTeX 2.9\tex\latex\fancyhdr\fancyhdr.sty")
Runaway argument?
{\includegraphics [height=0.5in]{./Gambar/HEADER) } \fancyfoot [C]{\includegrap
hics \ETC.
! Paragraph ended before \f@ncyhf was complete.
<to be read again>
\par
l.90
?
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
나는 무엇을 해야 합니까?
정말 감사합니다.