Latex 在我的texmate上创建节时获取十进制数?

Latex 在我的texmate上创建节时获取十进制数?,latex,Latex,在这里,我解释我的故事,我的家庭,我现在在哪里,等等 \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}

在这里,我解释我的故事,我的家庭,我现在在哪里,等等

\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}

对于这一部分,我得到的输出是0.1简介,请告诉我如何解决此问题。

您使用的是document类
书籍
。课程手册定义了命令
\part
\chapter
\section
\subsection
。如果添加节,latex将使用
{chapter number}.{section number}
作为默认值。由于您尚未开始章节,因此当前章节号为
0


您可以将章节升级为章节,也可以将类从
book
更改为
article
(或类似内容)。

您正在使用文档类
book
。课程手册定义了命令
\part
\chapter
\section
\subsection
。如果添加节,latex将使用
{chapter number}.{section number}
作为默认值。由于您尚未开始章节,因此当前章节号为
0

您可以将您的章节升级为章节,或者将类从
book
更改为
article
(或类似内容)

\end{document}