加载中…
个人资料
weier
weier
  • 博客等级:
  • 博客积分:0
  • 博客访问:1,102
  • 关注人气:17
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

解决MathType插入公式后多出空格问题

(2016-10-13 16:27:34)
标签:

word

mathtype

公式编辑

在word中插入使用MathType工具栏插入公式时,通常会在公式后自动添加一个空格,对于中文来说,这个空格是多余的,如何设置取消这个空格呢?
网上有相应解决方法:
1.关闭所有打开的MathType窗口和MathType服务器。MathType服务器如下图所示:
2.下载注册表文件,点击这里
3.解压注册表压缩文件,双击WordCommands.reg文件(适合MathType6.8版本及以上)

链接:https://dessci.com/en/support/mathtype/tsn/tsn143.htm
原文:
MathType: an extra space is inserted after inline equations

The information in this document applies to:  

  • MathType 6.8 and later (Windows)
  • Microsoft Word 2007 and later (Windows)

Issue:

When inserting an inline equation, an extra space is inserted after the equation in Word.


Reason:

The space was added as a workaround to a known Microsoft issue that occurs when inline equations are the last object on a line, causing inline equations to appear raised above the baseline.


Solution:

Since the inclusion of an extra space after an equation can at times have a negative effect on formatting, there is a simple registry key that can be added in order to prevent the extra space. To do so, follow the instructions below.

  1. Exit from Microsoft Word and MathType.
    • Note: To "exit" MathType means more than closing all open MathType windows. It also means exiting the MathType Server. This has nothing to do with a computer network, and is normally running when you have used MathType with Word. To check whether the MathType Server is running, look in the "Notification Area" in the lower right of  your screen, near the clock:

      https://dessci.com/en/support/mathtype/tsn/tsn143_1.png

      Click the MathType Server icon, then click Exit.
  2. Click to download the registry key to your default download location.
  3. Unzip the downloaded file. This will reveal a folder called MTW68RegFix that contains a file called WordCommands.reg. Even though the file contains the name MTW68, this is not onlyfor MathType 6.8. This works for versions 6.8 and later.
  4. Double-click WordCommands.reg to install this registry key (depending on your version of Windows, you may be prompted to confirm/allow this action).
  5. Note, adding this registry key will remove the workaround mentioned above, and the potential for poor baseline alignment will return.

This will eliminate the extra space inserted after an inline equation. You can edit this registry key to turn the feature on or off as required by your work processes as follows:

Note: If you followed the steps above, you do not have to follow the steps below. What follows is the process to add the space back, should you need to do so in the future.

  1. Click Start.
  2. Type regedit in the Start Search box, and then press ENTER.
  3. If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
  4. Navigate to the following registry subkey:
    • HKEY_CURRENT_USER\Software\Design Science\DSMT6\WordCommands\
  5. Located in the right pane is a string value for NoSpaceAfterInline. Edit the value as follows:
    • To include an extra space after an inline equation, value should be 0.
    • To disallow an extra space after the equation, value should be 1.

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有