WO2010069132A1 - 一种用于交互式公式排版软件的公式输入方法及系统 - Google Patents

一种用于交互式公式排版软件的公式输入方法及系统 Download PDF

Info

Publication number
WO2010069132A1
WO2010069132A1 PCT/CN2009/001444 CN2009001444W WO2010069132A1 WO 2010069132 A1 WO2010069132 A1 WO 2010069132A1 CN 2009001444 W CN2009001444 W CN 2009001444W WO 2010069132 A1 WO2010069132 A1 WO 2010069132A1
Authority
WO
WIPO (PCT)
Prior art keywords
formula
symbol
operator
input
name
Prior art date
Application number
PCT/CN2009/001444
Other languages
English (en)
French (fr)
Inventor
杨雷鸣
赵志刚
王家杰
Original Assignee
北大方正集团有限公司
北京北大方正电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北大方正集团有限公司, 北京北大方正电子有限公司 filed Critical 北大方正集团有限公司
Publication of WO2010069132A1 publication Critical patent/WO2010069132A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/111Mathematical or scientific formatting; Subscripts; Superscripts

Definitions

  • the invention belongs to the field of printing typesetting technology, and particularly relates to a formula input method and system for interactive formula layout software. Background technique
  • Interactive typesetting and non-interactive typesetting methods for formula layout, and non-interactive typesetting methods such as streaming typesetting.
  • Interactive formula layout software is mainly used to reduce the threshold of typesetting formulas, making it easy for users to learn and use.
  • non-interactive there is a certain disadvantage in speed for a very skilled non-interactive user. The reason is that the technical differences in the implementation are thrown away, mainly in the following aspects:
  • Interactive formula layout requires hands to switch between mouse and keyboard. This switching takes a certain amount of time; (2) operator and symbol search, interactive formula layout and various operators and Symbols need to be found in the toolbar template on the layout. Due to the large number of operators and symbols, it is not easy and quick to find the desired operator or symbol directly. This kind of search is also accompanied by the hand.
  • a formula input method for interactive formula layout software comprising the following steps:
  • step (1) Enter the operator or symbol name in the character input area of the formula input method interface, and display the operator or symbol matching the input name according to the mapping relationship in the formula display area of the formula input method interface, select the operator or Symbol, inserted into the layout.
  • a formula input method for an interactive formula typesetting software in step (1), an abbreviation of an operator or a symbol of a Chinese pinyin or a Chinese pinyin or an English name is used as an operator or a symbol.
  • the specific process in the formula display area is: Enter the first character, find all the operators or symbols whose names begin with the first character of the input in the mapping table, and display them in the formula display area; Enter the second character , in all operators or symbols whose names begin with the first character, find the operator or symbol whose second character in the name matches the second character of the input, and display it in the formula display area; and so on, Until the user input is complete.
  • a formula input method for interactive formula layout software as described above, step (3) an operator or a symbol name is input in a character input area, and an operator or symbol matching the input name is displayed according to the mapping relationship.
  • the specific process in the formula display area is: Enter the first character, find all the operators or symbols whose names begin with the first character of the input in the mapping table, and display them in the formula display
  • a formula input method for interactive formula layout software in step (3), in the process of inputting a name, when the first character input does not have a matching operator or symbol, a prompt sound is emitted.
  • a formula input method for interactive formula typesetting software in the process of inputting a name in step (3), when there is no matching operator or symbol after inputting a character, the formula display area The operator or symbol shown in it does not change.
  • a formula input method for interactive formula layout software as described above when an operator or a symbol is selected in step (3), a selection is made by a number in front of the operator or symbol, or is selected by a mouse, or The Enter key selects the first operator or symbol in the formula display area.
  • a formula input system for interactive formula layout software includes a classification naming module for classifying and naming operators or symbols; for establishing a mapping relationship between an operator or a symbol name and an operator or symbol a mapping module; and an input display module for inputting an operator or symbol name, displaying an operator or symbol that matches the input name according to the mapping relationship, and inserting the selected operator or symbol into the layout.
  • a formula input system for interactive formula layout software as described above, the system being started and closed simultaneously with the interactive formula layout software.
  • An formula input system for an interactive formula layout software as described above wherein the input display module is provided with a formula input method interface, the formula input method interface includes a character input area and a formula display area, and the character input area is used for Displays the name of the operator or symbol entered, and the formula display area is used to display the operator or symbol that matches the input name.
  • a formula input system for interactive formula layout software as described above the system further comprising an operator or symbol encoding for converting an operator or symbol code in the system into an interactive formula layout software Code conversion module.
  • the effect of the invention is that: by adopting the method of the invention, the formula can be quickly input on the layout, so that the user can basically leave the mouse, the uninterrupted, the eye focus is always within the formula input range, and the input rhythm can be input without interrupting the input rhythm.
  • the formula thus increases the efficiency of the interactive formula typesetting software typesetting formula, and also reduces the learning difficulty of the user.
  • Figure 1 is a schematic diagram showing the structure of a formula input system
  • Figure 2 is a schematic diagram of the interface of the formula input method
  • mapping relationship table 3 is a schematic structural diagram of a mapping relationship table
  • Figure 4 is a flow diagram of input operators or symbols. detailed description
  • the invention is applicable to interactive formula layout software, and provides a method and system for quickly inputting formulas for the software.
  • the core idea is: First, classify and name all the operators or symbols, establish the mapping relationship between names and operators or symbols, and find the matching by entering the name of the operator or symbol in the formula input method interface.
  • the operator or symbol insert the operator or symbol into the layout, use this way to complete the input of the entire formula, as simple as the Chinese input method to input Chinese characters, to achieve the purpose of fast input formula.
  • Figure 1 shows the structure of a formula input system, mainly including a classification naming module 1 1 for classifying and naming operators or symbols; for establishing a mapping relationship between operators or symbol names and operators or symbols Mapping module 12; and for inputting an operator or symbol name, displaying an operator or symbol that matches the input name based on the mapping between the operator or symbol name and the operator or symbol, and selecting the operator or The symbol is inserted into the input display module 13 of the layout.
  • a classification naming module 1 1 for classifying and naming operators or symbols
  • Mapping module 12 for establishing a mapping relationship between operators or symbol names and operators or symbols Mapping module 12
  • an operator or symbol name displaying an operator or symbol that matches the input name based on the mapping between the operator or symbol name and the operator or symbol, and selecting the operator or The symbol is inserted into the input display module 13 of the layout.
  • Classification naming module 1 1 First classify and name all the operators or symbols in the interactive formula layout software, and group similar operators or symbols into groups.
  • the names of each group can be the same. For example, for fractions, you can divide the positive fraction, the oblique fraction, etc. into groups and use the same name.
  • the name of the operator or symbol can be the Chinese Pinyin of the operator or symbol, the abbreviation of Chinese Pinyin or the English name, etc., which is convenient for the user to remember.
  • the fractions can be named f, fe, fen, fens, fensh, fensh i, f s, etc.
  • the roots can be named g, ge, gen, gens, gensh, gensh i, gs, and so on. In the name, it is best not to use the number keys, because the number keys are used to select operators or symbols.
  • the mapping module 12 establishes a mapping table between the operators or symbol names and the operators or symbols.
  • a name can correspond to multiple operators or symbols, an operator or a symbol can also correspond to multiple names, that is, the two can be a many-to-many relationship.
  • Figure 3 shows the structure of the mapping table, which is divided into three parts.
  • a part 31 is a mapping relationship part, which is used to indicate which mapping name an operator or symbol has;
  • a part 32 is a picture ID corresponding to an operator or a symbol, and is used to find a picture of the operator or symbol;
  • the remaining part 33 is An association of interactive formula layout software for passing a request for the operator or symbol to an interactive formula layout software for insertion into the layout.
  • the 2 shows the formula input method interface provided by the input display module 13, which is the main way to accept the user input and provide the formula operator or symbol desired by the user, and is composed of the character input area 21 and the formula display area 22 .
  • the character input area 21 is for displaying an input operator or symbol name
  • the formula display area 22 is for displaying an operator or symbol matching the name input by the character input area 21. Due to the limitation of the size of the formula display area 22, an operator or symbol that cannot be displayed on one page is left to the next page display, and the formula display area 22 provides an up and down page turning button 23, prompting the user to match the input name. Symbol or symbol
  • the number has multiple pages, and the user can click the page flip button 23 or press the page flip button on the keyboard to page through.
  • the formula input method interface automatically matches the width of the displayed operator or symbol.
  • the formula input method interface can be started by the switch key.
  • Set a function key (such as Shift key) on the keyboard as the switch key. This key can be used to switch between the formula input method interface and the non-form input method interface.
  • Figure 4 is a flow chart of input operators or symbols.
  • First start the formula input method system Starting the system is very fast and convenient, and it is best to start it without the user's knowledge.
  • the startup and closing of the formula input method system is synchronized with the interactive formula typesetting software, thereby eliminating the need for the user to start the operation of the formula input method system when the user frequently switches between the input text and the formula, thereby improving the formula.
  • the efficiency of the input is very fast and convenient, and it is best to start it without the user's knowledge.
  • the formula input method interface when no character is input in the character input area 21, the most commonly used operator or symbol is displayed in the formula display area 22. If the user selects one of the most commonly used operators or symbols, the formula input method interface is closed. Select the operator or symbol displayed in the formula display area 22, which can be selected by the mouse or by the operator or the number before the symbol. When the first operator or symbol in the formula display area 22 is selected, it can also be passed. Carriage return selection.
  • the input display module 13 searches for an operator or symbol matching the input character from the mapping relationship table, and if found, the ID of the display picture attached by the operator or symbol Find the corresponding picture displayed in the formula display area. This process is repeated until all operators or symbols that match the input characters are displayed in the formula display area 22.
  • the specific process of finding the matching operator or symbol is: When inputting the first character, find all the operators or symbols whose names begin with the first character of the input in the mapping table, and display it in the formula display area 22 ; When entering the second character, find the operator or symbol whose second character in the name matches the second character of the input in all operators or symbols whose name begins with the first character, and display it in the formula Display area 22; and so on, until the user no longer enters characters. That is, the operator shown in the formula display area The or symbol gradually becomes more accurate as the input characters increase. The matching of the name begins with the first character entered and gradually narrows the search. In this way, it may be that when the user has not input the formula name, the desired formula has been displayed in the formula display area, thereby further improving the efficiency of the formula input.
  • the user If the first character input by the user does not have a matching operator or symbol, then the user is given a prompt tone, and it is meaningless to tell the user to input again. There is no corresponding operator or symbol, and the user needs to delete the input character. re-enter.
  • the operator or symbol displayed in the formula display area 22 is updated according to the above-described matching rule.
  • the input display module 31 passes the request of the operator to the operator or symbol according to the association with the interactive formula layout software in the relationship mapping table, and inserts the operator or symbol into the interactive formula layout software. Into the layout.
  • First switch to the formula input method interface enter " fenshi " in the character input area 21, find the fraction in the formula display area 22, insert into the layout, and close the formula input method interface.
  • the non-formula input method interface enter the fractional numerator "x+y” and the denominator "2", and then enter the "+” sign.
  • Switch to the formula input method interface enter "genshi” in the character input area 11, find the root type in the formula display area 22, insert it into the layout, and close the formula input method interface.
  • In the non-formula input method interface enter the base “x+y” and the exponent "2" of the root, and the formula is entered.
  • the system when the operator or symbol encoding is different from the operator or symbol encoding in the interactive formula typesetting software, the system is further provided with a code conversion module (not shown in FIG. 1), which is used in the system.
  • the operator or symbol encoding is converted into an operator or symbol encoding in an interactive formula layout software.
  • the fractional code is 01
  • the interactive formula layout software has a fractional code of 09, or a string, and so on.
  • only the code conversion module converts the code 01 of the system in the system into a 09 or a string that can be accepted by the interactive formula typesetting software according to the conversion table. In this way, the system can be applied to interactive formula layout software generated by different companies.
  • the method and system of the present invention are not limited to the specific embodiments described above, and other embodiments obtained by those skilled in the art according to the technical solutions of the present invention are also within the scope of the technical innovation of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

一种用于交互式公式排版软件的公式输入方法及系统 技术领域
本发明属于印刷排版技术领域, 具体涉及一种用于交互式公式排 版软件的公式输入方法及系统。 背景技术
对公式的排版有交互式的排版方式和非交互式的排版方式, 非交 互式的排版方式如流式排版等。 交互式的公式排版软件主要是为了降 低排版公式的门槛高度, 使用户易于学习和使用。 但同非交互式相比, 尤其对于一个非常熟练的非交互式使用者来说在速度上会有一定的劣 势。 究其原因, 抛去在实现的技术上的差异, 主要有以下几个方面:
( 1 ) 交互式公式排版方式需要手在鼠标和键盘间不停的切换, 这种切 换需要一定的时间; (2 ) 运算符和符号的査找, 交互式的公式排版方 式的各种运算符和符号都需要到版面上的工具条模版中去查找, 由于 运算符和符号的数量巨大, 直接找到想要的运算符或符号并不是件容 易和快捷的事情, 这种査找的同时也伴随着手到鼠标的切换, 耗时非 常大, 而非交互式的则不需要査找; (3 ) 眼睛的焦点的切换, 由于要 寻找想要的运算符或符号, 那么眼睛焦点必须要从公式的输入部分跳 到工具条等部分, 这也需要时间, 而且会打断输入节奏; (4 ) 由于交 互式所做的操作要远比书版这种语言式的要复杂得多, 所以操作人的 思维也必须是跳跃式的, 这也要耗掉一部分时间, 并且也会打乱节奏。 因此, 交互式的公式排版软件输入公式的效率较低。 发明内容
针对现有技术中存在的缺陷, 本发明的目的是提供一种能够在版 面上快速输入公式的用于交互式公式排版软件的公式输入方法及系 统。 为实现上述目的, 本发明采用的技术方案如下: 一种用于交互式公式排版软件的公式输入方法, 包括以下步骤:
(1) 对运算符或符号进行分类并命名; .
(2) 建立运算符或符号名称与运算符或符号之间的映射关系表;
(3) 在公式输入法界面的字符输入区中输入运算符或符号名称, 根据映射关系将与输入名称相匹配的运算符或符号显示在公式输入法 界面的公式显示区中, 选择运算符或符号, 插入到版面中。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤 (1) 中将运算符或符号的汉语拼音或者汉语拼音的缩写或者英文名作 为运算符或符号的名称。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤
(1) 中将相似的运算符或符号分为一组, 每组运算符或符号采用相同 的名称。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤
(2) 中运算符或符号名称与运算符或符号为多对多的映射关系。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤
(3) 中所述公式输入法界面与非公式输入法界面之间通过切换键进行 切换。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤 (3) 中在字符输入区中输入运算符或符号名称, 根据映射关系将与输 入名称相匹配的运算符或符号显示在公式显示区中的具体过程为: 输入首个字符, 在映射关系表中査找所有名称以输入的首个字符 开头的运算符或符号, 将其显示在公式显示区中; 输入第 2 个字符, 在所有名称以首个字符开头的运算符或符号中査找名称中第 2 个字符 与输入的第 2 个字符相匹配的运算符或符号, 将其显示在公式显示区 中; 依此类推, 直到用户输入完毕为止。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤
( 3 ) 中当在字符输入区中没有字符时, 公式显示区中显示最常用的运 算符或符号。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤 ( 3 ) 中在输入名称过程中, 当输入的第一个字符没有相匹配的运算符 或符号时, 发出提示音。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤 ( 3 ) 中在输入名称过程中, 当输入一个字符后不再有相匹配的运算符 或符号时, 则公式显示区中显示的运算符或符号不变。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤 ( 3 ) 中选择运算符或符号时, 通过该运算符或符号前面的数字进行选 择, 或者通过鼠标进行选择, 或者通过回车键选择公式显示区中的第 一个运算符或符号。 如上所述的一种用于交互式公式排版软件的公式输入方法, 步骤 ( 3 ) 中当相匹配的运算符或符号不能全部显示在公示显示区中时, 多 页显示, 通过翻页键进行翻页。 一种用于交互式公式排版软件的公式输入系统, 该系统包括用于 对运算符或符号进行分类并命名的分类命名模块; 用于建立运算符或 符号名称与运算符或符号之间映射关系的映射模块; 以及用于输入运 算符或符号名称, 并根据映射关系显示与输入名称相匹配的运算符或 符号, 并将选择的运算符或符号插入到版面上的输入显示模块。 如上所述的一种用于交互式公式排版软件的公式输入系统, 所述 系统与交互式公式排版软件同时启动和关闭。 如上所述的一种用于交互式公式排版软件的公式输入系统, 所述 输入显示模块设有公式输入法界面, 所述公式输入法界面包括字符输 入区和公式显示区, 字符输入区用于显示输入的运算符或符号的名称, 公式显示区用于显示与输入名称相匹配的运算符或符号。 如上所述的一种用于交互式公式排版软件的公式输入系统, 所述 系统还包括用于将本系统中的运算符或符号编码转换成交互式公式排 版软件中的运算符或符号编码的编码转换模块。 本发明的效果在于: 采用本发明所述的方法可以快速的在版面上 输入公式, 使用户能够基本脱离鼠、 不间断、 眼睛焦点始终在公式输 入范围内、 不打断输入节奏便可输入所有的公式, 从而增加了交互式 公式排版软件排版公式的效率, 而且还降低了使用者的学习难度。 附图说明
图 1是公式输入系统结构示意图;
图 2是公式输入法界面示意图;
图 3是映射关系表结构示意图;
图 4是输入运算符或符号的流程示意图。 具体实施方式
下面结合具体实施方式和附图对本发明作进一步的阐述。
本发明适用于交互式的公式排版软件, 为该种软件提供一种快速 输入公式的方法及系统。 其核心思想是: 首先将所有的运算符或者符 号进行分类并命名, 建立名称与运算符或符号之间的映射关系, 通过 在公式输入法界面中输入运算符或符号的名称来査找到相匹配的运算 符或符号, 将该运算符或符号插入到版面中, 利用这种方式完成整个 公式的输入, 像汉字输入法输入汉字一样简便, 达到了快速输入公式 的目的。 图 1 出示了一种公式输入系统的结构, 主要包括用于对运算符或 符号进行分类并命名的分类命名模块 1 1 ; 用于建立运算符或符号名称 与运算符或符号之间的映射关系的映射模块 12 ; 以及用于输入运算符 或符号名称, 根据运算符或符号名称与运算符或符号之间的映射关系 显示与输入名称相匹配的运算符或符号, 并将选择的运算符或符号插 入到版面上的输入显示模块 13。
分类命名模块 1 1首先对交互式公式排版软件中所有的运算符或符 号进行分类并命名, 将相似的运算符或符号分为一组, 每组的名称可 以相同。 例如, 对于分式, 可以将正分式、 斜分式等分为一组, 采用 相同的命名。 运算符或符号的名称可以采用运算符或符号的汉语拼音、 汉语拼音的縮写或者英文名等, 方便用户记忆。 例如, 分式可以命名 为 f、 fe、 fen、 fens、 fensh、 fensh i , f s等, 根式可命名为 g、 ge、 gen、 gens , gensh、 gensh i、 gs等。 在名称中, 最好不选用数字键, 因为数字键被用来选择运算符或符号。
当分类命名模块 1 1对运算符或符号进行分类并命名后, 映射模块 12建立运算符或符号名称与运算符或符号之间的映射关系表。 一个名 称可以对应多个运算符或符号、 一个运算符或符号也可以对应多个名 称, 即两者可以为多对多的关系。 图 3 出示了映射关系表的结构, 分 为 3部分。 一部分 31为映射关系部分, 用于表示一个运算符或符号有 哪些映射名称; 一部分 32为运算符或符号对应的图片 ID, 用于査找到 该运算符或符号的图片; 剩下一部分 33为与交互式公式排版软件的关 联, 用于将对该运算符或符号的请求传递给交互式公式排版软件, 将 其插入到版面中。
图 2出示了输入显示模块 13提供的公式输入法界面, 该界面是接 受用户输入和提供给用户想要的公式运算符或符号的主要途径, 由字 符输入区 21和公式显示区 22两部分构成。 字符输入区 21用于显示输 入的运算符或符号名称, 公式显示区 22用于显示与字符输入区 21输 入的名称相匹配的运算符或符号。 由于公式显示区 22大小的限制, 一 页显示不下的运算符或符号留到下页显示, 同时公式显示区 22提供向 上和向下的翻页按钮 23, 提示用户与输入的名称相匹配的运算符或符 号有多页,用户可以点击翻页按钮 23或者按键盘上的翻页键进行翻页。 当与输入的名称相匹配的运算符或符号个数小于公式显示区 22最大显 示限制个数时, 公式输入法界面会自动匹配显示的运算符或符号的宽 度。
公式输入法界面可以通过切换键来启动, 设置键盘上的某一功能 键 (如 Shift 键) 作为切换键, 通过该键可以在公式输入法界面与非 公式输入法界面之间进行切换。 当将运算符或符号插入到版面上后或 者输入的焦点丢失时, 公式输入法界面也随之关闭。
图 4 是输入运算符或符号的流程图。 首先启动公式输入法系统。 启动系统要非常的快捷和方便, 最好是在用户不知情的情况下启动。 本实施方式中, 公式输入法系统的启动和关闭与交互式公式排版软件 同步, 这样省去了用户在输入文字和公式之间频繁切换时, 还需要启 动公式输入法系统的操作, 提高了公式输入的效率。
切换到公式输入法界面, 当在字符输入区 21中没有输入字符时, 公式显示区 22中显示最常用的运算符或符号。 如果用户选择了最常用 的运算符或符号中的一个, 则关闭公式输入法界面。 选择公式显示区 22 中显示的运算符或符号, 可以通过鼠标选择, 也可以通过运算符或 符号前的数字编号选择, 当选择公式显示区 22中的第一个运算符或符 号时还可以通过回车符选择。
当用户在字符输入区 21 中输入字符时, 输入显示模块 13从映射 关系表中査找与输入字符相匹配的运算符或符号, 如果找到, 则通过 该运算符或符号所附带的显示图片的 ID找到相应的图片显示在公式显 示区中。 重复该过程, 直到与输入字符相匹配的所有运算符或符号都 显示在公式显示区 22中。
查找相匹配的运算符或符号的具体过程为: 当输入首个字符时, 在映射关系表中查找所有名称以输入的首个字符开头的运算符或符 号, 将其显示在公式显示区 22中; 当输入第 2个字符时, 在所有名称 以首个字符开头的运算符或符号中査找名称中第 2个字符与输入的第 2 个字符相匹配的运算符或符号, 将其显示在公式显示区 22中; 依此类 推, 直到用户不再输入字符。 也就是说, 公式显示区中显示的运算符 或符号随着输入字符的增加而逐渐变得更准确。 名称的匹配从输入的 第一个字符便开始, 逐步縮小査找范围。 这样, 可能在用户还没有输 入完公式名称时, 其想要的公式已经显示在了公式显示区中, 从而能 进一步提高公式输入的效率。
例如, 假设首先输入字符 f, 所有名称以 f 开头的运算符或符号均 显示在公式显示区 22中; 再输入 e, 在以 f 开头的名称中查找第 2个 字符为 e的运算符或符号, 显示在公式显示区 22中; 再输入 n, 在前 两位字符为 fe的名称中查找第 3个字符为 n的运算符或符号, 也就是 在显示在公式显示区 22中的运算符或符号中査找, 将匹配结果显示。
当输入到某字符时, 如果没有相匹配的运算符或符号, 则公示显 示区 22 中显示的运算符或符号不变, 即公式显示区 22的内容为在没 有输入该字符时的内容。 此时再接着输入除了回车键或数字键 (用于 选择运算符或符号) 等字符外均无效, 公式显示区 22中的运算符或符 号不会发生改变。 这样, 当用户将名称中某个字符输入错误时, 也可 能显示出需要的运算符或符号。
如果用户输入的第一个字符没有相匹配的运算符或符号, 则给用 户一个提示音, 告诉用户再输下去也是没有意义的, 没有相应的运算 符或符号, 需要用户删除输入的字符后, 重新输入。
如果用户删除字符输入区 21中的一些字符时, 根据上述的匹配规 则更新公式显示区 22中显示的运算符或符号。
当用户选择了运算符或符号, 输入显示模块 31根据关系映射表中 与交互式公式排版软件的关联将用户对该运算符或符号的请求传递给 交互式公式排版软件, 将运算符或符号插入到版面中。
x + y 2 /
以输入公式 — + 为例, 说明采用上述方法输入完整公式的 过程。
首先切换到公式输入法界面, 在字符输入区 21中输入 " fenshi ", 在公式显示区 22中找到分式, 插入到版面中, 关闭公式输入法界面。 在非公式输入法界面中, 输入分式的分子 " x+y " 和分母 " 2 " , 再输 入" + "号。切换到公式输入法界面,在字符输入区 11中输入 " genshi " , 在公式显示区 22中找到根式, 插入到版面中, 关闭公式输入法界面。 在非公式输入法界面中, 输入根式的底数 " x+y " 和指数 " 2 " , 至此 该公式输入完毕。 本实施方式中, 当运算符或符号编码与交互式公式排版软件中的 运算符或符号编码不同时, 本系统还设有编码转换模块 (图 1 中未示 出) , 用于将本系统中的运算符或符号编码转换成交互式公式排版软 件中的运算符或符号编码。 例如, 在本系统中分式的编码为 01, 而交 互式公式排版软件中分式的编码为 09, 或者是一个字符串等等。 此时 只需编码转换模块将本系统中分式的编码 01根据转换表转换成交互式 公式排版软件能接受的 09或者字符串即可。 这样, 本系统便可以适用 于不同公司生成的交互式公式排版软件中。 本发明所述的方法及系统并不限于上述的具体实施方式, 本领域 的技术人员根据本发明的技术方案得出的其他实施方式, 同样属于本 发明的技术创新范围。

Claims

权 利 要 求 书
1.一种用于交互式公式排版软件的公式输入方法,包括以下步骤:
( 1 ) 对运算符或符号进行分类并命名;
( 2 ) 建立运算符或符号名称与运算符或符号之间的映射关系表;
( 3 ) 在公式输入法界面的字符输入区中输入运算符或符号名称, 根据映射关系将与输入名称相匹配的运算符或符号显示在公式输入法 界面的公式显示区中, 选择运算符或符号, 插入到版面中。
2. 如权利要求 1所述的一种用于交互式公式排版软件的公式输入 方法, 其特征在于: 步骤 (1 ) 中将运算符或符号的汉语拼音或者汉语 拼音的缩写或者英文名作为运算符或符号的名称。
3. 如权利要求 1或 2所述的一种用于交互式公式排版软件的公式 输入方法, 其特征在于: 步骤(1 ) 中将相似的运算符或符号分为一组, 每组运算符或符号采用相同的名称。
4. 如权利要求 3所述的一种用于交互式公式排版软件的公式输入 方法, 其特征在于: 步骤 (2 ) 中运算符或符号名称与运算符或符号为 多对多的映射关系。
5. 如权利要求 1所述的一种用于交互式公式排版软件的公式输入 方法, 其特征在于: 步骤 (3 ) 中所述公式输入法界面与非公式输入法 界面之间通过切换键进行切换。
6. 如权利要求 1或 2或 5所述的一种用于交互式公式排版软件的 公式输入方法, 其特征在于, 步骤 (3 ) 中在字符输入区中输入运算符 或符号名称, 根据映射关系将与输入名称相匹配的运算符或符号显示 在公式显示区中的具体过程为:
输入首个字符, 在映射关系表中查找所有名称以输入的首个字符 开头的运算符或符号, 将其显示在公式显示区中; 输入第 2 个字符, 在所有名称以首个字符开头的运算符或符号中査找名称中第 2 个字符 与输入的第 2 个字符相匹配的运算符或符号, 将其显示在公式显示区 中; 依此类推, 直到用户输入完毕为止。
7. 如权利要求 6所述的一种用于交互式公式排版软件的公式输入 方法, 其特征在于: 步骤 (3 ) 中当在字符输入区中没有字符时, 公式 显示区中显示最常用的运算符或符号。
8. 如权利要求 6所述的一种用于交互式公式排版软件的公式输入 方法, 其特征在于: 步骤 (3 ) 中在输入名称过程中, 当输入的第一个 字符没有相匹配的运算符或符号时, 发出提示音。
9. 如权利要求 6所述的一种用于交互式公式排版软件的公式输入 方法, 其特征在于: 步骤 (3 ) 中在输入名称过程中, 当输入一个字符 后不再有相匹配的运算符或符号时, 则公式显示区中显示的运算符或 符号不变。
10.如权利要求 6 所述的一种用于交互式公式排版软件的公式输 入方法, 其特征在于: 步骤 (3 ) 中选择运算符或符号时, 通过该运算 符或符号前面的数字进行选择, 或者通过鼠标进行选择, 或者通过回 车键选择公式显示区中的第一个运算符或符号。
11.如权利要求 6 所述的一种用于交互式公式排版软件的公式输 入方法, 其特征在于: 步骤 (3 ) 中当相匹配的运算符或符号不能全部 显示在公示显示区中时, 多页显示, 通过翻页键进行翻页。
12. 一种用于交互式公式排版软件的公式输入系统, 其特征在于: 所述系统包括用于对运算符或符号进行分类并命名的分类命名模块; 用于建立运算符或符号名称与运算符或符号之间映射关系的映射模 块; 以及用于输入运算符或符号名称, 并根据映射关系显示与输入名 称相匹配的运算符或符号, 并将选择的运算符或符号插入到版面上的 输入显示模块。
13.如权利要求 12 所述的一种用于交互式公式排版软件的公式输 入系统, 其特征在于: 所述系统与交互式公式排版软件同时启动和关 闭。
14. 如权利要求 12或 13所述的一种用于交互式公式排版软件的 公式输入系统, 其特征在于: 所述输入显示模块设有公式输入法界面, 所述公式输入法界面包括字符输入区和公式显示区, 字符输入区用于 显示输入的运算符或符号的名称, 公式显示区用于显示与输入名称相 匹配的运算符或符号。
15. 如权利要求 12或 13所述的一种用于交互式公式排版软件的 公式输入系统, 其特征在于: 所述系统还包括用于将本系统中的运算 符或符号编码转换成交互式公式排版软件中的运算符或符号编码的编 码转换模块。
PCT/CN2009/001444 2008-12-15 2009-12-15 一种用于交互式公式排版软件的公式输入方法及系统 WO2010069132A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2008102396722A CN101436308A (zh) 2008-12-15 2008-12-15 一种用于交互式公式排版软件的公式输入方法及系统
CN200810239672.2 2008-12-15

Publications (1)

Publication Number Publication Date
WO2010069132A1 true WO2010069132A1 (zh) 2010-06-24

Family

ID=40710738

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/001444 WO2010069132A1 (zh) 2008-12-15 2009-12-15 一种用于交互式公式排版软件的公式输入方法及系统

Country Status (2)

Country Link
CN (1) CN101436308A (zh)
WO (1) WO2010069132A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018104535A1 (en) * 2016-12-08 2018-06-14 Texthelp Ltd. Mathematical and scientific expression editor for computer systems

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033614B (zh) * 2009-09-29 2012-07-25 北大方正集团有限公司 一种智能组合的公式输入方法及系统
CN102033858A (zh) * 2009-09-30 2011-04-27 北大方正集团有限公司 一种排版输出公式的方法及系统
CN102033863B (zh) * 2009-09-30 2012-07-04 北大方正集团有限公司 一种公式处理方法与系统
CN102043617A (zh) * 2009-10-12 2011-05-04 北大方正集团有限公司 排版软件的内容对象操作方法和系统
CN102053956B (zh) * 2009-10-30 2013-02-20 北大方正集团有限公司 一种指定符号的优先编辑区域的系统和方法
CN102194243B (zh) * 2010-03-17 2013-03-27 北大方正集团有限公司 公式布局排版方法和装置
CN102855230A (zh) * 2011-06-30 2013-01-02 北大方正集团有限公司 用于编辑有机化学结构式的方法和装置
CN103136179A (zh) * 2011-12-05 2013-06-05 北大方正集团有限公司 用于编辑有机化学结构式的方法和装置
CN103218141B (zh) * 2013-04-08 2016-02-10 深圳市联新移动医疗科技有限公司 基于移动终端的生命体征信息录入方法及移动终端
CN104053033A (zh) * 2014-06-30 2014-09-17 深圳市九洲电器有限公司 一种遥控器输入方法及遥控器
CN109542554B (zh) * 2018-10-26 2022-06-10 金蝶软件(中国)有限公司 文档布局转换的方法、装置、计算机设备和存储介质
CN112269476B (zh) * 2020-10-28 2024-05-31 维沃移动通信有限公司 公式显示方法、装置和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1392978A (zh) * 2000-08-24 2003-01-22 泽姆普莱克斯有限公司 以图形表示定义公式的方法
CN1494019A (zh) * 2003-02-24 2004-05-05 上海同济启明星科技发展有限公司 一种在pda上实现公式编辑、计算、管理的方法
JP2008129687A (ja) * 2006-11-17 2008-06-05 Nec Saitama Ltd 特殊文字入力支援装置及びこれを備える電子機器

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1392978A (zh) * 2000-08-24 2003-01-22 泽姆普莱克斯有限公司 以图形表示定义公式的方法
CN1494019A (zh) * 2003-02-24 2004-05-05 上海同济启明星科技发展有限公司 一种在pda上实现公式编辑、计算、管理的方法
JP2008129687A (ja) * 2006-11-17 2008-06-05 Nec Saitama Ltd 特殊文字入力支援装置及びこれを備える電子機器

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018104535A1 (en) * 2016-12-08 2018-06-14 Texthelp Ltd. Mathematical and scientific expression editor for computer systems
US11501055B2 (en) 2016-12-08 2022-11-15 Texthelp Ltd. Mathematical and scientific expression editor for computer systems

Also Published As

Publication number Publication date
CN101436308A (zh) 2009-05-20

Similar Documents

Publication Publication Date Title
WO2010069132A1 (zh) 一种用于交互式公式排版软件的公式输入方法及系统
TWI293455B (en) System and method for disambiguating phonetic input
US20020077808A1 (en) Intelligent dictionary input method
WO2006097052A1 (fr) Procede de saisie de l’alphabet et de la notation phonetiques chinois permettant d’entrer des multitermes en se servant des chiffres du pave numerique
WO2013135146A1 (zh) 一种输入法、输入装置及终端
WO2011000194A1 (zh) 一种智能联想输入系统及方法
CN109844696A (zh) 多语言字符输入装置
WO2012139475A1 (zh) 获取与输入按键序列相对应的候选字符串的方法与设备
KR20010088892A (ko) 한자입력장치 및 방법
CN102033614B (zh) 一种智能组合的公式输入方法及系统
TW530223B (en) Chinese phonetic input system having functions of incomplete spelling and fuzzy phonetic comparing, and the method thereof
JP2004523034A (ja) 文字生成システム
JP2011076384A (ja) 情報出力装置及び情報出力プログラム
CN100561411C (zh) 结合联想式输入法与语音辨识法的文字输入装置与方法
CN102375655B (zh) 一种字母输入的处理方法及系统
KR20130061349A (ko) 소프트웨어 키보드를 이용한 문자 입력 방법
JP5751537B2 (ja) 国際対応型日本語入力システム
CN104850242B (zh) 一种汉字拼音输入法及利用该输入法编码汉字的方法
JP2003505777A (ja) 文字入力キーボード
WO2016029729A1 (zh) 一种藏文输入法
WO2011035705A1 (zh) 一种数序码元键盘及其信息输入方法
CN101788853A (zh) 计算机标准键盘对称虚拟键位多指并击汉语拼音输入法
CN102053718B (zh) 用于生成汉字的方法以及键盘输入设备
US20240184381A1 (en) Chinese character input method and system and keyboard
CN1752899B (zh) 汉语编码及其汉字输入法和汉字检索法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09832814

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09832814

Country of ref document: EP

Kind code of ref document: A1