Check patentability & draft patents in minutes with Patsnap Eureka AI!

LaTex-based formula editing method and formula editor

A formula editor and formula editing technology, which is applied in the field of LaTeX-based formula editing method and formula editor, can solve the problems that the formula cannot correctly display the original appearance of the formula, and the formula text cannot be edited conveniently, so as to avoid common mistakes and improve efficiency Effect

Inactive Publication Date: 2018-03-23
金炜
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, the purpose of the present invention is to provide a formula editing method and a formula editor based on LaTeX, aiming to solve the problem that the formula edited by the existing text input editing tool cannot correctly show the original appearance of the formula, or the formula cannot be easily edited. question

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
  • LaTex-based formula editing method and formula editor
  • LaTex-based formula editing method and formula editor
  • LaTex-based formula editing method and formula editor

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0037] Such as Figure 1a and Figure 1b As shown, the embodiment of the present invention provides a LaTeX-based formula editing method, including:

[0038] Input step S101, receiving the data entered into the editor by the editor;

[0039] Code obtaining step S102, obtaining the LaTeX code corresponding to the data in the current editor;

[0040] Rendering step S103, rendering the acquired LaTeX code, generating and displaying a formula in a normal writing format;

[0041] Inquiry step S104, ask the editor whether to finish editing; when the editor chooses yes, output the LaTeX code rendered last time as the final code; when the editor chooses no, return to input step S101;

[0042] In the formula generation step S105, according to the final code, a target formula text in a normal writing format that can be directly edited and copied is generated.

[0043] The embodiment of the present invention applies LaTeX typesetting technology, and on this basis, combined with webpag...

specific Embodiment 2

[0049] Such as figure 2 As shown, the embodiment of the present invention provides a LaTeX-based formula editor, including:

[0050] The input module 201 is used to perform the input step: receiving the data entered into the editor by the editor;

[0051]The code acquisition module 202 is used to perform the code acquisition step: acquire the LaTeX code corresponding to the data in the current editor;

[0052] The rendering module 203 is used to perform a rendering step: rendering the obtained LaTeX code, generating and displaying a formula in a normal writing format;

[0053] Inquiry module 204 is used to perform the inquiry step: ask the editor whether to finish editing; when the editor selects yes, output the LaTeX code of the latest rendering as the final code; when the editor selects no, return to the input step;

[0054] The formula generating module 205 is configured to execute the formula generating step: according to the final code, generate the target formula text...

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 provides a LaTex-based formula editing method and a formula editor. By applying the LaTex typesetting technology, on the basis, PHP, AJAX and other webpage developing technologies are combined for obtaining the formula editor capable of being opened under a browser. A formula symbol clicked by a compiler can be obtained in real time, LaTex codes and the normal writing form can be previewed, after the compiler completes edition and submission, the normal writing form can be shown, the copied target formula text can be directly edited, and the formula editing efficiency of the compiler can be improved. The invention further provides a checking and approving function based on preset checking and approving rules, and the compiler can be reminded to avoid some common errors. The invention further provides a synchronous function, data in the editor can be saved at any time, and the phenomenon that data loss in the editor is caused due to equipment outage is avoided.

Description

technical field [0001] The invention relates to the technical field of formula-based editing, in particular to a formula editing method and a formula editor based on LaTeX. Background technique [0002] In the process of study and life, we often deal with texts with complex formats such as formulas. Due to its complex format, it is difficult to input or edit it with general text input editing tools. In the existing mode, there are two common ways to input and edit formulas: one is to display the formula in an abnormal writing state (for example, one-half is often written as 1 / 2 in many texts), and the other is to display the formula Convert it to a picture after editing with a third-party plug-in (such as the formula editor of Microsoft Word). Either way, the problem of displaying and editing the normal writing format of the formula cannot be well solved. Contents of the invention [0003] LaTeX (LATEX, transliterated "La Taihe") is a typesetting system based on TEX, de...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/21G06F17/24G06F17/25G06F40/189
CPCG06F40/106G06F40/166G06F40/189
Inventor 金炜俞捷
Owner 金炜
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More