
논문 제목을 만들 때 그런 문제가 있습니다. .cls 파일에서 생성된 명령이 .tex 파일에서 사용하는 선언과 다르기 때문인 것으로 알고 있지만 문제를 찾을 수 없습니다. 내 .tex 부분은 다음과 같습니다.
\title{\Large{title}}
\crest{\includegraphics[width=40mm]{Figures/...}}
\author{My Name}
\collegeordept{Dept}
\university{Uni Name}
\supervisor{Supervisor name}
% DECLARATION
% Use the following command to change the declaration text:
%\renewcommand{\submittedtext}{INSERT NEW TEXT HERE}
\degree{Master's degree}
\degreedate{Date}
\begin{document}
% A page with the abstract and running title and author etc may be
% required to be handed in separately. If this is not so, comment
% the following 3 lines:
% \begin{abstractseparate}
% \input{Abstract/abstract}
% \end{abstractseparate}
\begin{spacing}{1}
\maketitle
\end{spacing}
.cls 부분은 다음과 같습니다.
% TITLE PAGE
\renewcommand{\maketitle}{%
\pagenumbering{roman} % Sasa Tomic
\setcounter{page}{0} % Sasa Tomic
\begin{alwayssingle}
\renewcommand{\footnotesize}{\small}
\renewcommand{\footnoterule}{\relax}
\thispagestyle{empty}
% \null\vfill
\begin{center}
{ \Huge {\bfseries {\@title}} \par}
{\large \vspace*{30mm} {{\@crest} \par} \vspace*{20mm}}
{{\Large \@author} \par}
{\large \vspace*{1ex}
{{\@collegeordept} \par}
\vspace*{1ex}
{{\@university} \par}
\vspace*{20mm}
{{\submittedtext} \par}
\vspace*{1ex}
{\it {\@degree} \par}
\vspace*{2ex}
{\@degreedate}}
\end{center}
% \null\vfill
\end{alwayssingle}
}
내가 어디 잘못 됐나요? 다들 감사 해요.
편집 : 오류는
\maketitle ... } \vspace *{20mm} {{\submittedtext
} \par } \vspace *{1ex}
{\...
l.109 \maketitle
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
오류를 어떻게 수정하나요?
답변1
정의 .cls
합니다
\newcommand{\submittedtextt}{{\textit{Supervisor}}}
아직 \maketitle
용도는
\submittedtext
.cls
정의하려면 수정해야합니다 .
\newcommand{\submittedtext}{{\textit{Supervisor}}}