方程中大括号旁边的两个语句
如何用一个大括号 ({
) 编写一个方程,并在大括号右侧的两行不同的行中写出两个语句?
How can I write an equation with one curly brace ({
), and on the right-hand side next to the curly, two statements in two different lines?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
您可以尝试 amsmath 中的
cases
env。You can try the
cases
env in amsmath.这可以在普通 LaTeX 中实现,无需任何特定的包。
这段代码产生的东西看起来正是你所需要的。
使用类似的代码可以获得与@Tombart 中相同的示例。
该代码产生非常相似的结果。
That can be achieve in plain LaTeX without any specific package.
This code produces something which looks what you seems to need.
The same example as in the @Tombart can be obtained with similar code.
This code produces very similar results.
您在寻找吗?
从描述中看,这不是很清楚。但这可能就是您正在寻找的 http://en.wikipedia.org/wiki /帮助:Displaying_a_formula#Continuation_and_cases
Are you looking for
It wasn't very clear from the description. But may be this is what you are looking for http://en.wikipedia.org/wiki/Help:Displaying_a_formula#Continuation_and_cases
为了回答 @MLT 的评论,还有一个标准
cases
环境的替代方案,实际上并不太复杂,两行都已编号。此代码:生成
请注意,此处,数学必须由
\(...\ )
或$...$
,至少位于每行中&
的右侧 (参考)。To answer also to the comment by @MLT, there is an alternative to the standard
cases
environment, not too sophisticated really, with both lines numbered. This code:produces
Notice that here, math must be delimited by
\(...\)
or$...$
, at least on the right of&
in each line (reference).如果
cases
或\left\{
没有提供您想要的合适的大括号大小,这里有一种手动控制大括号大小的方法。您可以在
\bigl\{
\Bigl\{
\biggl\{
\Biggl\{
中选择进行调整支架尺寸从最小到最大。不同牙套的图像
从左到右:
案例
\left\{
bigl\{
Bigl\{
Here is a way to manually control the size of brace, if
cases
or\left\{
doesn't provide suitable brace size you want.You can choose among
\bigl\{
\Bigl\{
\biggl\{
\Biggl\{
to adjust brace size from the smallest to the largest.Image of different braces
From left to right:
cases
\left\{
biggl\{
Bigl\{
或者这个:
Or this: