보고서 클래스의 장에만 저자 및 소속

보고서 클래스의 장에만 저자 및 소속

편집됨 보고서 수업 시간에 논문을 작성 중이며 각 장마다 별도의 저자를 표시해야 합니다. 작성자가 표시되는 동안 authblk 형식으로 형식이 지정되지 않습니다. 내가 뭘 잘못하고 있는지 아는 사람이 있나요? 내 메인 텍스트의 코드는 다음과 같습니다.

\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\graphicspath{{images/}}
\usepackage[a4paper,width=150mm, top=25mm, bottom=25mm, bindingoffset=6mm]{geometry}
\usepackage{fancyhdr} 
\pagestyle{fancy}
\usepackage{babel}
\usepackage[style=english]{csquotes}
\usepackage[style=authoryear]{biblatex} 
\addbibresource{library.bib}
\usepackage{fixltx2e} 
\usepackage{titlesec}
  \titleformat{\chapter}[hang]
    {\normalfont\huge\bfseries}
    {\thechapter}{20pt}{\huge}
\usepackage{authblk}
\title{Something clever}
\author{Name}
\date{}

\begin{document}
\maketitle

\chapter*{Abstract}

\chapter*{Dedication}

\chapter*{Declaration}

\chapter*{Acknowledgment}

\tableofcontents 

\chapter{Introduction}
\input{Chapters/introduction} 

\chapter{Title of Chapter}
\input{Chapters/chap2}

\chapter{Title of Chapter}
\input{Chapters/chap3}

\chapter{Title of Chapter}
\input{Chapters/chap4}

\printbibliography

\end{document}``` 

While in the chapters the code is:
\title{something clever}
\author[1]{Name1}
\author[2]{Name2}
\author[1]{Name3}
\author[1]{Name4}
\affil[1]{af1}
\affil[2]{af2}
\date{}                     
\begin{abstract} 
\end{abstract}


답변1

문제는 해당 \maketitle명령이 문서 내에서 한 번만 사용될 수 있다는 점이라고 생각합니다. 처음 사용한 후 올바르게 기억한다면 아무것도 하지 않도록 재정의됩니다. 아마도 당신은 이를 수행하지 않는 자신만의 버전을 정의할 수 있을 것입니다 \maketitle( 내 시스템에서는 코드가 에 있음 ). 관련 비트만 선택합니다(정말로 장 제목 뒤에 제목이 필요한가요?).\mymaketitlereport.cls/usr/local/texlive/2019/texmf-dist/tex/latex/base

관련 정보