JPS60150164A - Document producer - Google Patents

Document producer

Info

Publication number
JPS60150164A
JPS60150164A JP59005543A JP554384A JPS60150164A JP S60150164 A JPS60150164 A JP S60150164A JP 59005543 A JP59005543 A JP 59005543A JP 554384 A JP554384 A JP 554384A JP S60150164 A JPS60150164 A JP S60150164A
Authority
JP
Japan
Prior art keywords
line
width
character string
vertical width
line spacing
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
JP59005543A
Other languages
Japanese (ja)
Inventor
Noriyoshi Kikuchi
菊地 紀芳
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59005543A priority Critical patent/JPS60150164A/en
Publication of JPS60150164A publication Critical patent/JPS60150164A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

PURPOSE:To realize excellent function under superior operability by obtaining the largest width of characters and marks appearing in a line to compare this width with the length between the preceding and next lines and then extending automatically the length between both lines in case said largest width is longer than the length between both lines. CONSTITUTION:An input part 1 receives a character string to be displayed and its vertical width information and sends the character string equivalent to one line to a character string memory part 2 and also sends the vertical width of the character string to a largest width calculating part 3. The part 3 obtains the largest vertical width of characters equivalent to a line and stores it to a largest width memory part 4. Then a line space changing part 5 reads out the contents of a line space memory part 6 which are already given from another means to compare it with the value of the part 4. Then the part 5 changes the line space of the part 6 to the value obtained by subtracting the vertical width from the largest width of the part 4 in case it is decided that some inconvenience is caused with a display using the contents of the part 6. A display part 7 changes the line space according to the value of the part 6 and displays the contents of the part 2 to a display, a printer, etc.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はワードプロセッサ等の文書作成装置に関する。[Detailed description of the invention] [Technical field of invention] The present invention relates to a document creation device such as a word processor.

〔発明の技術的片景とその問題点〕[Technical overview of the invention and its problems]

従来、初期のワードプロセッサにおいては扱える文字サ
イズは一種であり1行中に異なる大きさの文字や数式の
様な幅の異なる記号を表示することは出来なかった。例
えば第1図(a)は文字列を長足画面に表示する際の基
本となるA’l¥幅であり第1図(b)はその行間隔で
ある。この場合、表示すべき文字の縦幅が縦幅(a)土
性間隔(b)を越えてしまう・、11合、このままでは
表示不可能であり、図中の「1;1分会式」のルビを表
示するためにはこのエリアを特別に設ける必要が有り、
従来はこれをハード的な操作で行なっていたため処理が
複雑であった。
Conventionally, early word processors could handle only one type of character size, and were unable to display characters of different sizes or symbols of different widths, such as numerical formulas, in one line. For example, FIG. 1(a) shows the A'l\ width, which is the basis for displaying character strings on a long screen, and FIG. 1(b) shows the line spacing. In this case, the vertical width of the characters to be displayed exceeds the vertical width (a) and the spacing (b). In order to display ruby, it is necessary to create this area specially.
Conventionally, this was done using hardware operations, making the process complicated.

又、近来技術の進歩にょ〕第1図の数式に示す様にこの
数式を3行に分けて本来の行の上と下におのおの1行づ
つ表示することで積分記号や総和記号を扱うことが出来
る様になってきた。しかし、この従来技術においては3
行別々に処理を扱うために修正を行なう場合には3回行
なわねばならない等、操作性が良いとはいえない状態に
あった。
Also, with recent advances in technology, it has become possible to handle integral symbols and summation symbols by dividing this formula into three lines and displaying one line above and below the original line, as shown in the formula in Figure 1. It has become. However, in this conventional technology, 3
In order to handle processing for each row separately, if corrections were to be made three times, the operability was not good.

また、この場合もI涌の行および後の行との間隔を含め
た長さにおさまる大きさのものしか扱えないなどの制限
があった。
In addition, in this case as well, there were limitations such as being able to handle only items whose size would fit within the length of the first row and the spacing between it and the subsequent row.

〔発明の目的〕[Purpose of the invention]

本発明はこのような事情を考慮してなされたもので、そ
の目的とするところは1行中に異なる大きさの文字、あ
るいは数式の様に幅の異なる記号を含む文字列を表示す
ること及び、その際に行と行の間隔を自動的に7(出す
ることで良い操作性のもとに高い機能を実現する装置を
提供することにある。
The present invention was made in consideration of these circumstances, and its purpose is to display character strings including characters of different sizes or symbols of different widths such as mathematical formulas in one line. The purpose of the present invention is to provide a device that realizes high functionality with good operability by automatically adjusting the spacing between lines by 7 (7).

〔発明の概要〕 本発明は表示部と、この表示部に表示すべき1行分の文
字列及びこの文字列の縦幅を入力する入力部と、この入
力部より入力された1行分の文字列を記憶する文字列記
憶部と、;)IJ記大入力部より入力された1行分の文
字列の縦幅の内で最長のハ隅を算出する最長幅tT出部
と、この最長幅算出部より出力された最長の縦幅を記憶
する最長幅記憶R11と、前記表示7X1(に文字列が
表示される際の基本となる縦幅及び行間隔を予め記憶し
て訃く行間隔記憶部と、この行間隔記憶部だ記憶された
基本となる縦幅及び行間隔の和と前記最長幅記憶部に記
:、こされた最長の縦幅とを比較しJ′ゆ長の縦幅の方
が長い場合はこの最長の縦幅から前記基本となる剖:J
i″;を引いた値を新たな行間隔としてM記行間FA記
1−1部に記憶させる行間隔変更部とを備え、TI’J
 j:jL表示部は前記文字列記1意部に記憶された1
行分の文字列を前記行間隔記憶部に記憶された新たな行
間隔によって表示するものである。
[Summary of the Invention] The present invention includes a display section, an input section for inputting one line of character string to be displayed on the display section and the vertical width of this character string, and a character string storage section that stores character strings, a longest width tT output section that calculates the longest C corner within the vertical width of one line of character strings input from the IJ writing input section; The longest width memory R11 stores the longest vertical width output from the width calculation unit, and the vertical width and line spacing that are the basics when a character string is displayed in the display 7X1 (are stored in advance). The storage unit and the line spacing storage unit compare the sum of the basic vertical width and line spacing stored in the longest width storage unit with the longest vertical width written in the longest width storage unit, and calculate the length of J′ length. If the width is longer, use the longest vertical width as the basic analysis: J
TI'J
j:jL display part is 1 stored in the character string entry 1 part
The character string for a line is displayed using the new line spacing stored in the line spacing storage section.

〔発明の効果〕〔Effect of the invention〕

本方式によれば1行に現わfLる文″:T−あるいは記
号の幅の最長値をめ、前の行と次の行の間のノとさと比
べてそこに入らない場合には行間を長くすることが自動
的に行なわれるので従来方式に比べてl)4純で(■作
が(夕めで容易であり、人間の操作者にとっては効率が
向上する。
According to this method, find the longest value of the width of the sentence ":T-" or symbol that appears on one line, and compare it with the width of the symbol between the previous line and the next line.If it does not fit there, the line spacing is Since lengthening is automatically performed, compared to the conventional method, it is easier to make (1) in 4 pure (2) times, and efficiency is improved for the human operator.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を参漏して本発明の一実施例につき説明する
Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第2図は本発明の実施例装置の慨略+74成図である。FIG. 2 is a schematic +74 diagram of a device according to an embodiment of the present invention.

入力部1は後述する表示部7に表示すべき文字列及びそ
の縦幅情報を受けとる役割をはだし、受けとっIこ】行
分の文字列を文字列記憶部2へ送りそこで1行分の文字
列が記憶される。同時に入力部1は受けとった1行分の
文字列の縦幅を最長幅算出部3へ送る。この文字列には
文字の縦幅を示す情報がイて1加されているものとする
。最長幅算出部3では1行分の文字の縦幅の最長値をめ
これを最長幅記憶部4へ記1.aさせる。次に行間隔変
更部5では、すでに別の手段で与えられた行間隔記憶部
6の内容(縦幅、行間隔)を読み出し、最長幅記憶部4
の値(最長幅)と比較し、行間隔記憶部6の内容で表示
したのでは前の行の文字列と重なることになり表示に不
都合を正すると判断した場合は行間隔記憶部6内の行間
隔をノ+U長幅記憶部4内の最長幅から縦幅を引いた値
で:Itき変える。
The input section 1 plays the role of receiving a character string to be displayed on the display section 7, which will be described later, and its height information, and sends the character string for one line to the character string storage section 2, where it stores the characters for one line. Columns are remembered. At the same time, the input unit 1 sends the vertical width of the received character string for one line to the longest width calculation unit 3. It is assumed that information indicating the vertical width of the character is added to this character string by 1. The maximum width calculation unit 3 determines the maximum vertical width of one line of characters and records this in the maximum width storage unit 4.1. let a. Next, the line spacing changing unit 5 reads out the contents (vertical width, line spacing) of the line spacing storage unit 6 already given by another means, and
(maximum width), and if it is displayed using the contents of the line spacing storage section 6, it will overlap with the character string of the previous line, so if it is determined that the display problem should be corrected, The line spacing is changed by the value obtained by subtracting the vertical width from the longest width in the length storage section 4.

表示部7では行間隔記憶RIS 6 VCある値に7.
t、 、Hいて行間隔を変更して文字列6己憶部2の内
キ“f(1行分の文字列)をディスプレイ装置あるいは
プリンタ装置などへ表示する。
In the display section 7, the line spacing memory RIS 6 VC is set to a certain value.
t, , and H to change the line spacing and display the character string "f" (character string for one line) in the character string 6 self-memory section 2 on a display device, a printer device, or the like.

つ寸す、行間隔記憶部6には表示部7に文字列を表示す
る際の基本となる縦幅及び行間隔カー己憶されている。
The line spacing storage section 6 stores the vertical width and line spacing values that are the basis for displaying character strings on the display section 7.

行間隔変更部5は最長幅M己憶t;t+ 4に記憶され
ている最長幅と、行間隔記憶819〇にAl1憶されて
いる(縦幅−ト行間隔)とを比較し、最長幅の方が長い
場合にはこの最長幅から縦11ifAを引いた値を新し
い行間隔として行間隔記憶部1(6に記憶させる。表示
部7はこの新しい行間隔によって文字列記憶部2内の1
行分の文字列を表示する。
The line spacing changing unit 5 compares the longest width stored in the longest width M memory t; is longer, the value obtained by subtracting 11ifA vertically from this longest width is stored as a new line spacing in the line spacing storage unit 1 (6).The display unit 7 uses this new line spacing to store 1 in the character string storage unit 2.
Display a line of text.

従って別の手段により文字の縦幅の異なるものを含む文
字列が作成されて、その文字列と文字の縦幅を受けとる
ことで行の間隔を自1ljj的に変更することが可能と
なり、1行中に異なる長さのれtl・1.−の文字を表
示したり、数式の様に縦幅の異なる記号を含む文字列を
表示することが容易に実現できる。
Therefore, by creating a character string containing characters with different vertical widths by another means, and receiving that character string and the vertical width of the characters, it is possible to change the line spacing automatically, and one line There are different lengths inside tl・1. It is easily possible to display the character - or to display a character string including symbols of different heights and widths, such as mathematical formulas.

第3Mは、その制餌]のフローの1例を示す図でhb、
先ず1行分の文字列と文字の縦幅の入力を行ない、その
文字の縦幅の最長値を計算する。別に与えられている基
本の行間隔、即ちその文書を通常表示する際の隣り合っ
た2つの行の間隔と上で計算した最長値とを比較する。
The 3rd M is a diagram showing an example of the flow of "feeding control" hb,
First, input a character string for one line and the height of the character, and calculate the longest value of the height of the character. The separately given basic line spacing, that is, the spacing between two adjacent lines when the document is normally displayed, is compared with the longest value calculated above.

その結果行間隔を変更すると判断した場合、行間隔を、
最長値から基本となる文字の縦幅を引いた値に変更する
If you decide to change the line spacing as a result, change the line spacing to
Change to the value obtained by subtracting the height of the basic character from the longest value.

さらば、決めらハ、た行間隔をあけて1行文の文字列の
表示を行ない、この表示が終了すると行間隔の値を元の
基本となる行間隔の値へ戻す。
Now that I've decided, I'm going to display one line of character strings with a few line spacings, and when this display is finished, I'm going to return the line spacing value to the original basic line spacing value.

こうしてθこの1行文の文字列の処理が再び行なわれる
In this way, the processing of this one-line character string θ is performed again.

この様に(N成された装置によれば文言全体のバランス
を考慮に入れた行間隔を自動的に変更することがiiJ
能となり、文字の縦幅の異なる文字列を含む文、)の表
示が行なえる。
In this way, it is possible to automatically change the line spacing taking into account the balance of the entire wording.
It is now possible to display sentences containing character strings with different heights and widths.

つまり1本発明によれば1文字の縦幅の長さを変更する
のみで自動的に処理が行なわれるので操作性の極めてよ
い表示装置を提供できる。
In other words, according to the present invention, processing is automatically performed simply by changing the vertical width of one character, so that a display device with extremely good operability can be provided.

面木発明は上記実施例に限定されるものではない。例え
ば第1図に示す数式の積分記号の様に上下の行間隔に及
んで表示する場合は行間隔記は部に記憶させる新L7い
行間隔を2等分しこれらの各々を上下の行間隔として使
用すればよい。又、自動的に決められた行間隔を人間が
外部からの指示により変更できる様にしてもよい。更に
、ルビが現われたことによりその行と1110行の間隔
が変更されるなどの場合に、その間隔を文ン11全体に
影汗する行間として、最初から一括した表示を再度行な
えば、前回には行間に入らなかったルビを含む行も行間
を変更することなしに表示することができ、文爵全体が
一定の行間隔で表示されるためバランスよく見える。ワ
するに本発明はその要旨を逸脱しない範囲で種々に変形
して実施することができる。
The Menki invention is not limited to the above embodiments. For example, when displaying the integral symbol in the mathematical formula shown in Figure 1 over the upper and lower line spacing, the line spacing is stored in the section.The new L7 line spacing is divided into two, and each of these is divided into the upper and lower line spacing. You can use it as Alternatively, the automatically determined line spacing may be changed by a human by an external instruction. Furthermore, if the spacing between that line and line 1110 is changed due to the appearance of ruby, if you use that spacing as the line spacing that affects the entire text 11 and display it all at once from the beginning, you can can display lines containing ruby that do not fit between lines without changing the line spacing, and the entire Bunshu is displayed at a constant line spacing, so it looks well-balanced. In other words, the present invention can be modified and implemented in various ways without departing from the spirit thereof.

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

第1図は1行中に異なる大きさの文字を含む文字列の例
を示す図、第2図は本発明の一実施例装置を示す概11
16構成図、第3図は制御フローの一例を示す図である
。 1・入力部、2・・文字列記憶部、3・・〕喰長幅算出
部、4・最長幅記憶部、5・・・行間隔変更部、6・・
・行間隔記憶部、7・表示部。
FIG. 1 is a diagram showing an example of a character string containing characters of different sizes in one line, and FIG.
16 configuration diagram, FIG. 3 is a diagram showing an example of a control flow. 1. Input section, 2. Character string storage section, 3.. Length width calculation section, 4. Longest width storage section, 5. Line spacing changing section, 6..
- Line spacing storage section, 7. Display section.

Claims (1)

【特許請求の範囲】[Claims] 表示部と、この表示部に表示すべき1行分の文字列及び
この文字列の縦幅を入力する入力部と、この入力部より
入力された1行分の文字列を記憶する文字列記憶部と、
前記入力部より入力された1行分の文字列の縦幅の内で
最長の縦幅を算出する最長幅算出部と、この最長幅算出
部より出力された最長の縦幅を記憶する最長幅記憶部と
、前記表示部に文字列が表示される際の基本となる縦幅
及び行間隔を予め記憶しておく行間隔記憶部と、この行
間隔記憶部に記憶された基本となる縦幅及び行間隔の和
と前記最長幅記憶部に記憶された最長の縦幅とを比較し
最長の縦幅の方が長い場合はこの最長の縦幅から前記基
本となる縦幅を引いた値を新たな行間隔として前記行間
隔記憶部に記憶させる行間隔変更部とを備え、前記表示
部は前記文字列記憶部に記憶された1行分の文字列を前
記行間隔記憶部に記憶された新たな行間隔によって表示
することを特徴とする文書作成装置。
A display section, an input section for inputting one line of character string to be displayed on this display section and the vertical width of this character string, and a character string memory for storing one line of character string input from this input section. Department and
a longest width calculation section that calculates the longest vertical width of one line of character strings input from the input section; and a maximum width that stores the longest vertical width output from the longest width calculation section. a storage unit; a line spacing storage unit that stores in advance the basic vertical width and line spacing when character strings are displayed on the display unit; and the basic vertical width stored in the line spacing storage unit; Compare the sum of the line spacing and the longest vertical width stored in the longest width storage unit, and if the longest vertical width is longer, calculate the value obtained by subtracting the basic vertical width from this longest vertical width. a line spacing changing section that causes the line spacing storage section to store a new line spacing, and the display section stores one line of character strings stored in the character string storage section in the line spacing storage section. A document creation device characterized by displaying information using new line spacing.
JP59005543A 1984-01-18 1984-01-18 Document producer Pending JPS60150164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59005543A JPS60150164A (en) 1984-01-18 1984-01-18 Document producer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59005543A JPS60150164A (en) 1984-01-18 1984-01-18 Document producer

Publications (1)

Publication Number Publication Date
JPS60150164A true JPS60150164A (en) 1985-08-07

Family

ID=11614100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59005543A Pending JPS60150164A (en) 1984-01-18 1984-01-18 Document producer

Country Status (1)

Country Link
JP (1) JPS60150164A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01232465A (en) * 1988-03-14 1989-09-18 Hitachi Ltd Numerical formula input editing system
JPH01298461A (en) * 1988-05-27 1989-12-01 Hitachi Ltd Document editing system
JPH038064A (en) * 1989-04-20 1991-01-16 Fuji Xerox Co Ltd Formula data converting method and device using the same
EP0488649A2 (en) * 1990-11-26 1992-06-03 Lexmark International, Inc. Page printer composition line spacing revision

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01232465A (en) * 1988-03-14 1989-09-18 Hitachi Ltd Numerical formula input editing system
JPH01298461A (en) * 1988-05-27 1989-12-01 Hitachi Ltd Document editing system
JPH038064A (en) * 1989-04-20 1991-01-16 Fuji Xerox Co Ltd Formula data converting method and device using the same
EP0488649A2 (en) * 1990-11-26 1992-06-03 Lexmark International, Inc. Page printer composition line spacing revision

Similar Documents

Publication Publication Date Title
JPS60150164A (en) Document producer
JPH0421224B2 (en)
JP2888745B2 (en) Character spacing adjustment method
JP2689276B2 (en) Card making device
JPH01100662A (en) Display device
JPH0326421B2 (en)
JPH01260564A (en) Automatic selection device for character size
JPH04195518A (en) Data output device
JPH0567089A (en) Word processor
JP3244269B2 (en) String input control method
JPH0210474A (en) Image processor
JP3227047B2 (en) Character processor
JPH04288665A (en) Text document preparation system
JP2936546B2 (en) Character centering device and processing device equipped with this device
JPH04310170A (en) Document preparing device including numerical formula
JPH02110766A (en) Document preparing support device
JPH05342205A (en) Number of characters checking system in document preparing device
JPH04344926A (en) Data output device
JPH05119762A (en) Text input system
JPH0552953U (en) Electronics
JPH04276859A (en) Screen split system for translation editor for multilanguage
JPH0535734A (en) Information processor
JPS62229316A (en) Character processor
JPH06266743A (en) Table processing device
JPH04175965A (en) Controller for arrangement of character and line