恩看标题嘛、、、Xs要自学LaTeX的说!

话说cnblogs不支持插入LaTeX格式的代码的说?、、唔~

嘛。。。首先是些简单的东西(像是文件的格式啦,作者啦之类的):

(注意:\documentclass, \begin, \end, \author 和 \title的用法)

 

 1 \documentclass {article}
 2     \author {Xs}
 3     \title {Xs is trying to study LaTeX}
 4 
 5 \begin{document}
 6 
 7     \maketitle
 8     I hate "hello world" desu!!! % it is just a comment
 9 
10 \end{document}
View Code

 然后就是段落啦~:

(注意:\maketitle, \tableofcontents, \section, \subsection, \subsubsection, \paragraph, \subparagraph 和 \newline的用法)

 

 1 \documentclass {article}
 2     \author {Xs}
 3     \title {Xs is trying to study LaTeX}
 4 
 5 \begin {document}
 6     \maketitle
 7     \tableofcontents
 8 
 9     \section {Xs's note about LaTex}
10      Xs says that section is the main title
11         \subsection {What about sub**?}
12         subsection means a minor subject, like **.1, **.2
13             \subsubsection {Then is is subsubsection}
14             the name is so long that Xs think it's \textbf{alrready awful!!!!}
15                 \paragraph {And the next is the Paragraph}
16                     \subparagraph {Oh!!!}
17                     the last is subparagraph.Finally!
18                     \subparagraph {Let's try more about subparagraph~}
19                     Xs find that use various ways can be used to make a new line \newline
20                     Like this desu!
21                     
22 \end {document}
View Code

 不过呢、、、以上对于LaTeX的公式毫无应用价值呢、、、

posted on 2014-12-11 16:13  Xs酱~  阅读(291)  评论(2编辑  收藏  举报