19. 附录¶
19.1. 参考书目¶
19.2. 参考网站¶
19.4. 数据库相关¶
19.5. 图像相关¶
19.6. 符号和表达式¶
19.7. RST语法参考¶
19.7.1. LaTeX数学表达式¶
This: \((x+a)^3\)
this: \(W \approx \sum{f(x_k) \Delta x}\)
this: \(W = \int_{a}^{b}{f(x) dx}\)
\(\sqrt{x}\),不好处理
and this:
\[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\ldots} } } } \]When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are \(x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\)
19.7.2. 其他语法¶
驱动器 C 中的卷是 系统专区
卷的序列号是 78E7-2220
注意
任何对文件的读取和写入动作,都会自动改变文件的指针偏移位置。
重点(emphasis)通常显示为斜体
重点强调(strong emphasis)通常显示为粗体
解释文字(interpreted text)通常显示为斜体
时间: | 2016年06月21日 |
---|
- 枚举列表1
- 枚举列表2
- 枚举列表3
- 枚举列表1
- 枚举列表2
- 枚举列表3
- 枚举列表1
- 枚举列表2
- 枚举列表3
下面是引用的内容:
“真的猛士,敢于直面惨淡的人生,敢于正视淋漓的鲜血。”
—鲁迅
“人生的意志和劳动将创造奇迹般的奇迹。”
—涅克拉索
0 1 2 | def AAAA(a,b,c):
for num in nums:
print(Num)
|
-a | command-line option “a” |
-b file | options can have arguments and long descriptions |
--long | options can be long also |
--input=file | long options can also have arguments |
/V | DOS/VMS-style options toofdsfds
fdsafdsafdsafsafdsafsa
fdsafdsafsd
|
John Doe wrote:
>> Great idea!
>
> Why didn't I think of that?
You just did! ;-)
A one, two, a one two three fourHalf a bee, philosophically,must, ipso facto, half not be.But half the bee has got to be,vis a vis its entity. D’you see?But can a bee be said to beor not to be an entire bee,when half the bee is not a bee,due to some ancient injury?Singing…
col 1 | col 2 |
---|---|
1 | Second column of row 1. |
2 | Second column of row 2. Second line of paragraph. |
3 |
|
Row 4; column 1 will be empty. |
功能
- 你好 list item. The blank line above the first list item is required; blank lines between list items (such as below this paragraph) are optional.
函数
你好 is the first paragraph in the second item in the list.
This is the second paragraph in the second item in the list. The blank line above this paragraph is required. The left edge of this paragraph lines up with the paragraph above, both indented relative to the bullet.
- This is a sublist. The bullet lines up with the left edge of the text blocks above. A sublist is a new list so requires a blank line above and below.
原始文本块内的任何标记都不会被转换,随便写。
`Bary.com <http://www.bary.com/>`_
这还会显示在原始文本块中。
缩进都会原样显示出来。
只要最后有空行,缩进退回到 :: 的位置,就表示退出了\ `原始文本块`_。
会自动把网址转成超链接,像这样 http://www.bary.com/ ,注意结束的地方要跟空格。
如果你希望网址和文本之间没有空格,可以用转义符号反斜杠 \ 把空格消掉,由于反斜杠是转义符号,所以如果你想在文中显示它,需要打两个反斜杠,也就是用反斜杠转义一个反斜杠。
渲染后紧挨文本和句号的超链接http://www.bary.com/。
其实遇到紧跟常用的标点的情况时,不需要用空格,只是统一使用空格记忆负担小。你看http://www.bary.com/,这样也行。
注解
写完本文我发现我用的渲染器对中文自动消除了空格,行尾不加反斜杠也行,但我不保证其他渲染器也这么智能,所以原样保留了文内的反斜杠。
如果希望硬断行且不自动添加空格(例如中文文章),在行尾添加一个反斜杠。折上去的部分就不会有空格。注意所有的硬换行都要对齐缩进。
打开模式 | r | r+ | w | w+ | a | a+ |
---|---|---|---|---|---|---|
可读 | ||||||
可写 | ||||||
创建 | ||||||
覆盖 | ||||||
指针在开始 | ||||||
指针在结尾 | ||||||
以空格作分隔符,间距均匀。决定了这个表格最多可以有5列,下划线的长度应不小于字符长度。 每一行的下划线,决定了相应列是否合并,如果不打算合并列,可以取消表内分隔线
11 12 | 13 14 15 | |||
21 | 22 | 23 | 24 | 25 |
31 | 32 33 | 34 35 | ||
41 42 42 44 45 |
Date: | 2001-08-16 |
---|---|
Version: | 1 |
Authors: |
|
Indentation: | Since the field marker may be quite long, the second and subsequent lines of the field body do not have to line up with the first line, but they must be indented relative to the field name marker, and they must line up with each other. |
Parameter i: | integer |