\documentclass[12pt] {book}
\begin{document}
\begin{titlepage}
\begin{center}
\line(1,0){300}\\
[4mm]
\huge{\bfseries THIS IS MY NOVEL}\\
[1mm]
\line(1,0){300}\\
\end{center}
\end{titlepage}
\section{Introduction}\label{sec:intro}我在这里解释我的故事,关于我的家庭,我现在所在的地方,等等。
\end{document}对于我得到的输出为0.1介绍的部分,请让我知道如何解决这个问题。
发布于 2017-08-28 04:02:59
您正在使用文档类book。类手册定义了命令\part、\chapter、\section、\subsection... see。如果您添加一个节,latex将默认使用{chapter number}.{section number}。因为您还没有开始一个章节,所以当前的章节编号是0。
您可以将您的章节提升为章节,或者将类从book更改为article (或类似的内容)。
https://stackoverflow.com/questions/45908468
复制相似问题