내 프로젝트의 여러 .tex 파일로 구성된 하위 파일에서 .cls를 어떻게 사용할 수 있나요?

내 프로젝트의 여러 .tex 파일로 구성된 하위 파일에서 .cls를 어떻게 사용할 수 있나요?

논문을 쓰고 있는데, 논문에 이력서를 첨부하고 싶습니다. 그러나 내 이력서는 자체 .cls 파일과 함께 제공되는 템플릿을 기반으로 합니다. \input\include를 사용해 보았습니다. Overleaf는 빈 페이지를 생성합니다. 내가 사용할 때하위 파일패키지를 만들고 \import를 사용하면,resume.tex에 대한 서문이 없기 때문에 작동하지 않습니다. 프로젝트에 자체 .cls가 포함된 하위 파일을 어떻게 포함할 수 있나요?

내 폴더 구조

main.tex 이력서.tex

장/.tex 이력서 섹션/.tex 이력서 섹션/resume.cls

main.tex는 다음과 같습니다.

\documentclass[12pt, oneside]{book} 
% The oneside option ensures that all pages are similar. the default option 'twosides' distinguishes between left and right pages.
\usepackage{KUstyle}

% Resume Folder has it's own class file
%\usepackage[subpreambles=true]{standalone}
\usepackage{subfiles}
%% If you want to modify from the default margins
% \usepackage[left= 1.1in, right = 1.1in, top = 1.5in, bottom = 1.5in]{geometry} % Set the margins
% \usepackage{layouts} % Use in combination with the command %

%%%% Personal setup %%%%%

%% bibtex Important package to use full citations: bibentry
\usepackage[round]{natbib}
\usepackage{bibentry}
\nobibliography*

\bibliographystyle{plainnat}


%% You can put all packages and personalized commands in the following document.
\input{setup.tex}

%%%% Template Related Setup %%%%%

%%% Front Page %%%
\ptype{Thesis}
\by{by}
\author{}
\title{}
\advisor{}

%%% Report parameters %%%

 
\setcounter{secnumdepth}{3}
 
%% Set Chapter title in header %% 
\usepackage{titlesec}
\usepackage{fancyhdr}

% plain style so that the header does not appear in the abstract
\fancypagestyle{plain}{         
\fancyhf{}
\fancyfoot[C]{\thepage}}%

% margin
\usepackage[margin=1in]{geometry}

% required package for list of tables and figures
\usepackage{titletoc}

% double space 
\usepackage{setspace}


% new style for the mainmatter with the line under the title
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\newcommand\mymainpagestyle{%
\fancyhf{}      
\fancyhead[L]{\nouppercase{\footnotesize{\chaptername~ \thechapter~ |~ \leftmark}} \renewcommand{\headrulewidth}{0.4pt} \headrule \renewcommand{\headrulewidth}{0pt}}
\setlength{\headheight}{25pt}
\fancyfoot[C]{\thepage}
}

%%%%% Main %%%%%
\doublespacing

\begin{document}

% \pagevalues  % If you are using the package layouts and want to get the current layout margin values so you can tune them. They are displayed on the first page if you activate this option. Remember to uncomment the \usepackage{layouts} at the beginning of this document. 


%%%% Introduction %%%%
\begin{singlespace*} 

\maketitle

\end{singlespace*}

\frontmatter % to get a different numbering of the frontmatter and mainmatter.
\pagestyle{plain} % not to get a header in the introduction pages

\newpage \ \newpage % to skip a page 

\newpage
\section*{Resumé}
\label{sec:resume}
\addcontentsline{toc}{section}{Resumé}
\input{resume}


%%%% Introduction %%%%
\mainmatter 
\mymainpagestyle{} % to get a header in the rest of the chapters (except the first page of the chapter)

\chapter{Introduction}
\label{chap:intro}
\input{chapters/Introduction/introduction}

\singlespacing
\chapter{}
\label{chap:chap1}
\doublespacing
\input{chapters/Chapter1/chap1.tex}

\singlespacing
\chapter{}
\label{chap:chap2}
\doublespacing
\input{chapters/Chapter2/chap2.tex}


\newpage

\addcontentsline{toc}{section}{Bibliography}
\bibliography{references}

\end{document}


내 이력서.tex는 다음과 같습니다

\documentclass[letterpaper,12pt]{Resume Sections/resume_cls} % See the resume.cls file to import packages and edit formatting/style
\begin{document}

%-------------------------------------------------------------------------------
%   HEADING INFORMATION
%-------------------------------------------------------------------------------




%-----------WORK EXPERIENCE----------- 
\input{Resume Sections/Work Experience}

%-----------TEACHING EXPERIENCE------------
\input{Resume Sections/Teaching Experience}

%-----------EDUCATION----------- 
\input{Resume Sections/Education}

%-----------JOB RELATED TRAINING-----------
%\input{Resume Sections/Job Related Training}

%-----------AFFILIATIONS-----------
%\input{Resume Sections/Affiliations}

%-----------PROFESSIONAL PUBLICATIONS-----------
\input{Resume Sections/Professional Publications}

%-----------REFERENCES-----------
%\input{Resume Sections/References}

%-----------ADDITIONAL INFORMATION-----------
%\input{Resume Sections/Additional Information}


\end{document}

관련 정보