Typesetting method and device for text alignment in paragraph

A text alignment and paragraph technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of low typesetting efficiency and unsatisfactory adjustment effect, so as to improve efficiency, ensure adjustment effect, and simple typesetting operation Effect

Inactive Publication Date: 2009-06-10
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In view of this, the embodiment of the present invention provides a typesetting method for text alignment within a

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Typesetting method and device for text alignment in paragraph
  • Typesetting method and device for text alignment in paragraph
  • Typesetting method and device for text alignment in paragraph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In the embodiment of the present invention, when entering paragraph text, before the text that needs to be aligned, input a mark character, when typesetting, first judge whether the current line is It is the first line of the paragraph. If the current line is the first line of the paragraph, the rowable area of ​​the line in the width direction is [X 0 , X m ), where X 0 is the starting coordinate of the width direction of the typesetting area, X m It is the end coordinate of the width direction of the typesetting area, and then typeset the paragraph text including the entered mark characters in the typesetting area; if the current line is not the first line of the paragraph, then search for the mark characters in the typesetting paragraph text C T , to obtain the coordinate X of its successor in the width direction c , then the row's rowable area is [X c , X m ), and typeset the remainder of the paragraph within this flowable area. This kind of typesetting metho...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a typesetting method and a typesetting device for text alignment in a paragraph, which are used for solving the problems of low typesetting efficiency or nonideal adjustment effect in the prior art. The method determines a typesettable area of a row according to an entered tab character and the attribute of the current row in the paragraph, and then typesets characters in the paragraph in the typesettable area. The proposal provided by the invention can improve the efficiency of the typesetting and assure the adjustment effect.

Description

technical field [0001] The invention relates to the technical field of printing and typesetting, in particular to a typesetting method and device for text alignment in a paragraph. Background technique [0002] Text alignment within a paragraph means that when printing and typesetting, the text paragraphs with the nature of items are typeset in the form of a list, and the number and name of the item are arranged at the head of the first line of the paragraph, and the content of the item is typed after the number and name , and automatically align with the content start position when the text wraps. [0003] There are two main existing methods of adjusting the alignment of text within a paragraph, one of which is to use alignment marks, and the other is to use bullet numbering patterns. [0004] (1) Use alignment marks [0005] This method is to determine the typesetting area of ​​the text in the paragraph according to the alignment start mark and the alignment end mark ins...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/25G06F40/189
Inventor 杨燕菲王全鹏唐耀珺
Owner PEKING UNIV FOUNDER GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products