TeX - LaTeX Asked by JardaFait on October 27, 2020
When I try to add package resizegather
, extra vertical space is added into mdframed equations. By gradually truncating the code, I found that commenting package resizegather
would fix the problem. See figure below. But I have no idea, what is behind that. I found similar issues described in tasks:
but it didn’t help
MNWE:
documentclass{scrbook}
usepackage{mdframed}
usepackage{amsmath}
usepackage{resizegather}
usepackage{blindtext}
begin{document}
chapter{My title test 7}
blindtext
begin{mdframed}
begin{equation}label{mai:eq1}
boxed{int f(x) dx = F(x) + c}
end{equation}
end{mdframed}
blindtext
end{document}
You can solve the problem with nccmath
and its useshortskip
command:
documentclass{scrbook}
usepackage{mdframed}
usepackage{amsmath, nccmath}
usepackage{resizegather}
usepackage{blindtext}
begin{document}
chapter{My title test 7}
blindtext
begin{mdframed}useshortskip
begin{equation}label{mai:eq1}
boxed{int f(x) dx = F(x) + c}
end{equation}
end{mdframed}
blindtext
end{document}
Answered by Bernard on October 27, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP