latex bot discord
Diffstat (limited to 'addons/GodoTeX/LaTeXture.cs')
-rw-r--r--addons/GodoTeX/LaTeXture.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/GodoTeX/LaTeXture.cs b/addons/GodoTeX/LaTeXture.cs
index 87bd293..d0defef 100644
--- a/addons/GodoTeX/LaTeXture.cs
+++ b/addons/GodoTeX/LaTeXture.cs
@@ -31,7 +31,7 @@ public class LaTeXture : ImageTexture {
paintStyle = CSharpMath.Rendering.FrontEnd.PaintStyle.Fill;
}
- this.Painter = new MathPainter {AntiAlias = this.AntiAliasing, TextColor = new SKColor(r, g, b, a), FontSize = this.FontSize, LaTeX = @"\raisebox{40mu}{}\raisebox{-40mu}{}" + this.LatexExpression + @"\:\raisebox{1mu}", DisplayErrorInline = this.ShowError, PaintStyle = paintStyle};
+ this.Painter = new MathPainter {AntiAlias = this.AntiAliasing, TextColor = new SKColor(r, g, b, a), FontSize = this.FontSize, LaTeX = this.LatexExpression, DisplayErrorInline = this.ShowError, PaintStyle = paintStyle};
var measure = this.Painter.Measure();
this.Width = measure.Width;