라텍스의 이중 부록

라텍스의 이중 부록

부록이 2개의 타이틀을 생산하는 이유가 있나요?

\documentclass[12pt,oneside]{report} 
\begin{document}

test 
\appendix 
\chapter{\textrm\bfseries Appendixtest2}\label{append}


\end{document}

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

부록 제목(\section이 아닌 \chapter 사용)을 다음 형식으로 강제할 수 있나요?

\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\huge}

답변1

(1) \appendix 제목이 생성되지 않고 \chapter"Chapter 1" 대신 "Appendix A"를 인쇄하도록 동작 만 변경됩니다.

\chapter(2) 한 줄에는 , With \chaptertitlename(부록) 및 (A) 에 의해 생성된 제목이 하나만 있고 \thechapter다른 줄에는 장 인수(Appendixtest2)가 있습니다.

\titleformat(3) 패키지를 사용하여 해당 명령으로 장 제목 형식을 강제로 적용할 수 있습니다.titlesec:

\documentclass[12pt,oneside]{report} 
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\huge}
\begin{document}
\appendix 
\chapter{The title of the appendix}
\end{document} 

그러나 기본 형식을 기본 형식으로 강제 설정하려고 한다는 점에 유의하세요!따라서 아무런 효과도 볼 수 없습니다.

예를 들어 한 줄에 하나의 제목만 사용하는 등 다른 형식을 사용해도 실제로 작동한다는 것을 알 수 있습니다.

음

\documentclass[12pt,oneside]{report} 
\usepackage{titlesec}
\titleformat{\chapter}{\Large}{\chaptertitlename\ \thechapter:}{1em}{\bfseries}
\begin{document}
\appendix 
\chapter{The title of the appendix}
\end{document}

아니면 두 줄 이상으로 ...

음

\documentclass[12pt,oneside]{report} 
\usepackage{titlesec}
\titleformat{\chapter}{\huge}{\chaptertitlename\ \thechapter}{0pt}{\hrule\bigskip\hfill\bfseries\sffamily}
\begin{document}
\appendix 
\chapter{The title of the appendix}
\end{document}

아니면 이 방법이 좀 더 까다롭나요?

mwe3

\documentclass[12pt,oneside]{report} 
\usepackage[explicit]{titlesec}
\titleformat{\chapter}{\Large}{}{1em}{\bfseries #1 (\chaptertitlename\  \thechapter)}
\begin{document}
\appendix 
\chapter{The title of the appendix}
\end{document}

관련 정보