LaTeX 기사 클래스로 제목 페이지를 얻으려면 어떻게 해야 합니까?

LaTeX 기사 클래스로 제목 페이지를 얻으려면 어떻게 해야 합니까?

가능한 중복:
기사 클래스를 사용하여 별도의 제목 페이지를 만들려면 \maketitle을 어떻게 얻을 수 있나요?

나는 LaTeX 문서에서 제목 페이지와 요약을 세로로 중앙에 배치하려고 합니다(클래스에서와 마찬가지로 report). 지금 수업 을 이용하고 있어요 article. 본질적으로 내가 원하는 것은 report장이 없고 섹션과 하위 섹션 등만 있는 수업 입니다.

답변1

수업 옵션을 사용하세요 titlepage.

\documentclass[titlepage]{article}

\usepackage{lipsum}

\begin{document}

\title{(title)}
\author{(author)}
\maketitle

\begin{abstract}
\lipsum[1]
\end{abstract}

\lipsum[1]

\end{document}

답변2

기본적으로 섹션 수준 번호 매기기는report.cls~처럼

\renewcommand \thesection {\thechapter.\@arabic\c@section}

섹션 번호 앞에 \thechapter.. 다른 하위 수준 섹션화 명령은 유사한 계층 구조를 따릅니다. 따라서 report문서 클래스를 사용하고 다음을 사용하여 ( 및 같은 ) \chapter하위 수준 섹션 지정 명령에서 번호 매기기를 제거할 수 있습니다.\section\subsection

\renewcommand{\thesection}{\arabic{section}}

기술적으로 꼭 필요한 것은 아니지만 다른 장과 관련된 항목에도 재정의가 필요할 수 있습니다. 예를 들어 카운터 값에 대한 모든 조건은 if \theequation( 카운터 가 0보다 크고 첫 번째 부호 에서만 증가함 ) 를 앞에 추가합니다 . 관계없이 그리고 완전성을 위해:\thefigure\thetablechapter\thechapter.\c@chapter>\z@chapter0\chapter

\renewcommand{\theequation}{\arabic{equation}}
\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thetable}{\arabic{table}}

다음은 섹션 구조만 보여주는 최소한의 예(특별한 내용은 없음)입니다.

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

\documentclass{report}
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\author{A.\ Nonymous} \title{My title} \date{\today}
\renewcommand{\thesection}{\arabic{section}}%
\begin{document}
\maketitle
\tableofcontents
\section{First section} \lipsum[1]
\subsection{First subection} \lipsum[2]
\subsection{Second subsection} \lipsum[3]
\subsubsection{First subsubsection} \lipsum[4]
\section{Second section} \lipsum[5]
\end{document}

관련 정보