- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
数学公式排版语言:参照MathJax及Latex符号集记号定义三
数学公式排版语言:参照MathJax 及Latex
一、 符号集
小写字母:a..z ,A..Z
数字:0..9
特殊符号:\ 、(、)、{、}、_ 、^ 、$
分隔符:空格、换行
二、 记号定义
标识符:由字母开始,由字母和数字组成,显示为斜体
数字:无符号整型数,显示为普通字体
三、 语言规则
1. 句子:
$α$
2. 上下标:
上标^{α},下标_{α},上下标同时有用_^ {α}{β}其中α 是下标,β是上标。
3. 括号:
仅使用()嵌套。
4. 空格:
\blank
5. 大型运算:
积分:\int{α}{β}{γ}
累加:\sum{α}{β}{γ}
其中α是下限,β是上限,γ 是运算内容。
四、 基础文法
S$B$
BBB
BB_^ {B}{B}
BB^{B}
BB_{B}
B\int{B}{B}{B}
B\sum{B}{B}{B}
Bid | num | \blank | (B)
五、 输入输出
1. 输入:文本文件,一个输入文件中仅包含一个公式。
样例文件文件名:sample??.txt, 测试文件文件名:test??.txt
2. 输出:超文本标记语言文件。
样例文件文件名:sample??.html , 测试文件文件名:test??.html
3. 样例:
(1) :
$a^{2}$
html
head
META content=text/html; charset=gb2312
/head
body
div style=position: absolute; top:175px; left:500px;span style=font -size:50px; font-style:oblique; line-
height:100%;a/span/div
div style=position: absolute; top:160px; left:525px;span style=font -size:30px; font-style:normal; line-
height:100%;2/span/div
/body
/html
(2) :
$a_^{c2}{b}$
html
head
META content=text/html; charset=gb2312
/head
body
div style=position: absolute; top:175px; left:500px;span style=font -size:50px; font-style:oblique; line-
height:100%;a/span/div
div style=position: absolute; top:210px; left:525px;span style=font-size:30px; font-style:oblique; line-
height:100%;c2/span/div
div style=position: absolute; top:160px; left:525px;span style=font -size:30px; font-style:oblique; line-
height:100%;b/span/div
/body
/html
(3) :
$\sum{a^{2}}{b^{2}}{(c\int{1}{2}{dt})}$
html
head
META content=text/html; charset=gb2312
/head
body
div style=position: absolute; top:160px; left:492px;span style=font -size:80px; font-style:normal; line-
height:100%; ∑/span/div
div style=position: absolute; top:225px; left:564px;span style=font-size:30px; font-style:oblique; line-
height:100%;a/span/div
div style=position: absolute; top:216px; left:579px;span style=font -
原创力文档


文档评论(0)