KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › authblk 패키지를 사용하는 도중 두 번째 \maketitle에서 에러가 발생합니다.

위대한 서씨 | 2014.12.06 19:07:49 | 메뉴 건너뛰기 쓰기

작성하고 있는 코드의 중요한 부분만 뽑아오자면 다음과 같습니다. XeLaTeX을 사용하고 있습니다.


\documentclass[a4paper,10pt]{article}


\usepackage[hangul]{xetexko}

\setmainhangulfont{나눔명조}


\usepackage{titling}

\title{Just a Test}

\usepackage{authblk}

\renewcommand\Authands{, }

\renewcommand\Affilfont{\small}


\author[a]{저자}

\author[a]{저자저}

\author[b,*]{저자저자}

\affil[a]{여기}

\affil[b]{저기}

\affil[*]{교신 저자}

\date{}


\begin{document}

\maketitle


\newpage

\makeatletter

\renewcommand\AB@authlist{} %저자 목록 리셋

\renewcommand\AB@affillist{} %<< %저자 정보 목록 리셋

\makeatother

\setcounter{authors}{0}

\author[a]{Author}

\author[a]{AuthorAut}

\author[b,*]{AuthorAuthor}

\affil[a]{Here}

\affil[b]{There}

\affil[*]{Corresponding Author}

\renewcommand\Affilfont{\itshape\small}

\maketitle %<<<


\end{document}


국문 초록과 영문 초록을 만들기 위해 \maketitle이 두 번 사용되고 있습니다. 그런데 %<<가 있느냐 없느냐에 따라 %<<<에서


There's no line here to end. \maketitle


라는 에러가 나거나 말거나 합니다. (있으면 나고, 없으면 나지 않습니다)

에러가 나도 출력물에는 문제가 없기는 한데, 왜 에러가 나는 지 알고 싶습니다.


미리 감사드립니다.

댓글 [2]

댓글 쓰기

목록

KTUG 한국 텍 사용자 그룹