JPH04310170A - Document preparing device including numerical formula - Google Patents

Document preparing device including numerical formula

Info

Publication number
JPH04310170A
JPH04310170A JP3103079A JP10307991A JPH04310170A JP H04310170 A JPH04310170 A JP H04310170A JP 3103079 A JP3103079 A JP 3103079A JP 10307991 A JP10307991 A JP 10307991A JP H04310170 A JPH04310170 A JP H04310170A
Authority
JP
Japan
Prior art keywords
input
expression
subscript
radical
determinant
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP3103079A
Other languages
Japanese (ja)
Inventor
Masa Saito
齊藤 雅
Hitoshi Kinoshita
仁 木下
Hisao Miyauchi
宮内 久男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
IWANAMI SHIYOTEN KK
Dai Nippon Printing Co Ltd
Astec Co Ltd
Original Assignee
IWANAMI SHIYOTEN KK
Dai Nippon Printing Co Ltd
Astec Co Ltd
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 IWANAMI SHIYOTEN KK, Dai Nippon Printing Co Ltd, Astec Co Ltd filed Critical IWANAMI SHIYOTEN KK
Priority to JP3103079A priority Critical patent/JPH04310170A/en
Publication of JPH04310170A publication Critical patent/JPH04310170A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the document preparing device capable of easily preparing documents including such as fractional expressions, expressions including radical signs, determinants, indicies, and operation expressions. CONSTITUTION:When a fraction input command is provided to a means 11, denominator and numerator parts are stored in means 12 and 13. A means 14 automatically produces the prescribed length of denominator/numerator division line and a means 15 prepares an image of the fractional expression. When a radical sign input command is provided to a means 21, radical sign elements are stored in a means 22, a means 23 produces a radical sign according to this, and a means 24 prepares the overall image. Means 31 to 34 can produce determinants and means 41 to 45 can provide indicies. When an operation expression input command is provided to a means 51, means 54 and 55 indicate the location of characters to be inputted to the periphery of operational codes, enabling character input for each location.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は文書作成装置、特に、数
式を含んだ文書を容易に作成することのできる文書作成
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creation device, and more particularly to a document creation device that can easily create documents containing mathematical formulas.

【0002】0002

【従来の技術】コンピュータ技術の発達に伴い、コンピ
ュータ用の文書作成ソフトウエアや、ワードプロセッサ
なども日ごとに進歩を遂げている。このような文書作成
装置は、オフィスや家庭にまで普及し、専門知識のない
一般人に対しても、文書作成を容易に行える環境を提供
するに至っている。また、一方では、作成文書の品質を
向上させ、いわゆるDTP(Desk Top Pub
lishing )が可能な文書作成装置も市販されて
いる。
2. Description of the Related Art With the development of computer technology, document creation software for computers, word processors, etc. are also progressing day by day. Such document creation devices have become widespread in offices and homes, providing an environment in which even ordinary people without specialized knowledge can easily create documents. On the other hand, it also improves the quality of created documents and improves the quality of documents created using so-called DTP (Desk Top Pub).
There are also commercially available document creation devices that are capable of ``lishing''.

【0003】0003

【発明が解決しようとする課題】しかしながら、現在普
及している文書作成装置では、数式を含んだ文書を容易
に作成することはできないという問題がある。科学技術
文献の執筆などでは、数式が頻繁に用いられる。このよ
うな数式は、一般の文章とは異なった組版によって割り
付ける必要があり、従来の文書作成装置では、文字の入
力位置指定、文字の大きさ指定、特殊な演算記号の入力
などにおいて繁雑な作業が必要となっていた。
However, there is a problem in that document creation devices that are currently in widespread use cannot easily create documents containing mathematical formulas. Mathematical formulas are frequently used in writing scientific and technical literature. Such mathematical formulas need to be laid out using a different formatting from ordinary text, and conventional document creation devices require complicated tasks such as specifying character input position, character size, and inputting special arithmetic symbols. was needed.

【0004】そこで本発明は、数式を含んだ文書を容易
に作成することのできる文書作成装置を提供することを
目的とする。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a document creation device that can easily create documents containing mathematical formulas.

【0005】[0005]

【課題を解決するための手段】(1)   本願第1の
発明は、分数式の入力を容易に行い得るようにするため
に、文書作成装置において、分数式の作成開始指示から
作成終了指示までの間に、文字または式が分割コードと
ともに入力されたときに、この分割コードを境界として
、入力された文字または式を、分子部と分母部とに分け
て認識する分数入力認識手段と、分子部と認識された文
字または式を記憶する分子部記憶手段と、分母部と認識
された文字または式を記憶する分母部記憶手段と、分子
部記憶手段内に記憶された分子部の横方向の長さと、分
母部記憶手段内に記憶された分母部の横方向の長さとを
比較し、長い方に対応した長さをもった分母子分割線を
発生する分割線発生手段と、分子部記憶手段内に記憶さ
れた分子部と、分母部記憶手段内に記憶された分母部と
、分割線発生手段により発生された分母子分割線と、を
合成し、分数式のイメージを作成する分数式作成手段と
、作成された分数式のイメージを出力する出力手段と、
を設けたものである。
[Means for Solving the Problems] (1) The first invention of the present application provides a method for inputting a fractional formula from a fractional formula creation start instruction to a creation end instruction in a document creation device. a fraction input recognition means that separates the input character or expression into a numerator part and a denominator part using the division code as a boundary when a character or expression is input with a division code; numerator part storage means for storing characters or formulas recognized as part; denominator part storage means for storing characters or formulas recognized as denominator part; dividing line generating means for generating a denominator/child dividing line having a length corresponding to the longer one by comparing the length with the horizontal length of the denominator stored in the denominator storing means; A fractional expression that creates an image of a fractional expression by composing the numerator part stored in the means, the denominator part stored in the denominator part storage means, and the denominator/child dividing line generated by the dividing line generating means. a creation means, an output means for outputting an image of the created fractional formula,
It has been established.

【0006】(2)   本願第2の発明は、根号を含
んだ数式の入力を容易に行い得るようにするために、文
書作成装置において、根号を含んだ数式の作成開始指示
から作成終了指示までの間に、文字または式が入力され
たときに、この入力された文字または式を根号内要素と
して認識する根号入力認識手段と、根号内要素として認
識された文字または式を記憶する根号内要素記憶手段と
、根号内要素記憶手段に記憶された根号内要素の横方向
の長さと縦方向の長さとを求め、これに応じた横方向の
長さおよび縦方向の長さをもった根号記号を発生する根
号記号発生手段と、根号内要素記憶手段内に記憶された
根号内要素と、根号記号発生手段により発生された根号
記号と、を合成し、根号を含んだ数式のイメージを作成
する根号式作成手段と、作成された根号式のイメージを
出力する出力手段と、を設けたものである。
(2) The second invention of the present application is such that, in order to easily input a mathematical formula containing a radical, a document creation device starts creating a mathematical formula containing a radical from an instruction to start creating the formula and ends the creation. Until the instruction, when a character or expression is input, there is a radical input recognition means that recognizes the input character or expression as an element within the radical, and a radical input recognition means that recognizes the input character or expression as an element within the radical. Calculate the horizontal length and vertical length of the internal radical element storage means to be stored and the internal radical element stored in the radical internal element storage means, and calculate the horizontal length and vertical direction accordingly. a radical symbol generating means for generating a radical symbol having a length of , an intra-radical element stored in the intra-radical element storage means, and a radical symbol generated by the radical symbol generating means; The present invention is provided with a radical expression creation means for synthesizing and creating an image of a mathematical expression including a radical, and an output means for outputting the image of the created radical expression.

【0007】(3)   本願第3の発明は、行列式の
入力を容易に行い得るようにするために、文書作成装置
において、行列式の作成開始指示から作成終了指示まで
の間に、文字または式が入力されたときに、この入力さ
れた文字または式を行列式内要素として認識する行列式
入力認識手段と、行列式内要素として認識された文字ま
たは式を記憶する行列式内要素記憶手段と、行列式内要
素記憶手段に記憶された行列式内要素の横方向の長さと
縦方向の長さとを求め、これに応じた横方向の長さおよ
び縦方向の長さをもった行列式枠記号を発生する枠記号
発生手段と、行列式内要素記憶手段内に記憶された行列
式内要素と、枠記号発生手段により発生された行列式枠
記号と、を合成し、行列式のイメージを作成する行列式
作成手段と、作成された行列式のイメージを出力する出
力手段と、を設けたものである。
(3) In the third invention of the present application, in order to easily input a determinant, in a document creation device, characters or Determinant input recognition means that recognizes the input characters or formulas as elements within the determinant when a formula is input, and element storage means within the determinant that stores the characters or formulas recognized as the elements within the determinant. Then, calculate the horizontal length and vertical length of the element in the determinant stored in the determinant element storage means, and create a determinant with the corresponding horizontal length and vertical length. A frame symbol generating means for generating a frame symbol, an element within the determinant stored in the element storing means within a determinant, and a determinant frame symbol generated by the frame symbol generating means are combined to generate an image of the determinant. The apparatus is provided with a determinant creating means for creating a determinant, and an output means for outputting an image of the created determinant.

【0008】(4)   本願第4の発明は、添字付与
の作業を容易に行い得るようにするために、文書作成装
置において、添字付与作業の開始指示が与えられたとき
に、添字付与の対象となる対象文字と、この対象文字に
ついての添字付与位置とを認識し、添字付与作業の終了
指示が与えられるまでの間に入力された文字または式を
添字要素として認識する添字入力認識手段と、添字要素
として認識された文字または式を記憶する添字要素記憶
手段と、添字入力認識手段によって認識された対象文字
の大きさに基づいて添字の大きさを決定する大きさ決定
手段と、添字入力認識手段によって認識された添字付与
位置に基づいて添字の割付位置を決定する割付位置決定
手段と、添字要素記憶手段内に記憶された添字要素を、
大きさ決定手段で決定された大きさで、割付位置決定手
段で決定された割付位置に割り付け、対象文字に添字を
付与した状態のイメージを作成する添字付与手段と、作
成されたイメージを出力する出力手段と、を設けたもの
である。
(4) In the fourth invention of the present application, in order to easily perform the task of adding subscripts, when an instruction to start adding subscripts is given in a document creation device, the object of adding subscripts is a subscript input recognition means that recognizes a target character and a subscript addition position for the target character, and recognizes characters or expressions input until an instruction to end the subscript assignment work is given as a subscript element; a subscript element storage means for storing a character or expression recognized as a subscript element; a size determining means for determining the size of a subscript based on the size of a target character recognized by the subscript input recognition means; and a subscript input recognition means. an allocation position determining means for determining a subscript allocation position based on the subscript assignment position recognized by the means; and a subscript element stored in the subscript element storage means;
A subscript adding means for creating an image in which a target character is assigned a subscript with the size determined by the size determining means and allocated to the allocation position determined by the allocation position determining means, and the created image is output. An output means is provided.

【0009】(5)   本願第5の発明は、演算式の
入力を容易に行い得るようにするために、文書作成装置
において、演算式の作成開始指示から作成終了指示まで
の間に、文字または式、あるいは所定のコードが入力さ
れたときに、この入力された文字または式を演算式内要
素として、所定のコードを入力指示コードとして、それ
ぞれ認識する演算式入力認識手段と、演算式に用いる演
算記号を記憶し、この演算記号に関して定義された複数
の位置を記憶した演算式構造記憶手段と、複数の位置の
それぞれについての組版情報を記憶する組版情報記憶手
段と、複数の位置のいずれかを指示する位置指示手段と
、演算式入力認識手段が認識した入力指示コードに基づ
いて、位置指示手段が指示する位置を修正する位置修正
手段と、複数の位置に対応する記憶領域を有し、演算式
入力手段が認識した演算式内要素を、位置指示手段の指
示する位置に対応する記憶領域に格納する演算式内要素
記憶手段と、演算記号に関して定義された複数の位置の
それぞれに、演算式内要素記憶手段内の対応する記憶領
域内に記憶されている演算式内要素を、組版情報記憶手
段内の対応する組版情報に基づいて割り付け、演算記号
と演算式内要素とからなる演算式のイメージを作成する
演算式作成手段と、作成された演算式のイメージを出力
する出力手段と、を設けたものである。
(5) In the fifth invention of the present application, in order to easily input an arithmetic expression, in a document creation device, characters or When an expression or a predetermined code is input, an arithmetic expression input recognition means that recognizes the input character or expression as an element in the arithmetic expression and the predetermined code as an input instruction code, and a calculation expression input recognition means used in the arithmetic expression. an arithmetic expression structure storage means for storing an arithmetic symbol and a plurality of positions defined with respect to the arithmetic symbol; a forme information storage means for storing forme information for each of the plurality of positions; and one of the plurality of positions. position indicating means for instructing, position correcting means for correcting the position indicated by the position indicating means based on the input instruction code recognized by the arithmetic expression input recognition means, and a storage area corresponding to a plurality of positions; Arithmetic expression element storage means stores the elements in the arithmetic expression recognized by the arithmetic expression input means in a storage area corresponding to the position indicated by the position indicating means, and the arithmetic expression The elements within an arithmetic expression stored in the corresponding storage area in the element-in-expression storage means are allocated based on the corresponding formatting information in the formatting information storage means, and an arithmetic expression consisting of an operational symbol and an element within an arithmetic expression is created. The present invention is provided with an arithmetic expression creation means for creating an image of the arithmetic expression, and an output means for outputting the image of the created arithmetic expression.

【0010】0010

【作  用】(1)   本願第1の発明によれば、分
数式は分子部と分母部とに分け、両者間に分割コードを
挟んで入力される。分母子分割線は分割線発生手段によ
り自動的に発生される。この分母子分割線は、分子部か
分母部かいずれか長い方に応じた長さのものとなる。ま
た、入力した分子部および分母部は、分数式作成手段に
よって自動的に割り付けられる。したがって、オペレー
タは簡単な操作で複雑な分数式の入力を行うことができ
る。
[Operation] (1) According to the first invention of the present application, a fractional expression is divided into a numerator part and a denominator part, and a division code is inserted between the two parts. The denominator/child dividing line is automatically generated by the dividing line generating means. This denominator/child dividing line has a length depending on whichever is longer, either the numerator part or the denominator part. Further, the input numerator part and denominator part are automatically assigned by the fractional expression creation means. Therefore, the operator can input complex fractional expressions with simple operations.

【0011】(2)   本願第2の発明によれば、根
号を含んだ数式の作成開始指示を与えると、以後に入力
した文字または式が根号内要素として根号内に自動的に
割り付けられる。また、この根号内要素に応じた大きさ
の根号が自動的に発生され割り付けられる。したがって
、オペレータは簡単な操作で根号を含んだ式の入力を行
うことができる。
(2) According to the second invention of the present application, when an instruction to start creating a mathematical formula containing a radical is given, characters or formulas input after that are automatically allocated within the radical as elements within the radical. It will be done. Further, a radical of a size corresponding to the element within this radical is automatically generated and assigned. Therefore, the operator can input expressions including radicals with simple operations.

【0012】(3)   本願第3の発明によれば、行
列式の作成開始指示を与えると、以後に入力した文字ま
たは式が行列式内要素として自動的に割り付けられる。 また、この行列式内要素に応じた大きさの行列式枠記号
が自動的に発生され割り付けられる。したがって、オペ
レータは簡単な操作で行列式の入力を行うことができる
(3) According to the third invention of the present application, when an instruction to start creating a determinant is given, characters or expressions input thereafter are automatically assigned as elements within the determinant. Further, a determinant frame symbol having a size corresponding to the element within the determinant is automatically generated and allocated. Therefore, the operator can input the determinant with a simple operation.

【0013】(4)   本願第4の発明によれば、添
字付与作業の開始指示を与えると、添字付与の対象とな
る対象文字と、この対象文字についての添字付与位置が
認識され、以後に入力した文字または式が添字要素とし
て自動的に割り付けられる。このとき、添字要素の大き
さは大きさ決定手段により自動的に決められ、割付位置
は割付位置決定手段により自動的に決められる。したが
って、オペレータは簡単な操作で添字付与作業を行うこ
とができる。
(4) According to the fourth invention of the present application, when an instruction to start the subscript adding operation is given, the target character to which the subscript is to be added and the subscript adding position for this target character are recognized, and the subsequent input character or expression is automatically assigned as a subscript element. At this time, the size of the subscript element is automatically determined by the size determining means, and the layout position is automatically determined by the layout position determining means. Therefore, the operator can perform the subscript assignment work with simple operations.

【0014】(5)   本願第5の発明によれば、演
算式の作成開始指示を与えると、以後に入力した文字ま
たは式は、演算式内要素として認識される。演算式に用
いる演算記号およびこの演算記号に関して定義された複
数の位置が、予め演算式構造記憶手段内に記憶されてお
り、各位置についての組版情報が組版情報記憶手段内に
記憶されている。入力指示コードを与えると、位置指示
手段による指示位置が変化するので、これから入力する
演算式内要素の割付位置の指定を行うことが可能である
。オペレータは、所望の割付位置を指定して、演算式内
要素の入力を行うだけでよい。入力内容は、指定位置に
所定の組版に基づいて自動的に割り付けられる。したが
って、オペレータは簡単な操作で演算式の入力を行うこ
とができる。
(5) According to the fifth invention of the present application, when an instruction to start creating an arithmetic expression is given, characters or expressions input thereafter are recognized as elements within the arithmetic expression. Arithmetic symbols used in the arithmetic expression and a plurality of positions defined with respect to the arithmetic symbols are stored in advance in the arithmetic expression structure storage means, and formatting information for each position is stored in the formatting information storage means. When the input instruction code is given, the position indicated by the position indicating means changes, so it is possible to specify the allocation position of the element in the arithmetic expression to be input from now on. The operator only needs to specify the desired allocation position and input the elements in the arithmetic expression. The input content is automatically allocated to the designated position based on a predetermined formatting. Therefore, the operator can input an arithmetic expression with a simple operation.

【0015】[0015]

【実施例】以下、本発明を図示する実施例に基づいて説
明する。図1は本発明の一実施例に係る文書作成装置の
基本構成を示すブロック図である。この装置の大きな構
成要素は、コンピュータ100、入力手段200、出力
手段300である。コンピュータ100としては、この
実施例ではワークステーションを用いている。また、入
力手段200としては、このワークステーションに接続
されたキーボードおよびマウスを用いており、出力手段
300としては同じくこのワークステーションに接続さ
れたディスプレイおよびプリンタを用いている。もちろ
ん、これらの周辺機器として、別の装置を用いてもかま
わない。コンピュータ100内に示したブロック図は、
このコンピュータによる処理を機能的に表現したもので
あり、各ブロックは、コンピュータ内のメモリやCPU
などのハードウエアと、CPUによって実行されるソフ
トウエアとの結合によって実現できる構成要素である。 なお、ここに示す各ブロックは、数式の入力機能に関し
てのものだけであるが、実際には、このコンピュータ1
00内には、これらの各ブロックの他に一般的な文書作
成機能のためのブロックが存在する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained below based on illustrative embodiments. FIG. 1 is a block diagram showing the basic configuration of a document creation device according to an embodiment of the present invention. The major components of this device are a computer 100, input means 200, and output means 300. As the computer 100, a workstation is used in this embodiment. Further, as input means 200, a keyboard and mouse connected to this workstation are used, and as output means 300, a display and a printer also connected to this workstation are used. Of course, other devices may be used as these peripheral devices. The block diagram shown in the computer 100 is as follows:
It is a functional expression of processing by this computer, and each block is a memory or CPU in the computer.
It is a component that can be realized by combining hardware such as and software executed by a CPU. Each block shown here is only related to the formula input function, but in reality, this computer 1
In addition to these blocks, 00 includes blocks for general document creation functions.

【0016】この装置の利点は、出力手段300として
接続されたディスプレイの表示画面を見ながら、簡単な
作業で数式の入力を行うことができる点である。ディス
プレイの表示画面には、所望の位置にウインドウを開く
ことができる。この装置では、通常、ディスプレイ画面
310上に、図2に示すような2つの画面についてのウ
インドウが開かれる。文書画面311は、作成する文書
のイメージを示す画面であり、いわゆるWYSIWYG
(What You See Is What You
 Get)の思想に基づき、プリンタに印刷される画像
と全く同じ画像が表示される。 入力した数式は、この文書画面311に表示されること
になる。一方、コマンド画面312には種々のコマンド
のメニューが表示される。オペレータは、表示されたコ
マンドをマウスなどによって指定することにより、その
コマンドの入力を行うことができる。この装置では、操
作の便宜を考慮して、2とおりのカーソルを表示させる
ようにしている。第1のカーソルは、キャレットCTと
呼ばれるカーソルであり、第2のカーソルはマウスカー
ソルMCと呼ばれるカーソルである。前者は文書画面3
11内の入力位置を示し、後者はマウスによるポインタ
ーの働きをする。数式の入力に関連したコマンドメニュ
ーを図3に示す。この実施例の装置では、入力手段20
0としてのマウスにより図3に示すコマンド61〜69
を指示し、キーボードにより文字、記号、特殊コードを
入力し、数式の入力を行うことになる。ここでは、数式
を、(1) 分数式、(2) 根号を含んだ数式、(3
) 行列式、(4) 添字、(5) 演算式、の5つに
分類して、その入力作業と装置の動作を説明する。
[0016] The advantage of this device is that it is possible to easily input mathematical expressions while looking at the display screen of the display connected as the output means 300. A window can be opened at a desired position on the display screen of the display. In this device, windows for two screens as shown in FIG. 2 are normally opened on the display screen 310. The document screen 311 is a screen that shows an image of a document to be created, and is a so-called WYSIWYG screen.
(What You See Is What You
Based on the concept of Get), an image that is exactly the same as the image printed on the printer is displayed. The entered mathematical formula will be displayed on this document screen 311. On the other hand, a menu of various commands is displayed on the command screen 312. The operator can input the displayed command by specifying it using a mouse or the like. In this device, two types of cursors are displayed in consideration of convenience of operation. The first cursor is a cursor called a caret CT, and the second cursor is a cursor called a mouse cursor MC. The former is document screen 3
11, the latter serves as a mouse pointer. FIG. 3 shows a command menu related to inputting mathematical expressions. In the device of this embodiment, the input means 20
Commands 61-69 shown in Figure 3 by mouse as 0
, enter characters, symbols, and special codes using the keyboard, and input mathematical formulas. Here, the formulas are (1) fractional formulas, (2) formulas containing radicals, (3
) Determinant, (4) Subscript, and (5) Arithmetic expression, and the input work and operation of the device will be explained.

【0017】1  分数式   分数式の入力処理は、図1のコンピュータ100内
の分数入力認識手段11、分子部記憶手段12、分母部
記憶手段13、分割線発生手段14、分数式作成手段1
5、の各構成要素によって行われる。オペレータは、分
数式を入力する場合、図3に示すコマンド画面312内
のコマンド61をマウスによって指定する。このコマン
ド61は、分数式の作成開始を指示するコマンドである
。分数入力認識手段11は、マウスからこのコマンドが
入力されると、以後、分数式の作成終了指示までの間に
キーボードから入力された文字または式を、分子部と分
母部とに分けて認識し、分子部を分子部記憶手段12に
格納し、分母部を分母部記憶手段13に格納する。分子
部と分母部との識別は、分割コードによって行われる。 この実施例の装置では、分割コードより前に入力された
文字または式を分子部と認識し、分割コードより後に入
力された文字または式を分母部と認識している。
1. Fractional Formula Input processing of a fractional formula consists of a fraction input recognition means 11, a numerator part storage means 12, a denominator part storage means 13, a dividing line generation means 14, and a fractional formula creation means 1 in the computer 100 shown in FIG.
This is done by each component of 5. When inputting a fractional formula, the operator specifies a command 61 on the command screen 312 shown in FIG. 3 using the mouse. This command 61 is a command that instructs to start creating a fractional formula. When this command is input from the mouse, the fraction input recognition means 11 recognizes the characters or expressions input from the keyboard thereafter, dividing them into a numerator part and a denominator part until the instruction to finish creating a fraction formula is given. , the numerator part is stored in the numerator part storage means 12, and the denominator part is stored in the denominator part storage means 13. The numerator part and denominator part are distinguished by a division code. The device of this embodiment recognizes the characters or expressions input before the division code as the numerator part, and recognizes the characters or expressions input after the division code as the denominator part.

【0018】分割線発生手段14は、分子部記憶手段1
2内に記憶された分子部の横方向の長さと、分母部記憶
手段13内に記憶された分母部の横方向の長さとを比較
し、長い方に対応した長さをもった分母子分割線を発生
する。そして、分数式作成手段15は、分子部記憶手段
12内に記憶された分子部と、分母部記憶手段13内に
記憶された分母部と、分割線発生手段により発生された
分母子分割線と、を合成し、分数式のイメージを作成す
る。こうして作成された分数式のイメージは、出力手段
300に出力される。
The dividing line generating means 14 is a part of the molecule part storing means 1.
The horizontal length of the numerator part stored in the denominator part 2 is compared with the horizontal length of the denominator part stored in the denominator part storage means 13, and denominator division is performed with a length corresponding to the longer one. Generate a line. The fraction formula creation means 15 then generates the numerator part stored in the numerator part storage means 12, the denominator part stored in the denominator part storage means 13, and the denominator/child dividing line generated by the dividing line generating means. , and create an image of the fractional expression. The image of the fractional formula created in this way is output to the output means 300.

【0019】続いて、分数式の入力処理を、図4に示す
具体的な実例に即して説明する。図4(a) 〜(j)
 は、分数式の入力処理を行っている作業中における文
書画面311の変遷を示す図である。前述のように、文
書画面311には、これから入力する文字の割付位置を
示すためのキャレットCTが表示される。図4(a) 
は、「X=」なる文字を入力したときの画面であり、キ
ャレットCTは次に入力される文字の位置にきている。 この「X=」なる文字列は、数式の一部を構成している
が、特別な入力処理を行うことなしに、一般の文章と同
様の方法で入力可能である。もっとも、数式を構成する
文字はすべてイタリック体で入力するなどの規則に従っ
て文書を作成する場合には、書体を変えるような指示を
行う必要があるが、本明細書では、このような書体変更
などの処理については、説明を省略する。
Next, the input processing of fractional expressions will be explained with reference to a specific example shown in FIG. Figure 4(a) to (j)
2 is a diagram showing the transition of the document screen 311 during the operation of inputting a fractional formula. As described above, a caret CT is displayed on the document screen 311 to indicate the layout position of the character to be input. Figure 4(a)
This is the screen when the character "X=" is input, and the caret CT is at the position of the next character to be input. Although this character string "X=" constitutes a part of the mathematical expression, it can be input in the same way as ordinary sentences without performing any special input processing. However, when creating a document according to rules such as inputting all the characters that make up a mathematical formula in italics, it is necessary to give instructions to change the font, but in this specification, such font changes etc. A description of the processing will be omitted.

【0020】さて、図4(a) の状態で、「X=」に
続けて分数式を入力する必要がある場合、オペレータは
、マウスによりコマンド61を指定する。分数入力認識
手段11は、このコマンド61により、分数式の作成開
始を認識する。このとき、分子部記憶手段12および分
母部記憶手段13には、まだ分子部および分母部は格納
されていない。このように分子部も分母部も未定義の状
態では、分割線発生手段14は最小単位の長さの分母子
分割線を発生する。最小単位の長さとして、この実施例
では、1文字分の長さを定義している。したがって、分
数式作成手段15によって作成される分数式は、1文字
分の長さの分母子分割線のみからなる式であり、ディス
プレイ表示は図4(b) のようになる。もちろん、最
小単位の長さは、必ずしも1文字分の長さにする必要は
なく、任意の長さを設定することができる。なお、この
実施例では、分数式の入力は分子部から行うようにして
あるので、キャレットCTは分子部に表示されることに
なる。
Now, in the state shown in FIG. 4(a), if it is necessary to input a fractional expression following "X=", the operator specifies command 61 with the mouse. The fraction input recognition means 11 recognizes the start of creation of a fraction expression by this command 61. At this time, the numerator part and the denominator part are not yet stored in the numerator part storage means 12 and the denominator part storage means 13. In this manner, when both the numerator part and the denominator part are undefined, the dividing line generating means 14 generates a denominator dividing line having a minimum unit length. In this embodiment, the length of one character is defined as the length of the minimum unit. Therefore, the fractional formula created by the fractional formula creating means 15 is a formula consisting only of denominator and digit dividing lines with a length of one character, and the display is as shown in FIG. 4(b). Of course, the length of the minimum unit does not necessarily have to be the length of one character, and can be set to any length. In this embodiment, the input of the fractional formula is performed from the numerator part, so the caret CT is displayed in the numerator part.

【0021】ここで、オペレータがキーボードから、た
とえば「A」なる文字を入力すると、この文字「A」は
分子部記憶手段12に格納される。分子部の長さは1文
字分の最小単位の長さのままであり、ディスプレイ表示
は図4(c) のようになる。更に続けて、「B」なる
文字を入力すると、分子部記憶手段12に格納される文
字列は「AB」の2文字分の長さをもったものになる。 したがって、分割線発生手段14は、2文字分の長さを
もった分割線を発生する。こうして、ディスプレイ表示
は図4(d) のようになり、文字「B」の入力によっ
て分割線が伸びたように見える。図4(e) は、更に
「+BCD」なる文字列を入力した状態を示す。文字だ
けでなく、種々の式(たとえば、後述する根号を含んだ
式、行列式、演算式など)を入力した場合も、その長さ
に応じて分割線が伸びてゆくことになる。
Here, when the operator inputs, for example, the character "A" from the keyboard, this character "A" is stored in the molecule part storage means 12. The length of the molecule remains the minimum unit length of one character, and the display becomes as shown in Figure 4(c). Furthermore, when the character "B" is inputted, the character string stored in the molecule part storage means 12 has a length equal to two characters "AB". Therefore, the dividing line generating means 14 generates a dividing line having a length of two characters. In this way, the display becomes as shown in FIG. 4(d), and the dividing line appears to be extended by inputting the character "B". FIG. 4(e) shows a state in which the character string "+BCD" is further input. If you input not only characters but also various expressions (for example, expressions containing radicals, determinants, arithmetic expressions, etc., which will be described later), the dividing line will extend according to the length of the expression.

【0022】図4(e) の状態では、キャレットCT
は分子部の末端に位置し、更に何らかの文字を入力して
ゆくと、その文字は分子部に連なってゆく。そこで、分
母部の入力を行うには、分割コードの入力を行う。この
実施例では、分割コードとして、キーボードから入力さ
れる「コントロールf(以下、Cfと略記する)」を用
いているが、他のコントロールコードや、マウスによる
コマンド入力を用いて分割コード入力を行ってもかまわ
ない。図4(e) の状態でCfを入力すると、分数入
力認識手段11は、以後に入力される文字または式を分
母部として認識する。このため、図4(f) に示すよ
うに、キャレットCTは分母部へ移動する(この実施例
では、分母部はセンタリングされながら割り付けられて
ゆくため、キャレットCTは分母部の中央にくる)。続
けて、たとえば「2A」なる文字を入力すると、ディス
プレイ表示は図4(g) のようになる。この状態では
、分子部記憶手段12には「AB+BCD」なる文字列
が格納され、分母部記憶手段13には「2A」なる文字
列が格納されている。更に分母部として「+2B+2C
」なる文字列を入力すると、分母部の文字列が分子部の
文字列よりも長くなるため、分割線発生手段14は分母
部に合わせた長さの分割線を発生する。そして、ここで
分数式の作成を終了する場合には、作成終了指示コード
を入力すれば、図4(h) に示すように、最終的な分
数式が作成される。 この実施例では、作成終了指示コードとしてもCfを用
いており、分母部の「2C」を入力した後に、Cfを入
力すれば、分数式の作成が終了する。
In the state shown in FIG. 4(e), the caret CT
is located at the end of the molecule part, and as you enter more characters, those characters will continue into the molecule part. Therefore, in order to input the denominator part, the division code is input. In this embodiment, "control f (hereinafter abbreviated as Cf)" input from the keyboard is used as the division code, but the division code can also be input using other control codes or command input using the mouse. It doesn't matter. When Cf is input in the state shown in FIG. 4(e), the fraction input recognition means 11 recognizes the characters or expressions input thereafter as the denominator part. Therefore, as shown in FIG. 4(f), the caret CT moves to the denominator (in this embodiment, the denominator is allocated while being centered, so the caret CT comes to the center of the denominator). If the user then inputs the character ``2A'', the display will appear as shown in FIG. 4(g). In this state, the numerator part storage means 12 stores the character string "AB+BCD", and the denominator part storage means 13 stores the character string "2A". Furthermore, as the denominator, “+2B+2C
'', the character string in the denominator is longer than the character string in the numerator, so the dividing line generating means 14 generates a dividing line with a length matching the denominator. If the creation of the fractional formula is to be terminated at this point, by inputting the creation end instruction code, the final fractional formula is created as shown in FIG. 4(h). In this embodiment, Cf is also used as the creation end instruction code, and if Cf is input after the denominator "2C" is input, the creation of the fractional formula is completed.

【0023】結局、図4(h) に示す分数式を作成す
るための作業は、コマンド61(分数式の作成開始指示
),分子部の文字列,Cf(分割コード),分母部の文
字列,Cf(分数式の作成終了指示)、という順に入力
を行うだけですみ、割付位置の考慮や分割線の作成作業
といったものは一切不要になる。このように、本装置で
は、分数式の入力作業が非常に簡単になる。なお、分数
式の中に更に分数式を取り込むことも可能である。たと
えば、図4(i) に示すように、分子部に「AB+B
C」と入力した時点で、更にコマンド61を入力すると
、分子部内で別な分数式の分割線が生成され、キャレッ
トCTは、この入れ子構造になった2番目の分数式の分
子部へと移動する。そこで、「D」,Cf(2番目の分
数式の分割コード),「E」,Cf(2番目の分数式の
作成終了指示)と入力して2番目の分数式を完成させ、
更に、Cf(1番目の分数式の分割コード),「2A+
2B+2C」,Cf(1番目の分数式の作成終了指示)
と入力すれば、図4(j) に示すような入れ子構造に
なった分数式を作成できる。
In the end, the work required to create the fractional formula shown in FIG. , Cf (completion instruction for creating a fractional formula), in this order, and there is no need to consider allocation positions or create dividing lines. In this way, the present device greatly simplifies the input work of fractional formulas. Note that it is also possible to incorporate further fractional expressions into fractional expressions. For example, as shown in Figure 4(i), the molecular part is “AB+B”.
If you input command 61 again at the point where you input "C", a dividing line for another fractional expression will be generated within the numerator, and the caret CT will move to the numerator of the second fractional expression in this nested structure. do. Therefore, enter "D", Cf (division code of the second fractional formula), "E", Cf (instruction to finish creating the second fractional formula) to complete the second fractional formula,
Furthermore, Cf (division code of the first fractional expression), “2A+
2B+2C”, Cf (instruction to finish creating the first fractional formula)
By inputting , you can create a nested fractional formula as shown in Figure 4(j).

【0024】2  根号を含んだ数式   根号を含んだ数式の入力処理は、図1のコンピュー
タ100内の根号入力認識手段21、根号内要素記憶手
段22、根号記号発生手段23、根号式作成手段24、
の各構成要素によって行われる。オペレータは、根号を
含んだ数式を入力する場合、図3に示すコマンド画面3
12内のコマンド62をマウスによって指定する。この
コマンド61は、根号を含んだ数式の作成開始を指示す
るコマンドである。根号入力認識手段21は、マウスか
らこのコマンドが入力されると、以後、根号を含んだ数
式の作成終了指示までの間にキーボードから入力された
文字または式を、根号内要素として認識し、根号内要素
記憶手段22に格納する。根号記号発生手段23は、根
号内要素記憶手段22内に記憶された根号内要素の横方
向の長さと縦方向の長さとを求め、これに応じた横方向
の長さおよび縦方向の長さをもった根号記号を発生する
。 そして、根号式作成手段24は、根号内要素記憶手段2
2内に記憶された根号内要素と、根号記号発生手段23
により発生された根号記号と、を合成し、根号式のイメ
ージを作成する。こうして作成された根号式のイメージ
は、出力手段300に出力される。
2 Mathematical expressions containing radicals The input processing of mathematical expressions containing radicals is performed by the radical input recognition means 21, the radical element storage means 22, the radical symbol generation means 23, in the computer 100 shown in FIG. radical expression creation means 24;
This is done by each component of When the operator inputs a mathematical formula that includes radicals, the operator uses the command screen 3 shown in Figure 3.
Specify a command 62 in 12 using the mouse. This command 61 is a command that instructs to start creating a mathematical formula including radicals. When this command is input from the mouse, the radical input recognition means 21 recognizes any characters or expressions input from the keyboard afterward until the instruction to finish creating a mathematical formula including the radical is recognized as an element within the radical. and stores it in the radical element storage means 22. The radical symbol generating means 23 determines the horizontal length and vertical length of the radical symbol element stored in the radical symbol element storage means 22, and calculates the horizontal length and vertical dimension according to the determined horizontal length and vertical length. Generates a radical symbol with length. Then, the radical expression creation means 24 uses the radical element storage means 2
2 and the radical symbol generating means 23
The radical symbol generated by , is synthesized to create an image of the radical expression. The image of the radical expression created in this way is output to the output means 300.

【0025】続いて、根号を含んだ数式の入力処理を、
図5に示す具体的な実例に即して説明する。図5(a)
 〜(h) は、根号を含んだ数式の入力処理を行って
いる作業中における文書画面311の変遷を示す図であ
る。いま、図5(a) に示すように、「X=」なる文
字を入力した状態で、「X=」に続けて根号を含んだ数
式を入力する必要がある場合、オペレータは、マウスに
よりコマンド62を指定する。根号入力認識手段21は
、このコマンド62により、根号を含んだ数式の作成開
始を認識する。このとき、根号内要素記憶手段22には
、まだ根号内要素は格納されていない。このように根号
内要素が未定義の状態では、根号記号発生手段23は最
小の大きさの根号記号を発生する。この実施例では、1
文字分の文字に適した大きさの根号記号を発生させてい
る。したがって、根号式作成手段24によって作成され
る根号式は、図5(b) に示すようになる。なお、根
号入力認識手段21は、以後に入力される文字または式
を根号内要素として認識するので、キャレットCTは、
根号の内部に表示されるようになる。
[0025] Next, input processing of mathematical expressions including radicals is performed as follows.
This will be explained based on a specific example shown in FIG. Figure 5(a)
-(h) are diagrams showing changes in the document screen 311 during the process of inputting a mathematical formula including radicals. Now, as shown in Figure 5(a), when the character "X=" is input and it is necessary to input a mathematical expression that includes a radical following "X=", the operator can use the mouse to Specify command 62. The radical input recognition means 21 recognizes, by this command 62, the start of creating a mathematical expression including a radical. At this time, the intra-radical element storage means 22 has not yet stored any intra-radical elements. In this manner, in a state where the element within the radical is undefined, the radical symbol generating means 23 generates a radical symbol of the minimum size. In this example, 1
Generates a radical symbol of a size appropriate for the number of characters. Therefore, the radical expression created by the radical expression creation means 24 is as shown in FIG. 5(b). Note that the radical input recognition means 21 recognizes the characters or expressions input thereafter as elements within the radical, so the caret CT is
It will now appear inside the radical.

【0026】ここで、オペレータがキーボードから、た
とえば「AB」なる文字列を入力すると、この文字列「
AB」は根号内要素として根号内要素記憶手段22に格
納される。根号内要素の長さは2文字分なので、根号記
号発生手段23は、横の長さが2文字分に相当する根号
を発生する。こうして、ディスプレイ表示は図5(c)
のようになり、文字「B」の入力によって根号記号の水
平線が伸びたように見える。図5(d) は、更に「+
BCD」なる文字列を入力した状態を示す。文字だけで
なく、種々の式(たとえば、別な根号を含んだ式、行列
式、演算式など)を入力した場合も、その長さに応じて
根号記号が伸びてゆくことになる。根号を含んだ数式の
作成を終了する場合には、終了指示を入力すればよい。 この実施例では、やはりCfを終了指示として用いてい
る。終了指示を入力した後の文字は、根号記号の外に割
り付けられることになる。
[0026] Here, when the operator inputs, for example, the character string "AB" from the keyboard, this character string "
AB'' is stored in the intra-radical element storage means 22 as an intra-radical element. Since the length of the element within the radical sign is two characters, the radical sign generating means 23 generates a radical sign whose horizontal length corresponds to two characters. In this way, the display display is as shown in Figure 5(c).
The horizontal line of the radical symbol appears to be extended by inputting the letter "B". Figure 5(d) further shows “+
This shows a state in which the character string "BCD" has been input. If you enter not only characters but also various expressions (for example, expressions containing different radicals, determinants, arithmetic expressions, etc.), the radical symbol will grow depending on the length of the input. To end the creation of a mathematical formula that includes radicals, just input an end instruction. In this embodiment, Cf is also used as an end instruction. The characters after entering the termination instruction will be allocated outside the radical symbol.

【0027】根号記号は横方向だけでなく、縦方向にも
伸び得る。たとえば、図5(b) に示す状態において
、前述した分数式作成のコマンド61を入力したとする
と、図5(e) に示すように、根号記号は縦に伸びる
。これは、根号内要素記憶手段22の内容が、分子部記
憶手段12および分母部記憶手段13の記憶内容と重複
し、分子部と分母部との2段構造になるためである。こ
のように、図1の各ブロックは、ソフトウエアにより実
現される機能を示したものであり、別々のブロックとし
て示されている構成要素であっても、実際のハードウエ
アのメモリ領域としては必ずしも別々のものとは限らな
い。図5(e) の状態から、分子部を入力してゆけば
、図5(g) のようになり、ここで、Cf(分割コー
ド)を入力して分母部の入力を続け、最後に再びCfを
2回(1回目は分数式作成終了指示で2回目は根号式作
成終了指示)入力すれば、最終的に図5(h) に示す
ような分数式を根号内要素とする根号式が得られる。
Radical symbols can extend not only horizontally, but also vertically. For example, in the state shown in FIG. 5(b), if the above-mentioned fractional expression creation command 61 is input, the radical symbol will extend vertically as shown in FIG. 5(e). This is because the contents of the intraradical element storage means 22 overlap with the storage contents of the numerator part storage means 12 and the denominator part storage means 13, resulting in a two-stage structure of the numerator part and the denominator part. In this way, each block in Figure 1 shows a function realized by software, and even if the components are shown as separate blocks, they do not necessarily represent the actual hardware memory area. They don't necessarily have to be separate things. If you input the numerator part from the state shown in Figure 5(e), the result will be as shown in Figure 5(g), where you will input Cf (division code), continue inputting the denominator part, and finally enter it again. By inputting Cf twice (the first time is an instruction to end the creation of a fractional expression, and the second time is an instruction to end the creation of a radical expression), the final result is a root with a fractional expression as an element in the radical, as shown in Figure 5(h). The formula is obtained.

【0028】このようにオペレータは、根号記号を作成
する作業を全く行う必要がなく、非常に簡単に根号を含
んだ数式を作成することができる。
In this manner, the operator does not have to perform any work to create radical symbols, and can very easily create mathematical expressions that include radical symbols.

【0029】3  行列式   行列式の入力処理は、図1のコンピュータ100内
の行列式入力認識手段31、行列式内要素記憶手段32
、行列式枠記号発生手段33、行列式作成手段34、の
各構成要素によって行われる。オペレータは、行列式を
入力する場合、図3に示すコマンド画面312内のコマ
ンド63をマウスによって指定する。このコマンド63
は、行列式の作成開始を指示するコマンドである。行列
式入力認識手段31は、マウスからこのコマンドが入力
されると、以後、行列式の作成終了指示までの間にキー
ボードから入力された文字または式を、行列式内要素と
して認識し、行列式内要素記憶手段32に格納する。行
列式枠記号発生手段33は、行列式内要素記憶手段32
内に記憶された行列式内要素の横方向の長さと縦方向の
長さとを求め、これに応じた横方向の長さおよび縦方向
の長さをもった行列式枠記号を発生する。そして、行列
式作成手段34は、行列式内要素記憶手段32内に記憶
された行列式内要素と、行列式枠記号発生手段33によ
り発生された行列式枠記号と、を合成し、行列式のイメ
ージを作成する。こうして作成された行列式のイメージ
は、出力手段300に出力される。
3 Determinant The input process of the determinant is performed by the determinant input recognition means 31 and determinant element storage means 32 in the computer 100 in FIG.
, the determinant frame symbol generation means 33, and the determinant creation means 34. When inputting a determinant, the operator specifies a command 63 on the command screen 312 shown in FIG. 3 using the mouse. This command 63
is a command that instructs to start creating a determinant. When this command is input from the mouse, the determinant input recognition means 31 recognizes the characters or expressions input from the keyboard thereafter as elements within the determinant until the instruction to finish creating the determinant, and converts them into the determinant. It is stored in the internal element storage means 32. The determinant frame symbol generation means 33 includes the determinant internal element storage means 32
The horizontal and vertical lengths of the elements in the determinant stored in the determinant are determined, and a determinant frame symbol having corresponding horizontal and vertical lengths is generated. Then, the determinant creation means 34 combines the elements in the determinant stored in the element storage means 32 in the determinant and the determinant frame symbol generated by the determinant frame symbol generation means 33, and Create an image of The image of the determinant thus created is output to the output means 300.

【0030】以上の処理は、前述した根号を含んだ数式
の作成処理と同様であり、ここでは詳しい説明は省略す
る。この機能により、たとえば、図6に示すような行列
式を容易に作成することができる。
The above process is similar to the process of creating a mathematical expression including radicals, described above, and detailed explanation will be omitted here. With this function, for example, a determinant as shown in FIG. 6 can be easily created.

【0031】4  添字   添字の入力処理は、図1のコンピュータ100内の
添字入力認識手段41、添字要素記憶手段42、大きさ
決定手段43、割付位置決定手段44、添字付与手段4
5、の各構成要素によって行われる。オペレータは、添
字を入力する場合、図3に示すコマンド画面312内の
コマンド64〜67のいずれかをマウスによって指定す
る。コマンド64は上添字、コマンド65は下添字、コ
マンド66は上前添字、コマンド67は下前添字の付与
作業開始を指示するコマンドである。添字入力認識手段
41は、マウスからこれらのコマンドが入力されると、
以後、添字付与作業の終了指示までの間にキーボードか
ら入力された文字または式を、添字要素として認識し、
添字要素記憶手段42に格納する。
4. Subscript The subscript input process is carried out by the subscript input recognition means 41, subscript element storage means 42, size determination means 43, allocation position determination means 44, and subscript adding means 4 in the computer 100 shown in FIG.
This is done by each component of 5. When inputting a subscript, the operator specifies one of the commands 64 to 67 on the command screen 312 shown in FIG. 3 using the mouse. Command 64 is a command to start adding a superscript, command 65 is a subscript, command 66 is a superscript, and command 67 is a command to start adding a bottom subscript. When these commands are input from the mouse, the subscript input recognition means 41
From then on, characters or expressions entered from the keyboard until the end of the subscript assignment task are recognized as subscript elements,
It is stored in the subscript element storage means 42.

【0032】また、添字入力認識手段41は、添字付与
の対象となる対象文字と、この対象文字についての添字
付与位置の認識も行い、認識結果を大きさ決定手段43
および割付位置決定手段44に与える。大きさ決定手段
43は、添字入力認識手段41によって認識された対象
文字の大きさに基づいて添字の大きさを決定する。添字
が対象文字よりやや小さくなるように、大きさ決定を行
うようにするのが一般的である。割付位置決定手段44
は、添字入力認識手段41によって認識された添字付与
位置に基づいて添字の割付位置を決定する。添字付与位
置は、マウスからいずれのコマンドが入力されたかによ
って認識できる。すなわち、コマンド64,65,66
,67は、それぞれ、右上、右下、左上、左下の位置指
定に対応する。たとえば、コマンド64が入力された場
合は、添字は対象文字の右上の部分に付与されることに
なるので、割付位置決定手段44は、対象文字の位置お
よび大きさを考慮して、添字の割付位置を決定する。
[0032] The subscript input recognition means 41 also recognizes the target character to which a subscript is to be added and the position at which the subscript is to be added to this target character, and the recognition result is transferred to the size determining means 43.
and is given to the allocation position determining means 44. The size determination means 43 determines the size of the subscript based on the size of the target character recognized by the subscript input recognition means 41. Generally, the size is determined so that the subscript is slightly smaller than the target character. Allocation position determining means 44
determines the subscript allocation position based on the subscript addition position recognized by the subscript input recognition means 41. The subscript addition position can be recognized by which command is input from the mouse. That is, commands 64, 65, 66
, 67 correspond to upper right, lower right, upper left, and lower left positions, respectively. For example, if the command 64 is input, the subscript will be added to the upper right part of the target character, so the allocation position determining means 44 will assign the subscript in consideration of the position and size of the target character. Determine the position.

【0033】添字付与手段45は、添字要素記憶手段4
2内に記憶された添字要素を、大きさ決定手段43で決
定された大きさで、割付位置決定手段44で決定された
割付位置に割り付け、対象文字に添字を付与した状態の
イメージを作成する。こうして、添字の付与結果が出力
手段300に出力される。
The subscript adding means 45 includes the subscript element storage means 4
The subscript element stored in 2 is allocated to the allocation position determined by the allocation position determination means 44 with the size determined by the size determination means 43, and an image is created in which a subscript is attached to the target character. . In this way, the result of adding subscripts is output to the output means 300.

【0034】続いて、添字付与作業の処理を、図7に示
す具体的な実例に即して説明する。図7(a) 〜(i
) は、この添字付与作業中における文書画面311の
変遷を示す図である。図7(a) は、「A」なる文字
を入力したときの画面であり、キャレットCTは次に入
力される文字の位置にきている。この「A」なる文字に
、上添字を付与する作業は次のとおりである。まず、オ
ペレータは、マウスによりコマンド64(上添字)を指
定する。添字入力認識手段41は、このコマンド64に
より、添字付与作業の開始を認識し、以後に入力された
文字または式を添字要素記憶手段42に格納する。また
、大きさ決定手段43および割付位置決定手段44に対
して、添字付与の対象文字「A」の大きさおよび位置を
示す情報を与える。これにより、大きさ決定手段43は
これから入力される文字または式の大きさを決定し、割
付位置決定手段44はその割付位置を決定する。この実
施例の装置では、この大きさおよび位置を示すために、
キャレットCTを画面に表示させている。すなわち、図
7(a) の状態でコマンド64を入力すると、図7(
b) に示すようにキャレットCTの大きさおよび位置
が変化する。図7(a) のキャレットCTは、対象文
字「A」に対応する大きさをもち、この対象文字「A」
と同等の文字を入力する位置を示しているが、図7(b
) のキャレットCTは、これから入力する添字に対応
する大きさをもち、添字を入力する位置を示している。
Next, the process of adding subscripts will be explained with reference to a specific example shown in FIG. Figure 7(a) - (i
) is a diagram showing the transition of the document screen 311 during this subscript adding work. FIG. 7(a) shows the screen when the character "A" is input, and the caret CT is at the position of the next character to be input. The task of adding a superscript to the letter "A" is as follows. First, the operator specifies command 64 (superscript) using the mouse. The subscript input recognition means 41 recognizes the start of the subscript adding operation by this command 64, and stores the characters or expressions input thereafter in the subscript element storage means 42. Further, information indicating the size and position of the target character "A" to be subscripted is provided to the size determining means 43 and the allocation position determining means 44. Thereby, the size determining means 43 determines the size of the character or formula to be inputted, and the layout position determining means 44 determines the layout position thereof. In the device of this example, to indicate this size and position,
A caret CT is displayed on the screen. That is, if the command 64 is input in the state shown in FIG. 7(a), the state shown in FIG.
b) The size and position of the caret CT change as shown in . The caret CT in FIG. 7(a) has a size corresponding to the target character "A", and the caret CT in FIG.
Figure 7 (b) shows the position to input the equivalent character.
) The caret CT has a size corresponding to the subscript to be input from now on, and indicates the position at which the subscript is input.

【0035】ここで、オペレータがキーボードから、た
とえば「2」なる文字を入力すると、この文字「2」は
添字要素記憶手段42に格納され、添字付与手段45に
よって、この添字「2」のイメージが作成され、図7(
c) に示すようなディスプレイ表示が得られる。更に
続けて、「35」なる文字を入力すると、添字要素記憶
手段42に格納される文字列は「235」の3文字とな
り、図7(d) のようなディスプレイ表示が得られる
。ここで、添字付与作業の終了指示(この実施例ではC
f)を入力すれば、キャレットCTはもとの大きさに戻
り、対象文字「A」と同等の文字入力が可能になる。
Here, when the operator inputs, for example, the character "2" from the keyboard, this character "2" is stored in the subscript element storage means 42, and the subscript adding means 45 creates an image of this subscript "2". Figure 7 (
c) A display display as shown in is obtained. Further, when the character "35" is input, the character string stored in the subscript element storage means 42 becomes the three characters "235", and a display as shown in FIG. 7(d) is obtained. Here, an instruction to end the subscript assignment work (in this example, C
If f) is input, the caret CT returns to its original size, and a character equivalent to the target character "A" can be input.

【0036】この装置では、添字に更に添字を付与する
ことも可能である。たとえば、図7(c) の状態で、
更にコマンド64を入力すると、図7(e) のような
ディスプレイ表示が得られるれ。すなわち、キャレット
CTが更に小さくなり、添字「2」の右上の位置に移動
する。ここで、たとえば「3」なる文字を入力すると、
この文字「3」は添字「2」の添字(二重の添字)とし
て割り付けられ、図7(f) に示すディスプレイ表示
が得られる。 この状態で、更にコマンド64を入力すれば、キャレッ
トCTは更に小さくなり、三重の添字入力も可能である
。逆に、この状態からCfを続けて入力してゆくと、キ
ャレットCTは、三重の添字の位置から二重の添字へ、
更に、通常添字の位置へと戻り、最後に添字付与作業が
終了する。このように、添字を入れ子構造にして付与す
ることが可能である。
[0036] With this device, it is also possible to add another subscript to the subscript. For example, in the state shown in Figure 7(c),
If you further input the command 64, you will get a display as shown in Figure 7(e). That is, the caret CT becomes smaller and moves to the upper right position of the subscript "2". For example, if you enter the character "3",
This character "3" is assigned as a subscript (double subscript) to the subscript "2", and the display shown in FIG. 7(f) is obtained. If the command 64 is further input in this state, the caret CT becomes even smaller, and triple subscript input is also possible. Conversely, if you continue to input Cf from this state, the caret CT will move from the triple subscript position to the double subscript position,
Furthermore, the process returns to the normal subscript position, and finally the subscript adding work is completed. In this way, subscripts can be added in a nested structure.

【0037】以上、コマンド64による上添字について
説明したが、他の添字コマンドについての処理も全く同
様である。たとえば、コマンド65による下添字では、
図7(g) に示すような添字付与がなされ、コマンド
66による上前添字では、図7(h) に示すような添
字付与がなされ、コマンド67による下前添字では、図
7(i)に示すような添字付与がなされる。なお、この
実施例の装置では、上前添字あるいは下前添字を付与す
るときに、複数の文字を順次入力した場合は、先に入力
した文字から左方へとスクロールするように割付位置修
正がなされ、新たに入力した文字が常に対象文字「A」
の近傍にくるようにしてある。
Although the superscript by command 64 has been described above, the processing for other subscript commands is exactly the same. For example, subscripting with command 65:
Subscripts as shown in FIG. 7(g) are added, upper and lower subscripts by command 66 are subscripted as shown in FIG. 7(h), and lower front subscripts are added by command 67 as shown in FIG. Subscripts are added as shown. In addition, in the device of this embodiment, when adding a superscript or a bottom subscript, if multiple characters are input in sequence, the allocation position is corrected by scrolling to the left from the first input character. and the newly entered character is always the target character "A"
It is arranged so that it is close to .

【0038】5  演算式   演算式の入力処理は、図1のコンピュータ100内
の演算式入力認識手段51、演算式内要素記憶手段52
、演算式構造記憶手段53、位置修正手段54、位置指
示手段55、組版情報記憶手段56、演算式作成手段5
7、の各構成要素によって行われる。オペレータは、添
字を入力する場合、図3に示すコマンド画面312内の
所定の演算式コマンド(この実施例では、コマンド68
としてΣ、コマンド69としてΠ、の2とおりを用意し
ている)をマウスによって指定する。マウスからこのコ
マンドが入力されると、演算式入力認識手段51は、以
後、演算式の作成終了指示(この実施例では、Cfコー
ドの入力)までの間に、文字または式が入力されたとき
に、この入力された文字または式を演算式内要素として
認識する。ここで、演算式内要素は、演算式内要素記憶
手段52内に格納され、演算記号の周囲に割り付けられ
るべき文字または式である。また、この演算式内要素の
割付位置を指定するためのコードとして入力指示コード
が用いられる。この実施例では、入力指示コードとして
、コントロールf(Cf)とコントロールb(Cb)の
2とおりのコードを用意している。
5 Arithmetic expression Input processing of an arithmetic expression is performed by an arithmetic expression input recognition means 51 and an arithmetic expression element storage means 52 in the computer 100 in FIG.
, arithmetic expression structure storage means 53, position correction means 54, position instruction means 55, typesetting information storage means 56, arithmetic expression creation means 5
7, is performed by each component. When inputting a subscript, the operator inputs a predetermined arithmetic expression command (in this example, command 68) in the command screen 312 shown in FIG.
There are two options available: Σ as command 69 and Π as command 69). When this command is input from the mouse, the arithmetic expression input recognition means 51 recognizes that if any character or expression is input from then on until the instruction to finish creating the arithmetic expression (in this embodiment, the Cf code is input). Then, this input character or expression is recognized as an element within the arithmetic expression. Here, the elements in an arithmetic expression are characters or expressions that are stored in the element in an arithmetic expression storage means 52 and are to be allocated around an arithmetic symbol. Further, an input instruction code is used as a code for specifying the allocation position of the element within this arithmetic expression. In this embodiment, two types of codes, control f (Cf) and control b (Cb), are prepared as input instruction codes.

【0039】演算式構造記憶手段53には、各演算式に
用いる演算記号と、この演算記号に関して定義された複
数の位置がそれぞれ記憶されている。たとえば、和を求
める演算式Σについては、演算記号「Σ」と、この「Σ
」に関して、図8(a) に示すように定義された3つ
の位置■,■,■が記憶されている。この3つの位置は
、演算式Σで文字や式を割り付けるための領域に相当す
る。この実施例の装置では、この他に、積を求める演算
式Πについても演算記号とこれに関連した位置が記憶さ
れていることになる。また、組版情報記憶手段56内に
は、この各位置のそれぞれについての組版情報(割付位
置や文字の大きさなど)が記憶されている。位置指示手
段55は、定義された複数の位置のいずれかを指示する
機能を有する。たとえば、上述の演算式Σの場合には、
位置■,■,■のいずれか1つが指示されることになる
。位置修正手段54は、演算式入力認識手段51が認識
した入力指示コードに基づいて、位置指示手段55の指
示する位置を修正する機能を有する。前述のように、こ
の実施例では、入力指示コードとして、CfとCbとの
2つが用意されているが、位置指示手段55の指示する
位置は、Cfが入力されるたびに、■→■→■と昇順に
修正され、Cbが入力されるたびに、■→■→■と降順
に修正されるようになっている。
The arithmetic expression structure storage means 53 stores an arithmetic symbol used in each arithmetic expression and a plurality of positions defined for this arithmetic symbol. For example, for the arithmetic expression Σ that calculates a sum, the operator symbol ``Σ'' and this ``Σ''
'', three positions defined as shown in FIG. 8(a) are stored. These three positions correspond to areas for allocating characters and expressions in the arithmetic expression Σ. In addition to this, the apparatus of this embodiment also stores the operation symbol and the position related to the operation expression Π for calculating the product. Further, in the formatting information storage means 56, formatting information (layout position, character size, etc.) for each of these positions is stored. The position indicating means 55 has a function of indicating one of a plurality of defined positions. For example, in the case of the arithmetic expression Σ mentioned above,
One of the positions ■, ■, ■ will be designated. The position correction means 54 has a function of correcting the position indicated by the position instruction means 55 based on the input instruction code recognized by the arithmetic expression input recognition means 51. As described above, in this embodiment, two input instruction codes, Cf and Cb, are prepared, but the position indicated by the position indicating means 55 changes from ■→■→ It is modified in ascending order as ■, and each time Cb is input, it is modified in descending order as ■→■→■.

【0040】演算式内要素記憶手段52は、複数の位置
に対応する記憶領域を有し、演算式入力手段51が認識
した演算式内要素を、位置指示手段55の指示する位置
に対応する記憶領域に格納する。そして、演算式作成手
段57は、演算記号に関して定義された複数の位置のそ
れぞれに、演算式内要素記憶手段52内の対応する記憶
領域内に記憶されている演算式内要素を、組版情報記憶
手段56内の対応する組版情報に基づいて割り付け、演
算記号と演算式内要素とからなる演算式のイメージを作
成する。こうして作成されたイメージは、出力手段30
0によって出力される。
The element-in-arithmetic-expression storage means 52 has storage areas corresponding to a plurality of positions, and stores the element in the arithmetic-expression recognized by the expression input means 51 in the memory corresponding to the position indicated by the position indication means 55. Store in area. Then, the arithmetic expression creation means 57 stores the arithmetic expression elements stored in the corresponding storage areas in the arithmetic expression element storage means 52 at each of the plurality of positions defined regarding the arithmetic symbols, in the formatting information storage. The layout is performed based on the corresponding typesetting information in the means 56, and an image of the arithmetic expression consisting of the arithmetic symbol and the elements within the arithmetic expression is created. The image created in this way is output by the output means 30.
Output by 0.

【0041】続いて、演算式入力の処理を、図8に示す
具体的な実例に即して説明する。前述のように、演算記
号「Σ」については、図8(a) に示すように3つの
位置■,■,■が定義されている。図8(b) 〜(g
) は、この演算式Σについての入力作業中における文
書画面311の変遷を示す図である。まず、オペレータ
は、マウスによりコマンド68を入力する。演算式入力
認識手段51は、このコマンド68により、演算式Σに
関する入力作業の開始を認識し、以後に入力された文字
または式を演算式内要素として認識し、演算式内要素記
憶手段52に格納する。なお、前述のように、本実施例
では、CfおよびCbの2つを入力指示コードとして用
いているので、この2つのコードが入力された場合には
、これを位置修正手段54に与える。
Next, the processing of inputting an arithmetic expression will be explained with reference to a specific example shown in FIG. As mentioned above, for the operation symbol "Σ", three positions ■, ■, ■ are defined as shown in FIG. 8(a). Figure 8(b) to (g
) is a diagram showing the transition of the document screen 311 during input work for this arithmetic expression Σ. First, the operator inputs a command 68 using the mouse. Based on this command 68, the arithmetic expression input recognition means 51 recognizes the start of the input work regarding the arithmetic expression Σ, recognizes the characters or expressions input thereafter as elements in the arithmetic expression, and stores them in the element storage means 52 for the arithmetic expression. Store. As described above, in this embodiment, two codes, Cf and Cb, are used as input instruction codes, so when these two codes are input, they are provided to the position correction means 54.

【0042】このように、コマンド68により、演算式
Σに関する入力作業開始が指示されると、演算式作成手
段57は、演算式構造記憶手段53内に記憶されている
演算記号「Σ」のイメージを発生させ、出力手段300
としてのディスプレイ画面に表示する。この初期状態に
おいては、位置指示手段55は位置■を指示している。 この実施例の装置では、位置指示手段55が指示してい
る位置に、キャレットCTを表示させるようにしている
ため、結局、初期状態では、図8(b) に示すように
、位置■にキャレットCTが表示される。このキャレッ
トCTの大きさは、この位置■に割り付けられる文字の
大きさ(組版情報記憶手段56内に定義されている)に
対応したものである。
As described above, when the command 68 instructs to start inputting the arithmetic expression Σ, the arithmetic expression creation means 57 creates an image of the arithmetic symbol "Σ" stored in the arithmetic expression structure storage means 53. The output means 300
to be displayed on the display screen. In this initial state, the position indicating means 55 indicates position (2). In the device of this embodiment, the caret CT is displayed at the position indicated by the position indicating means 55, so in the initial state, the caret CT is displayed at the position ■ as shown in FIG. 8(b). CT is displayed. The size of this caret CT corresponds to the size of the character (defined in the formatting information storage means 56) allocated to this position ■.

【0043】この図8(b) の状態で、「i=1」な
る文字列を入力したとすると、この「i=1」なる文字
列は、演算式内要素記憶手段52内に格納される。この
とき、位置指示手段55の指示する位置■に対応する記
憶領域に格納されることになる。演算式作成手段57は
、この「i=1」なる文字列を、組版情報記憶手段56
内に記憶されている演算式Σの位置■についての組版情
報に基づいて割り付けたイメージを発生する。こうして
、「i=1」なる文字列は、位置■に割り付けられ、デ
ィスプレイ表示は図8(c) のようになる。
If the character string "i=1" is input in the state shown in FIG. . At this time, the data will be stored in the storage area corresponding to the position (3) indicated by the position indicating means 55. The arithmetic expression creation means 57 stores this character string “i=1” in the formatting information storage means 56.
An allocated image is generated based on the formatting information regarding the position (■) of the arithmetic expression Σ stored in the image. In this way, the character string "i=1" is assigned to the position ■, and the display becomes as shown in FIG. 8(c).

【0044】こうして、位置■に割り付けるべき文字の
入力が完了したら、オペレータは、入力指示コードCf
を入力する。このコードは位置修正手段54に与えられ
、位置指示手段55の指示する位置が昇順に修正される
。すなわち、位置指示手段55は、位置■を指示するよ
うになる。したがって、キャレットCTは位置■へと移
動し、ディスプレイ表示は図8(d) のようになる。 続いて、「k」なる文字を入力したとすると、この文字
は演算式内要素記憶手段52内の位置■に対応する記憶
領域に格納される。演算式作成手段57は、この「k」
なる文字を、組版情報記憶手段56内に記憶されている
演算式Σの位置■についての組版情報に基づいて割り付
けたイメージを発生する。こうして、「k」なる文字は
、位置■に割り付けられ、ディスプレイ表示は図8(e
) のようになる。
[0044] When the input of the characters to be assigned to position ■ is completed in this way, the operator inputs the input instruction code Cf.
Enter. This code is given to the position correcting means 54, and the position indicated by the position indicating means 55 is corrected in ascending order. That is, the position indicating means 55 now indicates the position ■. Therefore, the caret CT moves to position 3, and the display becomes as shown in FIG. 8(d). Subsequently, if the character "k" is input, this character is stored in the storage area corresponding to the position (■) in the arithmetic expression element storage means 52. The arithmetic expression creation means 57 uses this "k"
An image is generated in which characters are laid out based on the formatting information regarding the position (■) of the arithmetic expression Σ stored in the formatting information storage means 56. In this way, the character "k" is assigned to position ■, and the display is shown in Figure 8 (e
) become that way.

【0045】こうして、位置■に割り付けるべき文字の
入力が完了したら、オペレータは、再び、入力指示コー
ドCfを入力する。このコードは位置修正手段54に与
えられ、位置指示手段55の指示する位置が昇順に修正
される。すなわち、位置指示手段55は、位置■を指示
するようになる。したがって、キャレットCTは位置■
へと移動し(大きさも変わる)、ディスプレイ表示は図
8(f)のようになる。続いて、「Ai 」なる文字を
入力したとすると(前述した添字入力により「i」の入
力を行う)、この文字は演算式内要素記憶手段52内の
位置■に対応する記憶領域に格納される。演算式作成手
段57は、この「Ai 」なる文字を、組版情報記憶手
段56内に記憶されている演算式Σの位置■についての
組版情報に基づいて割り付けたイメージを発生する。こ
うして、「Ai 」なる文字は、位置■に割り付けられ
、ディスプレイ表示は図8(g) のようになる。最後
に、演算式の作成終了指示(この実施例では、やはりC
f)を入力すると、この作業は完了する。
[0045] When the input of the character to be assigned to position (3) is thus completed, the operator inputs the input instruction code Cf again. This code is given to the position correcting means 54, and the position indicated by the position indicating means 55 is corrected in ascending order. That is, the position indicating means 55 now indicates the position ■. Therefore, caret CT is at position ■
(the size also changes), and the display becomes as shown in FIG. 8(f). Next, if we input the character "Ai"("i" is input by inputting the subscript described above), this character is stored in the storage area corresponding to the position ■ in the calculation formula element storage means 52. Ru. The arithmetic expression creation means 57 generates an image in which the character "Ai" is allocated based on the forme information about the position (■) of the arithmetic expression Σ stored in the forme information storage means 56. In this way, the character "Ai" is assigned to the position ■, and the display becomes as shown in FIG. 8(g). Finally, an instruction to finish creating the arithmetic expression (in this example, C
f), this task is completed.

【0046】以上の作業では、Cfを入力して、位置■
→■→■と順に文字列の入力を行ったが、Cbを入力す
ることにより、位置■→■→■の逆順に送ることもでき
る。したがって、位置■の入力作業を実行中に、位置■
で入力した文字が誤りであったことに気付いたときなど
は、Cbの入力により再び位置■の入力をやりなおすこ
とが可能である。
[0046] In the above work, input Cf and set the position ■
Although the character string was input in the order of →■→■, it is also possible to send the character string in the reverse order of the position ■→■→■ by inputting Cb. Therefore, while inputting position ■, position ■
If you realize that the character you entered was incorrect, you can input Cb again to re-enter the position ■.

【0047】上述の実施例では、和を求める演算式Σに
ついての例を示したが、積を求める演算式Πについても
同様の作業が可能である。また、この他、図8(h) 
に示すように組み合わせを求める演算式Cについて位置
■,■を定義しておくこともできるし、図8(i) に
示すような積分演算式について位置■,■,■を定義し
ておくこともできる。この他にも、種々の演算式を定義
しておくことが可能である。
[0047] In the above embodiment, an example was given for the arithmetic expression Σ for calculating a sum, but the same operation can be performed for an arithmetic expression Π for calculating a product. In addition, Fig. 8 (h)
It is also possible to define the positions ■, ■ for the calculation formula C that calculates the combination as shown in Figure 8(i), or to define the positions ■, ■, ■ for the integral calculation formula as shown in Figure 8(i). You can also do it. In addition to this, it is possible to define various calculation expressions.

【0048】以上、本発明を図示する実施例に基づいて
説明したが、本発明はこの実施例のみに限定されるもの
ではなく、この他にも種々の態様で実施可能である。特
に、図1に示すブロック図は、説明の便宜上、この装置
を5つの機能(分数式、根号を含んだ式、行列式、添字
、演算式)に分けて示した機能ブロック図であり、実際
のハードウエアやソフトウエアの構成は、このブロック
図にとらわれるものではない。実用上は、この5つの機
能はそれぞれ別個に機能するだけでなく、相互に組み合
わせて機能し合うものである。たとえば、演算式Σの中
に分数式や根号を含んだ式を割り付けることも可能であ
る。また、図1のブロック図は、上述の5つの機能を行
うのに必要な構成要素のみを示したものであり、実際に
は、これらの各ブロック要素が、一般の文書作成装置の
一部に組み込まれて用いられることになる。
Although the present invention has been described above based on the illustrated embodiment, the present invention is not limited to this embodiment, and can be implemented in various other ways. In particular, the block diagram shown in FIG. 1 is a functional block diagram showing this device divided into five functions (fractional expression, expression including radical, determinant, subscript, and arithmetic expression) for convenience of explanation. The actual hardware and software configurations are not limited to this block diagram. In practice, these five functions not only function individually, but also function in combination with each other. For example, it is possible to assign a fractional expression or an expression containing a radical sign to the arithmetic expression Σ. Furthermore, the block diagram in Figure 1 shows only the components necessary to perform the five functions described above, and in reality, each of these block elements is part of a general document creation device. It will be incorporated and used.

【0049】[0049]

【発明の効果】以上のとおり本発明の文書作成装置によ
れば、分数式、根号を含んだ式、行列式、添字、演算式
などを含んだ文書を容易に作成することができる。
As described above, according to the document creation device of the present invention, documents containing fractional expressions, expressions containing radicals, determinants, subscripts, arithmetic expressions, etc. can be easily created.

【図面の簡単な説明】[Brief explanation of drawings]

【図1】本発明に係る数式を含んだ文書の作成装置の基
本構成を示すブロック図である。
FIG. 1 is a block diagram showing the basic configuration of a document creation device including mathematical formulas according to the present invention.

【図2】図1に示す装置におけるディスプレイの表示画
面の一例を示す図である。
FIG. 2 is a diagram showing an example of a display screen of a display in the apparatus shown in FIG. 1;

【図3】図2に示すコマンド画面の一例を示す図である
FIG. 3 is a diagram showing an example of the command screen shown in FIG. 2;

【図4】図1に示す装置における分数式の入力作業を示
すディスプレイ画面図である。
FIG. 4 is a display screen diagram showing a fractional expression input operation in the apparatus shown in FIG. 1;

【図5】図1に示す装置における根号を含んだ式の入力
作業を示すディスプレイ画面図である。
FIG. 5 is a display screen diagram showing an input operation of an expression including a radical in the apparatus shown in FIG. 1;

【図6】図1に示す装置における行列式の入力作業を示
すディスプレイ画面図である。
6 is a display screen diagram showing a determinant input operation in the apparatus shown in FIG. 1; FIG.

【図7】図1に示す装置における添字の入力作業を示す
ディスプレイ画面図である。
7 is a display screen diagram showing a subscript input operation in the apparatus shown in FIG. 1; FIG.

【図8】図1に示す装置における演算式の入力作業を示
すディスプレイ画面図である。
FIG. 8 is a display screen diagram showing an operation of inputting an arithmetic expression in the apparatus shown in FIG. 1;

【符号の説明】[Explanation of symbols]

11…分数入力認識手段 12…分子部記憶手段 13…分母部記憶手段 14…分割線発生手段 15…分数式作成手段 21…根号入力認識手段 22…根号内要素記憶手段 23…根号記号発生手段 24…根号式作成手段 31…行列式入力認識手段 32…行列式内要素記憶手段 33…行列式枠記号発生手段 34…行列式作成手段 41…添字入力認識手段 42…添字要素記憶手段 43…大きさ決定手段 44…割付位置決定手段 45…添字付与手段 51…演算式入力認識手段 52…演算式内要素記憶手段 53…演算式構造記憶手段 54…位置修正手段 55…位置指示手段 56…組版情報記憶手段 57…演算式作成手段 61〜69…コマンド 100…コンピュータ 200…入力手段(キーボード/マウス)300…出力
手段(ディスプレイ/プリンタ)310…ディスプレイ
画面 311…文書画面 312…コマンド画面 CT…キャレット MC…マウスカーソル
11...Fraction input recognition means 12...Numerator part storage means 13...Denominator part storage means 14...Dividing line generation means 15...Fraction formula creation means 21...Radical input recognition means 22...Radical element storage means 23...Radical symbol Generation means 24...Radical expression creation means 31...Determinant input recognition means 32...Determinant element storage means 33...Determinant frame symbol generation means 34...Determinant equation creation means 41...Subscript input recognition means 42...Subscript element storage means 43...Size determination means 44...Allocation position determination means 45...Subscript adding means 51...Arithmetic expression input recognition means 52...Equation element storage means 53...Arithmetic expression structure storage means 54...Position correction means 55...Position indicating means 56 ... Formatting information storage means 57 ... Arithmetic formula creation means 61 to 69 ... Command 100 ... Computer 200 ... Input means (keyboard/mouse) 300 ... Output means (display/printer) 310 ... Display screen 311 ... Document screen 312 ... Command screen CT …Caret MC…Mouse cursor

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  分数式の作成開始指示から作成終了指
示までの間に、文字または式が分割コードとともに入力
されたときに、前記分割コードを境界として、入力され
た文字または式を、分子部と分母部とに分けて認識する
分数入力認識手段と、前記分子部と認識された文字また
は式を記憶する分子部記憶手段と、前記分母部と認識さ
れた文字または式を記憶する分母部記憶手段と、前記分
子部記憶手段内に記憶された分子部の横方向の長さと、
前記分母部記憶手段内に記憶された分母部の横方向の長
さとを比較し、長い方に対応した長さをもった分母子分
割線を発生する分割線発生手段と、前記分子部記憶手段
内に記憶された分子部と、前記分母部記憶手段内に記憶
された分母部と、前記分割線発生手段により発生された
分母子分割線と、を合成し、分数式のイメージを作成す
る分数式作成手段と、作成された分数式のイメージを出
力する出力手段と、を備えることを特徴とする数式を含
んだ文書の作成装置。
Claim 1: When a character or expression is input together with a division code between the instruction to start creating a fractional expression and the instruction to end the creation, the input character or expression is divided into the numerator part using the division code as a boundary. fraction input recognition means for separately recognizing the characters and denominator parts; numerator part storage means for storing the characters or expressions recognized as the numerator part; and denominator part storage means for storing the characters or expressions recognized as the denominator part. a lateral length of the molecular part stored in the molecular part storage means;
dividing line generating means for comparing the horizontal length of the denominator stored in the denominator storing means and generating a denominator dividing line having a length corresponding to the longer one; and the numerator storing means. a numerator part stored in the denominator part storage means, a denominator part stored in the denominator part storage means, and a denominator/child dividing line generated by the dividing line generating means to create an image of a fractional expression. 1. A device for creating a document containing a mathematical formula, comprising: a mathematical formula creating means; and an output means for outputting an image of the created fractional formula.
【請求項2】  根号を含んだ数式の作成開始指示から
作成終了指示までの間に、文字または式が入力されたと
きに、この入力された文字または式を根号内要素として
認識する根号入力認識手段と、前記根号内要素として認
識された文字または式を記憶する根号内要素記憶手段と
、前記根号内要素記憶手段に記憶された根号内要素の横
方向の長さと縦方向の長さとを求め、これに応じた横方
向の長さおよび縦方向の長さをもった根号記号を発生す
る根号記号発生手段と、前記根号内要素記憶手段内に記
憶された根号内要素と、前記根号記号発生手段により発
生された根号記号と、を合成し、根号を含んだ数式のイ
メージを作成する根号式作成手段と、作成された根号式
のイメージを出力する出力手段と、を備えることを特徴
とする数式を含んだ文書の作成装置。
[Claim 2] When a character or expression is input between the instruction to start creating a mathematical expression that includes a radical and the instruction to end the creation, a root that recognizes the input character or expression as an element within the radical. a radical symbol input recognition means, a radical symbol element storage means for storing a character or an expression recognized as the radical symbol element, and a horizontal length of the radical symbol element stored in the radical symbol element storage means; radical symbol generating means for determining the length in the vertical direction and generating a radical symbol having a horizontal length and a vertical length corresponding to the determined length; a radical expression generating means for synthesizing the radical symbol elements generated by the radical symbol generating means and the radical symbol generated by the radical symbol generating means to create an image of a mathematical expression including the radical symbol; An apparatus for creating a document containing a mathematical formula, comprising: an output means for outputting an image of the image.
【請求項3】  行列式の作成開始指示から作成終了指
示までの間に、文字または式が入力されたときに、この
入力された文字または式を行列式内要素として認識する
行列式入力認識手段と、前記行列式内要素として認識さ
れた文字または式を記憶する行列式内要素記憶手段と、
前記行列式内要素記憶手段に記憶された行列式内要素の
横方向の長さと縦方向の長さとを求め、これに応じた横
方向の長さおよび縦方向の長さをもった行列式枠記号を
発生する枠記号発生手段と、前記行列式内要素記憶手段
内に記憶された行列式内要素と、前記枠記号発生手段に
より発生された行列式枠記号と、を合成し、行列式のイ
メージを作成する行列式作成手段と、作成された行列式
のイメージを出力する出力手段と、を備えることを特徴
とする数式を含んだ文書の作成装置。
[Claim 3] Determinant input recognition means that recognizes the input character or formula as an element within the determinant when a character or formula is input between an instruction to start creating the determinant and an instruction to end the creation. and a determinant-internal-element storage means for storing characters or formulas recognized as the determinant-internal elements;
The horizontal and vertical lengths of the elements in the determinant stored in the determinant-in-element storage means are determined, and the determinant frame has the horizontal and vertical lengths corresponding to the determined horizontal and vertical lengths. A frame symbol generation means for generating a symbol, an element within the determinant stored in the element storage means within the determinant, and a determinant frame symbol generated by the frame symbol generation means are combined, and the determinant is generated by 1. An apparatus for creating a document containing a mathematical formula, comprising: a determinant creating means for creating an image; and an output means for outputting an image of the created determinant.
【請求項4】  添字付与作業の開始指示が与えられた
ときに、添字付与の対象となる対象文字と、この対象文
字についての添字付与位置とを認識し、添字付与作業の
終了指示が与えられるまでの間に入力された文字または
式を添字要素として認識する添字入力認識手段と、前記
添字要素として認識された文字または式を記憶する添字
要素記憶手段と、前記添字入力認識手段によって認識さ
れた対象文字の大きさに基づいて添字の大きさを決定す
る大きさ決定手段と、前記添字入力認識手段によって認
識された添字付与位置に基づいて添字の割付位置を決定
する割付位置決定手段と、前記添字要素記憶手段内に記
憶された添字要素を、前記大きさ決定手段で決定された
大きさで、前記割付位置決定手段で決定された割付位置
に割り付け、前記対象文字に添字を付与した状態のイメ
ージを作成する添字付与手段と、作成されたイメージを
出力する出力手段と、を備えることを特徴とする数式を
含んだ文書の作成装置。
[Claim 4] When an instruction to start a subscript assignment task is given, a target character to which a subscript is assigned and a subscript assignment position for this target character are recognized, and an instruction to end the subscript assignment task is given. subscript input recognition means that recognizes the characters or expressions input during the above as subscript elements; subscript element storage means that stores the characters or expressions recognized as the subscript elements; size determining means for determining the size of the subscript based on the size of the target character; allocation position determining means for determining the allocation position of the subscript based on the subscript assignment position recognized by the subscript input recognition means; The subscript element stored in the subscript element storage means is allocated to the allocation position determined by the allocation position determination means with the size determined by the size determination means, and a subscript is added to the target character. 1. A device for creating a document containing mathematical formulas, comprising: a subscript adding means for creating an image; and an output means for outputting the created image.
【請求項5】  演算式の作成開始指示から作成終了指
示までの間に、文字または式、あるいは所定のコードが
入力されたときに、この入力された文字または式を演算
式内要素として、所定のコードを入力指示コードとして
、それぞれ認識する演算式入力認識手段と、演算式に用
いる演算記号を記憶し、この演算記号に関して定義され
た複数の位置を記憶した演算式構造記憶手段と、前記複
数の位置のそれぞれについての組版情報を記憶する組版
情報記憶手段と、前記複数の位置のいずれかを指示する
位置指示手段と、前記演算式入力認識手段が認識した入
力指示コードに基づいて、前記位置指示手段が指示する
位置を修正する位置修正手段と、前記複数の位置に対応
する記憶領域を有し、前記演算式入力手段が認識した演
算式内要素を、前記位置指示手段の指示する位置に対応
する記憶領域に格納する演算式内要素記憶手段と、前記
演算記号に関して定義された複数の位置のそれぞれに、
前記演算式内要素記憶手段内の対応する記憶領域内に記
憶されている演算式内要素を、前記組版情報記憶手段内
の対応する組版情報に基づいて割り付け、演算記号と演
算式内要素とからなる演算式のイメージを作成する演算
式作成手段と、作成された演算式のイメージを出力する
出力手段と、を備えることを特徴とする数式を含んだ文
書の作成装置。
[Claim 5] When a character, an expression, or a predetermined code is input between the instruction to start creating an arithmetic expression and the instruction to end the creation, the input character or expression is used as an element in the arithmetic expression and the specified code is input. an arithmetic expression input recognition means for recognizing each code as an input instruction code; an arithmetic expression structure storage means for storing an arithmetic symbol used in an arithmetic expression and a plurality of positions defined with respect to the arithmetic symbol; a forme information storage means for storing forme information for each of the positions; a position instructing means for instructing one of the plurality of positions; a position correcting means for correcting the position indicated by the indicating means; and a storage area corresponding to the plurality of positions; an arithmetic expression element storage means for storing in a corresponding storage area, and each of a plurality of positions defined for the arithmetic symbol;
The elements within the arithmetic expression stored in the corresponding storage area in the element storage means for the arithmetic expression are allocated based on the corresponding formatting information in the formatting information storage means, and the elements within the arithmetic expression What is claimed is: 1. An apparatus for creating a document containing a mathematical formula, comprising: a mathematical formula creating means for creating an image of the mathematical formula; and an output means for outputting the image of the created mathematical formula.
JP3103079A 1991-04-08 1991-04-08 Document preparing device including numerical formula Pending JPH04310170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3103079A JPH04310170A (en) 1991-04-08 1991-04-08 Document preparing device including numerical formula

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3103079A JPH04310170A (en) 1991-04-08 1991-04-08 Document preparing device including numerical formula

Publications (1)

Publication Number Publication Date
JPH04310170A true JPH04310170A (en) 1992-11-02

Family

ID=14344636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3103079A Pending JPH04310170A (en) 1991-04-08 1991-04-08 Document preparing device including numerical formula

Country Status (1)

Country Link
JP (1) JPH04310170A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5680638A (en) * 1994-08-05 1997-10-21 Sharp Kabushiki Kaisha Mathematical expression input apparatus
JP2008146289A (en) * 2006-12-08 2008-06-26 Casio Comput Co Ltd Fraction input display device and fraction input display program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5680638A (en) * 1994-08-05 1997-10-21 Sharp Kabushiki Kaisha Mathematical expression input apparatus
JP2008146289A (en) * 2006-12-08 2008-06-26 Casio Comput Co Ltd Fraction input display device and fraction input display program

Similar Documents

Publication Publication Date Title
US9223582B2 (en) User interface description language
JPS61241791A (en) Definition of line unit dimensions for text
JPS6262389A (en) Generation of display screen
Smith et al. MathScribe: A user interface for computer algebra systems
JPH04310170A (en) Document preparing device including numerical formula
JPH08161309A (en) Word processor
JP3109804B2 (en) Formula processing apparatus and method
JP3044052B2 (en) Character processor
JPH0525115B2 (en)
JPH04310173A (en) Chart preparing device
JP2672940B2 (en) Document processing device
JPS63165944A (en) Electronic calculator of handwriting input type
JPH0334073A (en) Input device for software drawing
JP3404770B2 (en) Document processing device
JPH0362170A (en) Comment input method in cad system
JPH0567089A (en) Word processor
JPS61262885A (en) Character displaying device
JPS62212838A (en) Source program editing system
JPH0245866A (en) Editing method for document in editing machine
JPH0863477A (en) Electronic equipment
JPH03129555A (en) Character processor with dictionary registering function
Sambrook Automatic Software Production Using an Interactive Graphical Editor
JPH06168309A (en) Device and method for displaying graphic processing
JPH04310171A (en) Document preparing device
JPS6338737B2 (en)