adding LaTeX style equations to labels in a view #26

Open
opened 2025-10-14 15:39:32 -06:00 by navan · 0 comments
Owner

Originally created by @leemckelvey on 10/4/2024

My apologies if this is an issue already addressed but I cannot seem to find a solution.

I am wondering if it is possible to create labels in an Xcode project using Mac OS with cocoa, and also add questions with rendered formulae included.

Such as LaTeX("Solve the equation $$2x+3=9") or something of that form.

I have tried to make it work but it usually just spits out whatever is the parentheses verbatim.

I have currently tried label.stringValue = LaTeX(...).latex and it will compile but apply any rendering.

If anyone know if labels work, and how it is done, I would be very appreciative.

Thank you

Lee

*Originally created by @leemckelvey on 10/4/2024* My apologies if this is an issue already addressed but I cannot seem to find a solution. I am wondering if it is possible to create labels in an Xcode project using Mac OS with cocoa, and also add questions with rendered formulae included. Such as LaTeX("Solve the equation $$2x+3=9") or something of that form. I have tried to make it work but it usually just spits out whatever is the parentheses verbatim. I have currently tried label.stringValue = LaTeX(...).latex and it will compile but apply any rendering. If anyone know if labels work, and how it is done, I would be very appreciative. Thank you Lee
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/LaTeXSwiftUI#26
No description provided.