update
This commit is contained in:
18
2019.12.04_latex_example/simple_example.tex
Normal file
18
2019.12.04_latex_example/simple_example.tex
Normal file
@@ -0,0 +1,18 @@
|
||||
\documentclass{article} %文档类声明
|
||||
\usepackage{ctex} %一个支持中文宏包,如果不用中文无法显示
|
||||
|
||||
|
||||
\begin{document} %正文
|
||||
\title{这是一个标题} %标题
|
||||
\author{作者名字} %作者
|
||||
\date{} %\maketitle默认会加上当前时间,用\date{},空着内容可以取消时间的显示
|
||||
\maketitle %加了这个,标题、作者等信息才会显示
|
||||
\section{节}
|
||||
\subsection{小节}
|
||||
\subsubsection{子小节}
|
||||
Hello, world! %下面空一行代表换行
|
||||
\textbf{用\textbackslash textbf\{\}可以加粗文本} %\textbf{}可以加粗文本
|
||||
\section{节}
|
||||
\part{}
|
||||
\part{}
|
||||
\end{document}
|
Reference in New Issue
Block a user