Latex学习笔记 (2) 段落结构

Latex 使用
Latex 根据层次分以为下几级:

  • part 第1级,用于将内容分成大的组成部分;
  • chapter 第2级,章节一般是书才会用到;
  • section 第3级 一级内容块,由多个段落组成;
  • subsection 第4级 二级内容块内容块;
  • subsubsection 第5级 三级内容块。
  • paragraph 段落;
  • subparagraph 子段落。

一示例文档如下所示。
在这里插入图片描述

Latex 源码

\documentclass[a4paper]{article} 
\title{An Brief Introduction To Latex Document Structure} 
\author{Tom}
\date{March 26, 2019}
\begin{document} 
\maketitle 

\tableofcontents

\part{Basics}

% \chapter 只对 documentclass 为 book 时起作用。
% \chapter{Introduction}
This is the first chapter.

\section{Section I} 
This is a section.
\subsection{Sub Section I-I} 
This is a sub section.
   
\subsubsection{Sub Sub Section I-I-I} 
This is a sub sub section.

\paragraph{Paragraph P1} This is a basic unit of a group of sentences.

\subparagraph{Sub Paragraph I} This a sub paragraph of P1.
\subparagraph{Sub Paragraph II} This a sub paragraph of P1. 

\subsubsection{Sub Sub Section I-I-II} 
This is another sub sub section.

\end{document}


猜你喜欢

转载自blog.csdn.net/weixin_43145361/article/details/88765619