JPH08161309A - Word processor - Google Patents

Word processor

Info

Publication number
JPH08161309A
JPH08161309A JP6303579A JP30357994A JPH08161309A JP H08161309 A JPH08161309 A JP H08161309A JP 6303579 A JP6303579 A JP 6303579A JP 30357994 A JP30357994 A JP 30357994A JP H08161309 A JPH08161309 A JP H08161309A
Authority
JP
Japan
Prior art keywords
character
attribute
input
document
attributes
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
JP6303579A
Other languages
Japanese (ja)
Inventor
Koichi Nozaki
浩一 野崎
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6303579A priority Critical patent/JPH08161309A/en
Publication of JPH08161309A publication Critical patent/JPH08161309A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE: To set spacing quantity corresponding to a character and to facilitate type setting work by automatically giving a character attribute to inputted character information. CONSTITUTION: The character and the character attribute, which are inputted by the character attribute input part 11 of a document generation device, is stored in a character information storage part 12. A numerical formula setting part 13 retrieves the character attributes before and after the character based on information on the character information storage part 12 and executes type setting with appropriate character feeding. Thus, inputted numerical information is typeset as a numerical formula in accordance with spacing quantity between the attributes which are previously set by the format and the like. A character typesetting part 14 generates the typeset document by arranging the numerical formula generated by the numerical formula setting part 13 in the document. The result is displayed on CRT 16 and is printed by a printer 15.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、数式を含んだ文書を作
成する文書作成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus for creating a document containing mathematical expressions.

【0002】[0002]

【従来の技術】従来より、ワードプロセッサやDTP等
の文書作成装置において、隣接する文字間は「字送り」
で設定され、通常一定のものであった。字送りで指定さ
れた文字間を更に調整するためには、スペース文字が用
意されており、字送りで進められた文字間を空けたい場
合その位置に挿入していた。
2. Description of the Related Art Conventionally, in a document creation device such as a word processor or DTP, "advancing" is performed between adjacent characters.
It was set at and was usually constant. In order to further adjust the space between the characters specified by the character advance, a space character was prepared, and when it was desired to leave a space between the characters advanced by the character advance, it was inserted at that position.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、数式文
書では通常文字と文字との間隔は、文字間の属性によっ
て決められる。例えば、a−b=−5という数式で、最
初の「マイナス(−)」は二項演算子という属性であ
り、通常この前後の文字間は空けられる。後ろの「マイ
ナス」は普通記号という属性であり、通常この後ろの文
字との間隔は詰められる。
However, in mathematical expression documents, the distance between ordinary characters is determined by the attribute between characters. For example, in the mathematical expression ab = -5, the first "minus (-)" is an attribute of a binary operator, and the spaces before and after this are usually separated. The "minus" at the end is an attribute called an ordinary sign, and the space between the character and the character after this is usually reduced.

【0004】このように、字送り方法が入力する数式の
意味、言い換えると文字の属性に依存するような文書を
作成する場合、従来の手段では、ユーザは入力する数式
の意味を理解し、適切なスペースを挿入していかなけれ
ばならず、字間の調節が煩雑であるという問題点があっ
た。
As described above, in the case of creating a document that depends on the meaning of a mathematical expression input by the character sending method, in other words, the attribute of a character, according to the conventional means, the user understands the meaning of the mathematical expression to be input and is appropriate. However, there is a problem in that it is complicated to adjust the space between characters.

【0005】そこで本発明は、文字間を容易に調整でき
る文書作成装置を提供することを目的とする。
SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to provide a document creating apparatus capable of easily adjusting the space between characters.

【0006】[0006]

【課題を解決するための手段】本発明は、上記問題点を
解決するために、入力可能文字を文字属性で分類し、ユ
ーザが文字を入力すると共にその文字属性が付随される
仕組みを提供する。また、書式等によって、ユーザはあ
らかじめ文字属性の組合せによる字送り(以下スペーシ
ング量と呼ぶ)を設定できるようにしておく。これによ
り、文字入力と共に文字属性に伴った字送りで組版でき
るようになる。本発明では、数式で入力可能な文字を文
字属性で分類し、入力と共に文字属性が得られる手段
と、その属性に応じた字送りで組版できる手段を有す
る。
In order to solve the above-mentioned problems, the present invention provides a mechanism in which inputtable characters are classified according to character attributes, the user inputs characters, and the character attributes are attached. . In addition, the user is allowed to set a character advance (hereinafter referred to as a spacing amount) based on a combination of character attributes according to a format or the like. As a result, it is possible to typeset characters by inputting characters and sending characters according to the character attributes. The present invention has means for classifying the characters that can be input by a mathematical expression by the character attribute and obtaining the character attribute upon input, and means for typesetting by character forwarding according to the attribute.

【0007】[0007]

【作用】上記構成により、文字属性入力部より文字及び
文字属性が入力され、入力された文字属性情報を記憶し
て、属性情報に基づいて文字の前後の文字属性を検索
し、適切な字送りを行う。
With the above structure, a character and a character attribute are input from the character attribute input unit, the input character attribute information is stored, the character attributes before and after the character are searched based on the attribute information, and an appropriate character feed is performed. I do.

【0008】[0008]

【実施例】以下、本発明に係わる実施例について説明す
る。
EXAMPLES Examples according to the present invention will be described below.

【0009】図1は本発明の一実施例における文書作成
装置のブロック図、図2は同文書作成装置の要部論理ブ
ロック図である。
FIG. 1 is a block diagram of a document creating apparatus according to an embodiment of the present invention, and FIG. 2 is a logical block diagram of essential parts of the document creating apparatus.

【0010】図1中、1は図3のフローチャートに沿う
制御プログラムを記憶しているROM(リードオンリー
メモリ)、2はROM1の制御プログラムを実行し、後
述する各要素を制御するCPU(中央処理装置)、3は
ユーザが文字入力などの情報を入力するためのキーボー
ド、4は文字入力の位置及び、文字入力などを行うため
に使用するマウス、5は作成された文書を保存するため
の補助記憶装置、6は入力された文書の体裁を表示する
CRTである。
In FIG. 1, 1 is a ROM (read only memory) which stores a control program according to the flow chart of FIG. 3, 2 is a CPU (central processing which executes the control program of the ROM 1 and controls each element described later). (Device), 3 is a keyboard for the user to input information such as character input, 4 is the position of the character input, and mouse is used for performing the character input, and 5 is an aid for saving the created document The storage device 6 is a CRT that displays the appearance of the input document.

【0011】図2中、11は文字及び文字属性を入力す
る文字属性入力部、12は文字属性入力部11で入力さ
れた文字、属性情報を記憶しておく文字情報記憶部、1
3は文字情報記憶部12の情報に基づき文字の前後の文
字属性を検索し、適切な字送りで組版する数式組版部、
14は文書内に数式組版部13で作成された数式を配置
する文字組版部、15は組版した結果を印字するプリン
タ、16は同結果を表示するCRTである。
In FIG. 2, 11 is a character attribute input section for inputting characters and character attributes, 12 is a character information storage section for storing characters and attribute information input by the character attribute input section 11, 1
3 is a mathematical typesetting unit that searches for character attributes before and after a character based on the information in the character information storage unit 12 and typesets it with appropriate letter forwarding.
Reference numeral 14 is a character typesetting section for arranging mathematical formulas created by the mathematical typesetting section 13 in the document, 15 is a printer for printing the formatted result, and 16 is a CRT for displaying the same result.

【0012】次に図4を参照しながら、文字入力と共に
属性を入力する手段と属性間のスペーシング量を指定す
る手段を説明する。図4中、A1は数式で入力可能な文
字を文字属性毎に分類した文字属性入力部11による表
示例(パレット)である。ユーザは例えばCRT6上に
表示されたこの数式パレット内の文字をマウス4等で選
択することで文字入力を行う。入力指示を受けると、文
字属性入力部11は、どの文字を入力するのかといった
情報と共に、その文字属性は何かという情報をパレット
上から読み取り、文字情報記憶部12に格納する。
Next, with reference to FIG. 4, a means for inputting attributes together with character input and a means for designating a spacing amount between attributes will be described. In FIG. 4, A1 is a display example (palette) by the character attribute input unit 11 in which characters that can be input by a mathematical expression are classified for each character attribute. The user inputs a character by selecting the character in the mathematical expression palette displayed on the CRT 6 with the mouse 4 or the like. Upon receiving the input instruction, the character attribute input unit 11 reads information indicating what character attribute is input from the palette along with information such as which character is to be input, and stores it in the character information storage unit 12.

【0013】入力された文字は、数式組版部13により
書式等であらかじめ設定していた属性間のスペーシング
量に従って組版され、その結果が例えば図4中ウィンド
ウA3に表示される。図4中、A2は数式組版部13に
おいて参照される属性間のスペーシング量を設定するウ
ィンドウの例を示している。属性間のスペーシングはパ
レットA1で分類された文字属性の2乗個の組合せが存
在し、その組合せをマトリクスで表現し、ユーザ指定で
きるようにしている。
The input characters are typeset by the mathematical typesetting unit 13 according to the spacing amount between attributes set in advance by a format or the like, and the result is displayed, for example, in the window A3 in FIG. In FIG. 4, A2 indicates an example of a window for setting the spacing amount between the attributes referred to by the mathematical expression typesetting unit 13. For the spacing between attributes, there are square combinations of character attributes classified by the palette A1, and the combinations are expressed in a matrix so that the user can specify them.

【0014】図5でa−b=−5という数式を例にし
て、数式組版部13におけるスペーシング量算出手続き
を説明する。キーボード3などを用いて入力された文字
は、文字情報、文字属性情報と共に文字情報記憶部12
に格納されている。またここでは、文字ピッチだけで組
版した時のx座標が既に求められ、文字情報記憶部12
に格納されている(図5(a))。
The spacing amount calculation procedure in the mathematical expression typesetting section 13 will be described by taking the mathematical expression ab = -5 in FIG. 5 as an example. A character input using the keyboard 3 or the like is stored in the character information storage unit 12 together with character information and character attribute information.
It is stored in. Further, here, the x coordinate when the typesetting is performed only with the character pitch has already been obtained, and the character information storage unit 12
(FIG. 5A).

【0015】まず、文字「a」に対してその前の文字と
のスペーシング量を得ようとする。しかし、文字「a」
は文字列の先頭なのでスペーシングはとらない。従って
SPACING=0となる。次にスペーシング対象文字
「−」に対してスペーシングを考える。前の文字「a」
は普通記号なので、普通記号×二項演算子のスペーシン
グ量を得、SPACINGを更新する。また、文字
「−」のx座標をSPACING量分変更する(図5
(c))。
First, an attempt is made to obtain a spacing amount between the character "a" and the preceding character. However, the letter "a"
Since is the beginning of the string, no spacing is taken. Therefore, SPACING = 0. Next, the spacing will be considered for the spacing target character "-". Previous letter "a"
Since is an ordinary symbol, the spacing amount of the ordinary symbol × binary operator is obtained, and SPACEING is updated. Further, the x coordinate of the character "-" is changed by the amount of SPACEING (FIG. 5).
(C)).

【0016】更にスペーシング対象文字を「b:普通記
号」に対し、前の文字「−:二項演算子」とのスペーシ
ング量でSPACINGを更新し、文字「b」のx座標
を更新する。以下同様の処理を繰り返し、文字列の終り
を検出すると処理を終える。以上のような本実施例の文
書作成装置について、以下、その動作を図3のフローチ
ャートを用いて説明する。
Further, for the character to be spaced "b: ordinary symbol", SPACEING is updated by the spacing amount with the previous character "-: Binary operator", and the x coordinate of the character "b" is updated. . The same process is repeated thereafter, and the process ends when the end of the character string is detected. The operation of the document creating apparatus of this embodiment as described above will be described below with reference to the flowchart of FIG.

【0017】まず、これまで現れてきたスペーシング量
の総和を格納する変数SPACINGを0に初期化する
(ステップ1)。次にスペーシング量を調べる対象文字
を設定し(ステップ2)、ステップ2で対象文字が文字
列の終りを示しているか調べる(ステップ3)。対象文
字の文字属性を得(ステップ4)、文字属性を持ってい
ないならば、対象文字を進め(ステップ5)、対象文字
の前の文字を得る(ステップ6)。対象文字が先頭のも
のである場合スペーシングを行う必要がないので、ステ
ップ2で対象文字を進める(ステップ7)。前の文字の
属性を獲得しにいき(ステップ8)、その文字に属性が
ない場合はステップ6にて、更に前の文字とのスペーシ
ング量を(ステップ9)対象文字の属性と前の文字の属
性が得られた場合は、その組合せに従いSPACING
を更新する(ステップ10)。ステップ10で更新した
SPACINGの値で対象文字のx座標を更新する(ス
テップ11)。
First, a variable SPACING, which stores the total amount of spacing that has appeared so far, is initialized to 0 (step 1). Next, a target character whose spacing amount is to be checked is set (step 2), and in step 2, it is checked whether the target character indicates the end of the character string (step 3). The character attribute of the target character is obtained (step 4). If it does not have the character attribute, the target character is advanced (step 5) and the character before the target character is obtained (step 6). If the target character is the first one, it is not necessary to perform spacing, so the target character is advanced in step 2 (step 7). Go to the attribute of the previous character (step 8). If the character has no attribute, in step 6, the spacing amount with the previous character is calculated (step 9). When the attributes of are obtained, SPACERING is performed according to the combination.
Is updated (step 10). The x coordinate of the target character is updated with the value of SPACEING updated in step 10 (step 11).

【0018】[0018]

【発明の効果】入力と一緒に文字属性を獲得し、属性の
組合せに従うスペーシング量を設定することで、数式の
ような文字属性によって一定の文字間隔を取らなければ
ならない文書の作成を容易に行うことができる。
EFFECTS OF THE INVENTION By acquiring a character attribute together with input and setting a spacing amount according to a combination of attributes, it becomes easy to create a document in which a certain character interval must be set according to a character attribute such as a mathematical expression. It can be carried out.

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

【図1】本発明の一実施例における文書作成装置のブロ
ック図
FIG. 1 is a block diagram of a document creation device according to an embodiment of the present invention.

【図2】本発明の一実施例における文書作成装置の要部
論理ブロック図
FIG. 2 is a logical block diagram of main parts of the document creating apparatus according to the embodiment of the present invention.

【図3】本発明の一実施例における文書作成装置の動作
を示すフローチャート
FIG. 3 is a flowchart showing the operation of the document creating apparatus according to the embodiment of the present invention.

【図4】本発明の一実施例における画面、入力部の説明
FIG. 4 is an explanatory diagram of a screen and an input unit according to an embodiment of the present invention.

【図5】(a)本発明の一実施例における文書作成装置
のスペーシング動作説明図 (b)本発明の一実施例における文書作成装置のスペー
シング動作説明図 (c)本発明の一実施例における文書作成装置のスペー
シング動作説明図 (d)本発明の一実施例における文書作成装置のスペー
シング動作説明図
FIG. 5A is a diagram explaining a spacing operation of the document creating apparatus according to the embodiment of the present invention. FIG. 5B is a spacing operation explanatory diagram of the document creating apparatus according to the embodiment of the present invention. Explanatory diagram of spacing operation of document creating apparatus in example (d) Explanatory diagram of spacing operation of document creating apparatus in one embodiment of the present invention

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

11 文字属性入力部 12 文字情報記憶部 13 数式組版部 11 Character Attribute Input Section 12 Character Information Storage Section 13 Formula Formulation Section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】文字の属性を入力するための文字属性入力
部と、前記文字属性入力部から入力された文字の属性を
記憶する文字情報記憶部と、前記文字情報記憶部の情報
に基づき文字の前後の文字の属性を検索し、適切な字送
りで組版する数式組版部とを備えたことを特徴とする文
書作成装置。
1. A character attribute input section for inputting a character attribute, a character information storage section for storing the attribute of a character input from the character attribute input section, and a character based on information in the character information storage section. A document creation device, comprising: a mathematical expression typesetting unit that searches for the attributes of characters before and after and typesets with appropriate character feeding.
JP6303579A 1994-12-07 1994-12-07 Word processor Pending JPH08161309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6303579A JPH08161309A (en) 1994-12-07 1994-12-07 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6303579A JPH08161309A (en) 1994-12-07 1994-12-07 Word processor

Publications (1)

Publication Number Publication Date
JPH08161309A true JPH08161309A (en) 1996-06-21

Family

ID=17922707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6303579A Pending JPH08161309A (en) 1994-12-07 1994-12-07 Word processor

Country Status (1)

Country Link
JP (1) JPH08161309A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6928611B2 (en) 2000-09-25 2005-08-09 Adobe Systems Incorporated Setting text composition spacing amount
US7039862B2 (en) 2002-05-10 2006-05-02 Adobe Systems Incorporated Text spacing adjustment
US7071941B2 (en) 2000-02-12 2006-07-04 Adobe Systems Incorporated Method for calculating CJK emboxes in fonts
US7123261B2 (en) 2002-12-26 2006-10-17 Adobe Systems Incorporated Coordinating grid tracking and mojikumi spacing of Japanese text
US7167274B2 (en) 2001-09-28 2007-01-23 Adobe Systems Incorporated Line leading from an arbitrary point
US7168037B2 (en) 2000-09-25 2007-01-23 Adobe Systems Incorporated Text composition spacing amount setting device with icon indicators
US7296227B2 (en) 2001-02-12 2007-11-13 Adobe Systems Incorporated Determining line leading in accordance with traditional Japanese practices
US7305617B2 (en) 2000-02-12 2007-12-04 Adobe Systems Incorporated Method for aligning text to baseline grids and to CJK character grids
US7320104B2 (en) 2000-02-12 2008-01-15 Adobe Systems Incorporated Text grid creation tools
US7594171B2 (en) 2004-10-01 2009-09-22 Adobe Systems Incorporated Rule-based text layout

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7071941B2 (en) 2000-02-12 2006-07-04 Adobe Systems Incorporated Method for calculating CJK emboxes in fonts
US7305617B2 (en) 2000-02-12 2007-12-04 Adobe Systems Incorporated Method for aligning text to baseline grids and to CJK character grids
US7320104B2 (en) 2000-02-12 2008-01-15 Adobe Systems Incorporated Text grid creation tools
US6928611B2 (en) 2000-09-25 2005-08-09 Adobe Systems Incorporated Setting text composition spacing amount
US7168037B2 (en) 2000-09-25 2007-01-23 Adobe Systems Incorporated Text composition spacing amount setting device with icon indicators
US7296227B2 (en) 2001-02-12 2007-11-13 Adobe Systems Incorporated Determining line leading in accordance with traditional Japanese practices
US7167274B2 (en) 2001-09-28 2007-01-23 Adobe Systems Incorporated Line leading from an arbitrary point
US7039862B2 (en) 2002-05-10 2006-05-02 Adobe Systems Incorporated Text spacing adjustment
US7123261B2 (en) 2002-12-26 2006-10-17 Adobe Systems Incorporated Coordinating grid tracking and mojikumi spacing of Japanese text
US7594171B2 (en) 2004-10-01 2009-09-22 Adobe Systems Incorporated Rule-based text layout
US7783969B1 (en) 2004-10-01 2010-08-24 Adobe Systems Incorporated Rule-based text layout

Similar Documents

Publication Publication Date Title
US20050216836A1 (en) Electronic document processing
US6928611B2 (en) Setting text composition spacing amount
JPH08161309A (en) Word processor
US20050177786A1 (en) Text composition spacing amount setting device with icon indicators
JPS6017487A (en) Automatic line pitch setting method for document generator
JP3100614B2 (en) Document processing apparatus and document processing method
JP2815158B2 (en) Character processor
JP3275628B2 (en) Layout correction device
JP2764944B2 (en) Character output device
JPH07105197A (en) Document processor
JP3404770B2 (en) Document processing device
JPH06219011A (en) Document processor
JP3470926B2 (en) Document processing apparatus and document processing method
JPH0883279A (en) Electronic document preparation device
JPH08315164A (en) Layout correcting device
JPH09185603A (en) Document preparing device and character string form control method
JPS61286177A (en) Document-forming device
JPH06234201A (en) Letter composing device
JPH0581249A (en) Word processor
JPH01150968A (en) System for inputting character with attribute
JPH07141366A (en) Word processor and method for generating document with notes
JPH06250632A (en) Character editing device
JPH08314925A (en) Layout correction device
JPH0692168B2 (en) Document creation device
JP2003131932A (en) System, method and program for constructing a database as well as recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040302

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050105

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050426