# [<img src="https://khan.github.io/KaTeX/katex-logo.svg" width="130" alt="KaTeX">](http://khan.github.io/KaTeX/) [![Build Status](https://travis-ci.org/Khan/KaTeX.svg?branch=master)](https://travis-ci.org/Khan/KaTeX)
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web.
* **Fast:** KaTeX renders its math synchronously and doesn't need to reflow the page. See how it compares to a competitor in [this speed test](http://jsperf.com/katex-vs-mathjax/).
* **Print quality:** KaTeX’s layout is based on Donald Knuth’s TeX, the gold standard for math typesetting.
* **Self contained:** KaTeX has no dependencies and can easily be bundled with your website resources.
* **Server side rendering:** KaTeX produces the same output regardless of browser or environment, so you can pre-render expressions using Node.js and send them as plain HTML.
KaTeX supports all major browsers, including Chrome, Safari, Firefox, Opera, and IE 8 - IE 11.
## Usage
Download the built files from [the releases page](https://github.com/khan/katex/releases). Include the `katex.min.js` and `katex.min.css` files on your page:
```html
<link rel="stylesheet" type="text/css" href="/path/to/katex.min.css">
<script src="/path/to/katex.min.js" type="text/javascript"></script>
```
Call `katex.render` with a TeX expression and a DOM element to render into:
```js
katex.render("c = \\pm\\sqrt{a^2 + b^2}", element);
```
To generate HTML on the server, you can use `katex.renderToString`:
```js
var html = katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}");
// '<span class="katex">...</span>'
```
Make sure to include the CSS and font files, but there is no need to include the JavaScript.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
## License
KaTeX is licenced under the [MIT License](http://opensource.org/licenses/MIT).
没有合适的资源?快使用搜索试试~ 我知道了~
PyPI 官网下载 | otree-core-0.2.251.zip
共211个文件
py:101个
html:41个
eot:12个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 57 浏览量
2022-02-13
01:41:17
上传
评论
收藏 873KB ZIP 举报
温馨提示
资源来自pypi官网。 资源全名:otree-core-0.2.251.zip
资源推荐
资源详情
资源评论
收起资源包目录
PyPI 官网下载 | otree-core-0.2.251.zip (211个子文件)
setup.cfg 64B
bootstrap.css 130KB
bootstrap.min.css 100KB
katex.min.css 22KB
bootstrap-theme.css 20KB
bootstrap-theme.min.css 17KB
theme.css 1KB
KaTeX_AMS-Regular.eot 59KB
KaTeX_Main-Regular.eot 49KB
KaTeX_Main-Bold.eot 48KB
KaTeX_Main-Italic.eot 28KB
KaTeX_Math-Italic.eot 26KB
KaTeX_Math-Regular.eot 26KB
KaTeX_Math-BoldItalic.eot 26KB
glyphicons-halflings-regular.eot 20KB
KaTeX_Size1-Regular.eot 10KB
KaTeX_Size2-Regular.eot 10KB
KaTeX_Size4-Regular.eot 8KB
KaTeX_Size3-Regular.eot 6KB
otree_change_list_results.html 9KB
otree_change_list.html 4KB
_BaseBuiltIn.html 3KB
Payments.html 3KB
TimeLimit.html 2KB
login.html 2KB
OtreeDotOrgFeedbackWidget.html 2KB
otree_data_export_list.html 2KB
index.html 2KB
_dashboard_app_template.html 2KB
WaitPage.html 2KB
HeadContent.html 1KB
PersistentLabURLs.html 1KB
index.html 1KB
bootstrap.html 1KB
SessionInfo.html 1KB
bootstrap.html 1KB
ajax_actions.html 1KB
PollServerThenRedirect.html 1KB
StartLinks.html 982B
AdvanceSession.html 863B
ajax_pagination.html 606B
StartSession.html 574B
MyPage.html 514B
Results.html 428B
radio_select_horizontal.html 378B
attrs.html 374B
CreateSession.html 367B
moneyinput.html 363B
checkbox_select_horizontal.html 357B
debug_info.html 311B
slider.html 273B
SessionListing.html 271B
OutOfRangeNotificationExperimenter.html 266B
MTurkSnippet.html 227B
base_site.html 217B
FormPage.html 210B
errors.html 157B
BaseBuiltIn.html 112B
NextButton.html 99B
WaitUntilParticipantsAreAssigned.html 0B
MANIFEST.in 217B
katex.min.js 108KB
jquery.min.js 82KB
bootstrap.js 59KB
bootstrap.min.js 27KB
jquery.animate-colors.js 5KB
jquery.countdown.js 5KB
jquery.animate-colors-min.js 3KB
init_katex.js 698B
mturk_hit_page.js 600B
init_widgets.js 560B
poll_server_then_redirect.js 0B
LICENSE 2KB
README.md 2KB
README.md 35B
django.mo 1KB
PKG-INFO 836B
PKG-INFO 836B
pencil.png 475B
django.po 2KB
abstract.py 27KB
adminlib.py 22KB
models.py 16KB
ajax_admin_list.py 13KB
export.py 12KB
forms.py 12KB
models.py 10KB
client.py 10KB
runner.py 10KB
concrete.py 10KB
__init__.py 8KB
__init__.py 7KB
0001_initial.py 7KB
demo.py 7KB
settings.py 6KB
subsessions.py 6KB
common_internal.py 5KB
admin.py 5KB
settings.py 5KB
test_templatecheck.py 5KB
共 211 条
- 1
- 2
- 3
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功