[wordpress插件] Codecogs Latex Equation EditorCodecogs Latex公式编辑器

wordpress 插件 文章 2020-03-26 20:00 632 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

A Tiny MCE plugin which makes writing latex equation easy and WYSIWYG(what you see is what you get).

一个微型MCE插件,可以轻松编写乳胶方程式并实现所见即所得(所见即所得)。

It converts latex code into image which shows real beautiful latex equations on your post.

它将乳胶代码转换为图像,从而在您的帖子上显示真正美丽的乳胶方程。

It adds an “fx” botton on the wordpress TinyMCE editor, on clicks it the codecogs latex equation editor pops up, where you can edit latex, then click the copy button to copy the equation image back in TinyMCE textarea.

它会在wordpress TinyMCE编辑器上添加一个“ fx”按钮,单击它会弹出编解码器乳胶方程编辑器,您可以在其中编辑乳胶,然后单击“复制”按钮将方程图像复制回TinyMCE文本区域。

p>

>

You can also use this editor to only input latex code and let plugins like quicklatex, mathjax or Latex for WordPess to convert it to equation image, you’d better change line 90 in editor_plugin.js

您还可以使用此编辑器仅输入乳胶代码,并让quickPlatex,mathjax或WordPess的Latex之类的插件将其转换为方程式图像,最好更改editor_plugin.js中的第90行

tinyMCE.activeEditor.execCommand(‘mceInsertContent’, false, ”);

tinyMCE.activeEditor.execCommand(‘mceInsertContent’,false,”);

to


tinyMCE.activeEditor.execCommand(‘mceInsertContent’, false, ‘\[‘+latex+’\]’);

tinyMCE.activeEditor.execCommand('mceInsertContent',false,'\ ['+ latex +'\]');

inorder to only copy LaTex code to TinyMCE textarea when click the copy button.

以便在单击“复制”按钮时仅将LaTex代码复制到TinyMCE文本区域。

I just followed the tutorial written by Greg Winiarski(http://ditio.net/2010/08/15/adding-custom-buttons-to-wordpress-tinymce/) and make codecogs Tiny MCE plugin(http:/

我刚刚按照Greg Winiarski(http://ditio.net/2010/08/15/adding-custom-buttons-to-wordpress-tinymce/)编写的教程进行操作,并制作了codecogs Tiny MCE插件(http:/

/www.codecogs.com/latex/integration/tinymce/install.php) into a wordpress plugin.

/www.codecogs.com/latex/integration/tinymce/install.php)添加到wordpress插件中。

Thanks the great guys.

谢谢伟大的家伙。

If you can make the plugin better to use please tell me in http://www.verymath.com/2011/05/10/codecogs-latex-equation-editor/

如果您可以使该插件更好地使用,请在http://www.verymath.com/2011/05/10/codecogs-latex-equation-editor/ 中告诉我

Arbitrary section

任意部分

You may provide arbitrary sections, in the same format as the ones above.

您可以提供与上述格式相同的任意部分。

This may be of use for extremely complicated

这可能适用于极其复杂的

plugins where more information needs to be conveyed that doesn’t fit into the categories of “description” or

需要传达更多信息的插件,这些信息不属于“描述”或
类别

“installation.”

“安装。”

Arbitrary sections will be shown below the built-in sections outlined above.

任意部分将显示在上面概述的内置部分下面。

A brief Markdown Example

一个简短的Markdown示例

Ordered list:

订购清单:

    1. Some feature
    2. 某些功能

    3. Another feature
    4. 另一个功能

    5. Something else about the plugin
    6. 关于插件的其他事情

    Unordered list:

    无序列表:

安装步骤

    1. Upload to the /wp-content/plugins/ directory
    2. 上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. find the “fx” button on you wordpress TinyMCE editor
    6. 在您的Wordpress TinyMCE编辑器上找到“ fx”按钮

    You can also use this editor to only input latex code and let plugins like quicklatex, mathjax or Latex for WordPess to convert it to equation image, you’d better change line 90 in editor_plugin.js

    您还可以使用此编辑器仅输入乳胶代码,并让quickPlatex,mathjax或WordPess的Latex之类的插件将其转换为方程式图像,最好更改editor_plugin.js中的第90行

    tinyMCE.activeEditor.execCommand(‘mceInsertContent’, false, ”);

    tinyMCE.activeEditor.execCommand(‘mceInsertContent’,false,”);

    to


    tinyMCE.activeEditor.execCommand(‘mceInsertContent’, false, ‘\[‘+latex+’\]’);

    tinyMCE.activeEditor.execCommand('mceInsertContent',false,'\ ['+ latex +'\]');

    inorder to only copy LaTex code to TinyMCE textarea when click the copy button.

    以便在单击“复制”按钮时仅将LaTex代码复制到TinyMCE文本区域。

下载地址
https://downloads.wordpress.org/plugin/codecogs-latex-equation-editor.zip
-EOF-

AI助手支持GPT4.0