Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
title릴리즈 Release 2.16.0 이상
수식/화학식을 삽입하고 속성을 편집할 수 있는 수식 편집기 플러그인 입니다
or later

This is an equation editor plug-in that allows you to insert equations/chemical formulas and edit properties.

사용 모듈

사이냅에디터 수식 편집기 플러그인은 MathType이라는 상용 모듈을 사용하고 있습니다.

사용을 원하실 경우 아래 페이지를 통해 문의하시기 바랍니다.

...


Use Module

The SynapEditor equation editor plug-in uses a commercial module called MathType.

사용방법

...


How to use

Load plugin file

Code Block
languagexml
themeEmacs
<!-- MathType라이브러리를 추가해야 사용이 가능합니다 MathTypeYou need to add the library to use it. (https://www.npmjs.com/package/@wiris/mathtype-generic#documentation) -->
<script src="url of mathtype-generic/wirisplugin-generic.js의 urljs"></script>
 
<!-- SynapEditor 객체가 존재해야 적용할 수 있기 때문에 에디터 스크립트 파일 아래에 include 해야 합니다 Since the object can be applied only when it exists, it must be included under the editor script file. -->
<script src="url of mathType.min.js의 urljs"></script>

툴바에 버튼 추가하기

수식 편집, 화학식 편집 버튼을 툴바 영역, 메뉴 영역에 추가할 수 있습니다.

...

Adding a Button to the Toolbar

Equation editing and formula editing buttons can be added to the toolbar area and menu area.

Add to Toolbar

Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
//...
'editor.toolbar': [
	// 수식formula/화학식chemical formula
    'mathType.math', 'mathType.chem'
	//...
],
// ...

플러그인 설정하기

mathType 설정하기

Setting up the plugin

Settting mathType

Sets the properties to be used when initializing the window.WirisPlugin.GenericIntegration

...

object.


Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
//...
'mathType.config': { 
    'properties': { 
        'configurationService': '/pluginwiris_engine/app/configurationjs' 
    } 
}
// ...

...