Closed prok155 closed 7 months ago
A single $
works fine.
LaTexT(laTeXCode: Text( r'Here is the fraction: $\frac{3}{4}$', style: Theme.of(context).textTheme.bodyMedium, ), ),
You can paste Here is the fraction: $$\frac{3}{4}$$
and Here is the fraction: $\frac{3}{4}$
to overleaf or any LaTeX editor and you will see what I'm talking about. Look at following screens which will explain this bug:
Current state:
Expected result
When you use double $$
, Math expression should be started form a new line and sohuld be centered. With your package it is started from a new line, but it's not centered and it looks ugly.
Fixed in version: 0.2.0
I would like to center some part of my latex, for example:
LaTexT( displayDelimiter: r'$$', laTeXCode: Text( r'Here is the fraction: $$\frac{3}{4}$$', style: Theme.of(context).textTheme.bodyMedium, ), ),
The fraction 3/4 should be displayed in the center of the screen, currently it is displayed on a new line and it's not centered. Seems like displayDelimiter doesn't work at all.