부록에 대해 장 구조와 유사한 양식 만들기

부록에 대해 장 구조와 유사한 양식 만들기

나는 내 부록이 내 장과 동일한 형식을 따르기를 원합니다. 즉, 예를 들어 "부록 A"가 내 장과 동일한 형식으로 되어 있는 부록을 원합니다. 내 챕터는 다음과 같습니다.

여기에 이미지 설명을 입력하세요

다음 코드 줄은 다음과 같습니다.

\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter.\ #1}{}}

LaTeX 전문가 여러분 중 이 문제를 빠르게 처리하는 방법을 아시는 분이 계신지 궁금합니다. 제가 찾아봤지만, 제가 원하는 대로 부록에 동일한 형식을 사용하는 곳은 많지 않은 것 같습니다.

답변1

이와 같이?

\documentclass{book}
\usepackage{lipsum}
\usepackage{fancyhdr}
\usepackage[Lenny]{fncychap}
\usepackage{appendix}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter.\ #1}{}}

\begin{document}
\chapter{A}
\begin{appendices} 

  \chapter{Title of this appendix}\label{apx:f}

  \section{An appendix section}

\end{appendices}
\end{document}

여기에 이미지 설명을 입력하세요

관련 정보