aganovia / CIS467-spherical-easel

Other
0 stars 0 forks source link

Text tool for text objects with LaTeX code support #9

Open aganovia opened 2 years ago

aganovia commented 2 years ago

Add a new text tool in the tools panel (in the Basic tool section). This would create a new text object that is not attached to any geometric object. This would accept simple LaTeX codes and display them wherever the user drags them. For example, if the user typed “The length of segment $\alpha_3$ is $\frac{pi}{3}$” in the label caption text box, the app would typeset this input and display it on the sphere as “The length of segment α3 is 3” in an appropriate LaTeX font in the top layer of the sphere frame.

Currently, the user can use only ASCII text to label and caption the various objects in a construction. It would be great if the user could include simple LaTeX codes in a label and/or caption. Multi-line captions would also be desirable. (This would have to be done after creating the text tool.)