Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug?] Long mathjax render gets cropped #876

Closed
tecosaur opened this issue Oct 14, 2018 · 1 comment
Closed

[Bug?] Long mathjax render gets cropped #876

tecosaur opened this issue Oct 14, 2018 · 1 comment
Labels
question Issue represents a question

Comments

@tecosaur
Copy link
Contributor

tecosaur commented Oct 14, 2018

@tamuratak The below relates to the following LaTeX code,

\begin{align*}
	\Lap[t H(t-1)] + \Lap[(3-t)H(t-2)] &= \Lap[\underbrace{((t-1)+1)}_{f(t)=t+1}H(t-1)] + \Lap[\underbrace{(1-(t-2))}_{f(t)=1-t}H(t-2)] \\
	&= e^{-s}\left( \frac{1}{s^2} = \frac{1}{s} \right) + e^{-2s}\left( \frac{1}{s} - \frac{1}{s^2} \right)
\end{align*}

For this aligns the preview produced is as below
image
When I expect something more like this,
image
This is from the mathjax online demo. With #875 fixed I would get the following,
image
Sorry for the issue-spam.

@tamuratak
Copy link
Contributor

Related to microsoft/vscode/issues/14165. To work aroud this problem, please set latex-workshop.hoverPreview.scale to less than 1.0. I have set it to 0.9.

Repository owner locked as resolved and limited conversation to collaborators Feb 14, 2022
@tamuratak tamuratak added the question Issue represents a question label Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Issue represents a question
Projects
None yet
Development

No branches or pull requests

3 participants