Используемое в контенте сайта слово MathType является зарегистрированной торговой маркой компании Maths for More S.L.
The word MathType used in the website content is a registered trademark of Maths for More S.L.
Official website of the company - https://www.wiris.com. Email: info@wiris.com. Address: Roger de Flor, 223, 08025 Barcelona, Spain.

You can set or change MT-Script global preferences from menu MT-Script-CS**->Preferences or by clicking on MT-Dialog-CS**.jsx from folder User/MT-Script-CS**/ in palette Scripts (in InDesign).

A dialog box with global preferences will appear.

mt-script settings

0 — version of this script.

1 — MT-Script is for Windows only.

2 — Choose language of interface ( Russian or English ).

3 "Updating of shift of baseline". When MathType exports equation to EPS or WMF file it writes extra information about size of equation and position of baseline relatively rectangle containing equation. Change value in this field to shift baseline up or down from setted by MathType. Don't forget process equations before you see the result (select text with equations and click MT-Script-CS***-->Treat the text with equations). When this feature can be useful? Sometimes font of text in publication may be different then font in equation. As a result character '=' in equation and in text may be not on one horizontal line. You can correct it here.

4"Additional displacement upwards from the equation" is in points. Positive and negative values are possible.
If an equation has fraction it will be high as two lines and it can overlap text string over it. To prevent it turn on "Switch on the apllying leading for the equation". Now you tell to MT-Script you want to change leading in insertion point of the equation. Write in "Additional displacement upwardsform the equation" concrete value of additional leading which must be applied to the insertion point where equation is. For example, type there 5. Script calculates new leading as part of equation height under baseline plus 5. Type there -100 to set autoleading for insertion point with equation. Don't forget to process equation ("Treat the text with equations") to apply new settings.

отбивка строки сверху над строкой с формулой

The formula for leading for equation:

leading = equation height – baseline shift + additional baseline shift + your settings (except -100).

Please, put your attention that leading of equations can differ from leading of all other text. If you put text pointer just after equation and type some text it will be the text with leading of equation which is not equal to leading of other text.

5 "Additional displacement downwards from the equation in multiline paragraph" (in points). Available positive, negative values and zero. This is wrapping of equation from bottom. For smooth displacement of text line below, please, turn off "Skyp by Leading" in InDesign Preferences (CTRL + K) (tab Composition).

обтекание формул снизу

6 — If "Additional displacement downwards from equation in one-line paragraph" is turned on then wrapping of one-line paragraph will be determined by this parameter. If it is turned off then equations in one- and multiline paragraphs will be determined by "Additional displacement downwards from equation in multiline paragraph".

7 — If "Additional displacement downwards from equation in one-line paragraph" is turned on then "Swicth on checking of one- and multiline paragraph transition" becomes active. Tutn it on to force MT-Script to understand if paragraph becomes from one-line to muliline and vise a versa. This allows to apply different parameters of wrapping depending on whether equations are in one- or in multiline paragraphs. If it is one-line paragraph then wrapping from bottom determined by option "Additional displacements downwards from the equation in the one-line paragraph". If it is multiline paragraph then by "Additional displacements downwards from the equation in the one-line paragraph". More over, if you type some text in one-line paragraph and it becomes multiline then MT-Script will apply wrapping parameters for multiline paragraph to all equations in the paragraph and visa a versa. Of course you have to process this text because MT-Script is just a script not a plugin and can do nothing untill you start it.

8"Change equations scale" allows to change scale of all equatiion in selected text after alignment (Treat the text with equations). If this option is off then scale of equations will not be changed.

9 — Turn on "Switch on checking of equations duplication (for script MT-Edit)" to check duplication of equations in each editing. In this case before each editing MT-Script will check if there are any other equations linked to the same file as editable equation. And if YES then MT-Script makes copy of file, relink editable equation to it and open it for editing. But if there are a lot of equations in your publication this process can spend a lot of time. The best way for this case is turning "Switch on checking of equations duplication (for script MT-Edit)" off and check duplication of equations manually time to time by command menu MT-Script-CS*-->Test the duplicated equations.

10Show MTGate6.exe status. To show or not small information window at right bottom corner of the window to get message about active action.

11 "Switch on (off) Progressbar for all scripts".

12 — Click "© Mikizil V., 2010" to visit this site.

13Clear Pref, Preference file - ****, WMF, EPS.

WMF, EPS — set format of files for creating new equations or formatting (batch transformation) old ones.

Preference file - ****. **** — name of MathType preference file which will be used for creating new equation or formatting old ones. By the way, to clear this settings (to obtain undeclared) just click Clear Pref button.

So, to choose some MathType preference file click Preference file - ****, the dialog box will appear. Find needed file (this is a file with extention "eqp"), click on it and click Ok. Its name will be instead of characters ****. For example, Preference file - Euclid10.

MT-Script preferences dialog box

What is MathType preference file? This is a file containing settings for MathType equations.

How to create it? Open MathType, create new equation or open earlier saved one, set font styles, size styles or possibly change spaces between parts of equation (menu Format --> Define Spacing... in MathType). Now save preference file. Click MathType menu Preferences->Equation preferences->Save to file. That's all.

If now in MT-Script global preferences you choose some MathType preference file all new equations can be create with these settings. Also these settings will be applied if you start command "Batch transformation of equations" to format all equations in selection or if you start Find & Change process.

But if preference file is undecleared then new equations can be created with default settings but formatting and find&change process will not affect on equations absolutely. All their setting will not be changed.

You can select WMF or EPS and processed equations will be linked to EPS or WMF-files respectively (files of new type will be created old ones removed and equations relinked to new ones). For example, if previously your equations were WMF, click on EPS and format equations ("Batch transformation of equations") and all your equations will be EPS-files (with the same names but with another extention --- EPS).

14 Ok — appy changes and Cancel — cancel changes.