You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, almost the same code: in latex the exponent is "^" rather than "**".
I attached the results below. The first image is obtained with LaTeX. All dashing styles behave as expected.
The second image is web rendering by latex2js. The parabolic curve is not dashed, and the straight line ignores the dashing parameters "dash = ...".
I tried tinkering with plotpoints, to no avail.
I looked into the examples here and here but I could not find any with a dashed or dotted curve, so I started to think that the dashing of curves has not been implemented in latex2js. On the other hand, it seems to be a pretty basic feature (in latex you only need pstricks and pst-plot).
I hope I did not miss anything macroscopic.
The text was updated successfully, but these errors were encountered:
Hi,
your project is awesome!
However it seems to me that some line styles do not work as expected (or, at least, as they work in LaTeX).
I tried the same code in latex and in latex2js
\begin{pspicture}(-0.5,-0.5)(3.5,3.5)
\psplot[algebraic,linecolor=red,linewidth=3pt,linestyle=dashed]{0.}{3}{x**2/3}
\psaxes[labels=none,ticks=none]{->}(0,0)(3,3)
\psline[linewidth=2pt,dash=3pt 5pt,linestyle=dashed](0,0)(3,3)
\end{pspicture}
Actually, almost the same code: in latex the exponent is "^" rather than "**".
I attached the results below. The first image is obtained with LaTeX. All dashing styles behave as expected.
The second image is web rendering by latex2js. The parabolic curve is not dashed, and the straight line ignores the dashing parameters "dash = ...".
I tried tinkering with plotpoints, to no avail.
I looked into the examples here and here but I could not find any with a dashed or dotted curve, so I started to think that the dashing of curves has not been implemented in latex2js. On the other hand, it seems to be a pretty basic feature (in latex you only need pstricks and pst-plot).
I hope I did not miss anything macroscopic.
The text was updated successfully, but these errors were encountered: