LaTeX(text)
.font(.caption)
.dynamicTypeSize(.medium)
.imageRenderingMode(.original)
.errorMode(.rendered)
.lineSpacing(1.7)
.frame(width: 85*6.1, alignment: .topLeading)
.fixedSize(horizontal: true, vertical: true)
This fails if text is "Normal Text: $\{0\}$ demo."
This does work with text like "Normal Text: $\{0 \}$ demo.", but oddly then the space is included in the rendered output, which breaks LaTeX convention.
I included this report here since it is through LaTeXSwiftUI but it actually seems to be tied to MathJaxSwift since I had to revert both packages in order to get rid of the issue.
This fails if text is
"Normal Text: $\{0\}$ demo."This does work with text like
"Normal Text: $\{0 \}$ demo.", but oddly then the space is included in the rendered output, which breaks LaTeX convention.I included this report here since it is through LaTeXSwiftUI but it actually seems to be tied to MathJaxSwift since I had to revert both packages in order to get rid of the issue.