docling/tests/data/groundtruth/docling_v2/equations.docx.md
Rafael Teixeira de Lima 64a7888092 Adding new latex symbols, simplifying how equations are added to text
Signed-off-by: Rafael Teixeira de Lima <Rafael.td.lima@gmail.com>
2025-04-03 17:57:30 +02:00

1.9 KiB

This is a word document and this is an inline equation: A= \pi r^{2} . If instead, I want an equation by line, I can do this:

a^{2}+b^{2}=c^{2} \text{ \texttimes } 23

And that is an equation by itself. Cheers!

This is another equation:

f\left(x\right)=a_{0}+\sum_{n=1}^{ \infty }\left(a_{n}\cos(\frac{n \pi x}{L})+b_{n}\sin(\frac{n \pi x}{L})\right)

This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text.

This is a word document and this is an inline equation: A= \pi r^{2} . If instead, I want an equation by line, I can do this:

\left(x+a\right)^{n}=\sum_{k=0}^{n}\left(\genfrac{}{}{0pt}{}{n}{k}\right)x^{k}a^{n-k}

And that is an equation by itself. Cheers!

This is another equation:

\left(1+x\right)^{n}=1+\frac{nx}{1!}+\frac{n\left(n-1\right)x^{2}}{2!}+ \text{ \textellipsis }

This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text.

This is a word document and this is an inline equation: A= \pi r^{2} . If instead, I want an equation by line, I can do this:

e^{x}=1+\frac{x}{1!}+\frac{x^{2}}{2!}+\frac{x^{3}}{3!}+ \text{ \textellipsis } , - \infty  < x <  \infty

And that is an equation by itself. Cheers!