Pretty printing math in C# desktop application

后端 未结 3 1006
[愿得一人]
[愿得一人] 2021-01-05 09:37

What is the best method of printing math equations in a C# (winforms) desktop application? The format for the source is not important; I can generate almost anything with a

相关标签:
3条回答
  • 2021-01-05 10:21

    Some googling lead me to this CodeProject article: it uses MimeTex, a library that generates gif from latex formulas. You'll have to use PInvoke to have it in C#, but everything seems to be in the article.

    0 讨论(0)
  • 2021-01-05 10:23

    You can use MEEL for WinForms. It realy easy to use.

    0 讨论(0)
  • 2021-01-05 10:42

    A potential solution for your application, if it is feasible, would be to host an online active server page that you could pass LaTeX markup and have it return an image. Obvious constraints include bandwidth, network access, and speed.

    Using the CodeProject and MineTex links provided by CharlesB would be great starting points, from which a C#/ASP solution could be implemented.

    Then, from winforms, you could make the request and obtain an image which could be displayed within a control, or even rendered using GDI+.

    0 讨论(0)
提交回复
热议问题