如何让上标内容“溢出” LaTeX 中的大括号
我试图用长上标来支撑一个短方程(或其一部分)。这会将上括号扩展到适合内容和上标,这会占用大量空间并且看起来很丑。有一种方法可以让内容“溢出”大括号,因此它只会扩展以适合其内容,但我一直无法找到解决此问题的方法。
例如:
$$ \cdots \overbrace{=}^{\text{Very long description here}} \cdots $$
有什么想法吗?
谢谢
I'm trying to overbrace a short equation (or part thereof) with a long superscript. This expands the overbrace to both fit content and superscript, which takes up a lot of space and looks ugly. There is a way to have the content "overflow" the brace, so it will only expand to fit its contents, but I have been unable to find out how to solve this.
E.g.:
$ \cdots \overbrace{=}^{\text{Very long description here}} \cdots $
Any ideas?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
斯图尔特的重击提示让我找到了正确的方向。在有关此主题的文章的帮助下,我成功实现了我想要的目标去做。我使用链接文章中定义的
\mathclap
命令。谢谢,
希恩
Stewart's rlap hint put me in the right direction. With the help of an article about this topic I managed to accomplish what I wanted to do. I use the
\mathclap
command as defined in the linked article.Thanks,
xeen
多谢!正是我一直在寻找的东西。对于不太确定如何将 Alexey Malistov 的解决方案转换为宏的人,请使用以下命令:(
请记住在序言中使用
\usepackage{amsmath}
。)Thanks a lot! Just what I was looking for. To anyone not too sure how to convert Alexey Malistov's solution to a macro, use this:
(Remember to
\usepackage{amsmath}
in your preamble.)我能想到的两个选项:
\rlap
,它将排版其参数,然后继续对其进行排版。通常非常繁琐,但它应该适用于您的示例。Two options I can think of:
\rlap
, which will typeset its argument, and then continue typesetting over it. Horribly fiddly as a rule, but it should work for your example.