Changing the font size doesn't affect the rendered equation:
import SwiftUI
import LaTeXSwiftUI
@main
struct iOSApp: App {
var body: some Scene {
WindowGroup {
LaTeX("Solve the following: $(9-2)^2\\cdot9^2$")
LaTeX("Solve the following: $(9-2)^2\\cdot9^2$").font(.system(size: 8))
}
}
}
