Basic format

\documentclass[11pt]{article} 

Decide the document layout and basic font size.And there are other document layouts such as book, report, letter and so on.

\usepackage{CJK}

Using macro packages, CJK means to consider spaces in Chinese, CJK* means not considering spaces in Chinese but consider the spaces in English.The area between \documentclass and \begin is the introductory area for placing global control commands.

\begin{document}

\begin and \end form an environment, and there is only one document environment in a document.

\begin{CJK}{GBK}{song}

GBK indicates the type of character set used, and song indicates the type of font used, such as kai, fs, hei, li, you and other fonts.

Here is the space to write the text.

\end{CJK}

\end{document}

Special character input  Space:

\space or ~

Quotation marks:

‘ --->    ’---> ' *左撇单引号    “ ---> `    ”--->'' *双左撇单引号

Line break:

\\[] or \\*[] or \newline  % Forced line break

\linebreak[n]  % n=0,1,2,3,4 Suggested line break

\-  % Word suggesting a new line

Segmentation:

\par  or Two consecutive Enter

Automatic paging:

\newpage  % Forced paging

\pagebreak[n]  % Suggested paging

Resources: http://math.ecnu.edu.cn/~latex/

 

Last modified: 2020年2月14日

Comments

Write a Reply or Comment

Your email address will not be published.