-
Notifications
You must be signed in to change notification settings - Fork 389
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
Display of Long Equations is Cut Off #285
Comments
Can you share this lengthy equation for effect testing |
The actual code is as follows: - $\frac{d}{dh} \operatorname{Squad}(p_{i-1}, p_{i}, s_{i-1}, s_{i}, 1) = \frac{d}{dh} \operatorname{Squad}(p_{i}, p_{i+1}, s_{i}, s_{i+1}, 0)$
$$
\begin{aligned}
\frac{d}{dh} \operatorname{Squad}(p_{i-1}, p_{i}, s_{i-1}, s_{i}, 1)
&=\operatorname{SLERP}(p_{i-1}, p_{i}; 1) \cdot \log{(\overline{p_{i-1}} \cdot p_{i})}
- \operatorname{SLERP}(p_{i-1}, p_{i}; 1) \cdot \left(\frac{d}{dh} g_{i-1}(h)^{2h(1-h)}\right)(1)\\
&=p_{i} \cdot \log{(\overline{p_{i-1}} \cdot p_{i})}
- 2 p_{i} \cdot \theta_{g_{i-1}(1)} \mathbb{i}\\
&=p_{i} \cdot \left(\log{(\overline{p_{i-1}} \cdot p_{i})}
- 2 \log(g_{i-1}(1))\right)\\
&=p_{i} \cdot \left(\log{(\overline{p_{i-1}} \cdot p_{i})}
- 2 \log(\overline{p_{i}} \cdot s_{i})\right)\\
\\
\frac{d}{dh} \operatorname{Squad}(p_{i}, p_{i+1}, s_{i}, s_{i+1}, 0)
&=\operatorname{SLERP}(p_{i}, p_{i+1}; 0) \cdot \log{(\overline{p_{i}} \cdot p_{i+1})}
- \operatorname{SLERP}(p_{i}, p_{i+1}; 0) \cdot \left(\frac{d}{dh} g_{i}(h)^{2h(1-h)}\right)(0)\\
&=p_{i} \cdot \log{(\overline{p_{i}} \cdot p_{i+1})}
- 2 p_{i} \cdot \theta_{g_{i}(0)} \mathbb{i}\\
&=p_{i} \cdot \left(\log{(\overline{p_{i}} \cdot p_{i+1})}
- 2 \log{(g_{i}(0))}\right)\\
&=p_{i} \cdot \left(\log{(\overline{p_{i}} \cdot p_{i+1})}
- 2 \log{(\overline{p_{i}} \cdot s_{i})}\right)
\end{aligned}
$$ If a single line is too long, you don't have to adhere strictly to the above code. For example: $$
x=11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 \cdots
$$ I appreciate your help. |
I have resolved this issue, but I cannot see the failure message of Vercel. Before the author merges, you can manually replace the following content to achieve the desired effect src\layouts\Layout.astro ,function initCustomScrollbar
|
When writing slightly longer equations, the display gets cut off.
For now, this issue can be resolved with the following workaround:
Insert the following code into .custom-md in src/styles/markdown.css:
However, it is disappointing to see an awkward scrollbar appear.
Since this theme seems to use a great scrollbar, it would be wonderful to incorporate it and unify the design.
I hope you can consider this improvement.
Thank you!
The text was updated successfully, but these errors were encountered: