Typesetting method of online mathematical fraction

A mathematical and fractional technology, applied in electrical digital data processing, natural language data processing, instruments, etc., can solve problems such as low rendering efficiency, low efficiency when zooming, and high learning threshold of MathML, achieving high efficiency and convenient editing.
CN111126000APending Publication Date: 2020-05-08SICHUAN WINSHARE EDUCATION SCI & TECH

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
SICHUAN WINSHARE EDUCATION SCI & TECH
Publication Date
2020-05-08

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a typesetting method of an online mathematical fraction. The typesetting method comprises the following steps: analyzing DOM elements of a document; identifying a mathematicalfraction; recognizing a molecule; identifying denominators; converting fractions; a conversion molecule; adding a fractional line effect; converting denominators; calculating the sum of the number ofmolecules and the number of the denominators, and recording as N; and adding line content: adding the line content before the fraction and adding the line content after the fractions, and finishing the re-typesetting of the mathematical fractions. A identifier is added into the HTML document, and the display position of the mathematical fraction is calculated in the script; the content of the rowwhere the mathematical fraction is located is calculated, the content of the molecules and the denominators in the row is updated, the mathematical fraction is described in a table mode, the effect ofcorrectly displaying the mathematical fraction in most browsers is achieved through the typesetting characteristic of the table, secondary editing can be conveniently carried out, the whole process is rapid, and efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a typesetting method for online mathematical fractions, in particular to an online typesetting method for mathematical fractions that can be correctly displayed in most browsers and can realize secondary editing. Background technique

[0002] With the advent of the WEB Internet era, more and more mathematical formulas need to be presented on web pages. A mathematical fraction is a common mathematical formula, that is, a mathematical formula including a numerator, a denominator, and a fraction line.

[0003] The existing mathematical formulas are described in laTex or MathML language, and the current implementation of the two uses the addition of <span style=″border-bottom-width:0.04em;″> The numerator and denominator use a complex positioning method, which results in complex calculations and low rendering efficiency, while MathML has a high learning threshold and is not compatible with many browsers.

[0004] In addition, ...

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