boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
TeX版 - environement nesting problem
相关主题
公式对齐问题
latex写信函(letters),无法做table
请问 optimization 里面 constraint 里面的such that怎么写?
怎么把一系列的式子对齐?
A question about eqnarray
公式长到把右边的公式编号给遮住了, 怎么办?
请问这个命令有什么错误??
请问怎样在多行公式中让公式编号出现在最后一行的右边
问几个小问题
如何在eqnarray中间插入一行文字
相关话题的讨论汇总
话题: nesting话题: tabular话题: latex
进入TeX版参与讨论
1 (共1页)
p****o
发帖数: 1340
1
in latex, it is conceptually natural to embed environments inside
others, but it always gives me a lot of troubles in doing so. for
example, "eqnarray*" can not be embeded in a tabular. my questions
are
1. is there any rule-of-thumb which determines which environment
can be nested in another one and which can't?
2. is there any trick to by-pass these constraints? for example, i
might really wish to nest some equations inside a tabular.
thanks!
T*******n
发帖数: 493
2
Don't use LaTeX eqnarray. It's does not do a good job calculating spaces
and is not flexible. Learn to use the various alignment environments
provided by amsmath.sty instead.
The following should do what you want, except that the equation numbers
are automatically numbered in the order that the table is constructed.
If you want the equation number to go down the column automatically, it
will take more work.
The command \mitcmd and the environment "mitenv" are basically the same.
You can use wh

【在 p****o 的大作中提到】
: in latex, it is conceptually natural to embed environments inside
: others, but it always gives me a lot of troubles in doing so. for
: example, "eqnarray*" can not be embeded in a tabular. my questions
: are
: 1. is there any rule-of-thumb which determines which environment
: can be nested in another one and which can't?
: 2. is there any trick to by-pass these constraints? for example, i
: might really wish to nest some equations inside a tabular.
: thanks!

T*******n
发帖数: 493
3
To answer your questions: There is no general rule of thumb about
the compatibility of environments when it comes to nesting them.
It all depends on the internal LaTeX code. If the environments
don't use tricks that involve the manipulation of character codes,
the horizontal/vertical/math modes, inserts (marginpar, footnote),
alignments, etc., then there is a better chance of compatibility.
In the case of putting aligned equations inside tabular, the &
character causes headache because LaTeX c

【在 p****o 的大作中提到】
: in latex, it is conceptually natural to embed environments inside
: others, but it always gives me a lot of troubles in doing so. for
: example, "eqnarray*" can not be embeded in a tabular. my questions
: are
: 1. is there any rule-of-thumb which determines which environment
: can be nested in another one and which can't?
: 2. is there any trick to by-pass these constraints? for example, i
: might really wish to nest some equations inside a tabular.
: thanks!

p****o
发帖数: 1340
4
thanks for the long reply, :).
personally, i think it would be great that all environments (or some
basic ones) can be nested without constraints. it is convenient and
conceptually good. maybe it hurts the performance and it's also hard
to implement.

【在 T*******n 的大作中提到】
: Don't use LaTeX eqnarray. It's does not do a good job calculating spaces
: and is not flexible. Learn to use the various alignment environments
: provided by amsmath.sty instead.
: The following should do what you want, except that the equation numbers
: are automatically numbered in the order that the table is constructed.
: If you want the equation number to go down the column automatically, it
: will take more work.
: The command \mitcmd and the environment "mitenv" are basically the same.
: You can use wh

1 (共1页)
进入TeX版参与讨论
相关主题
如何在eqnarray中间插入一行文字
关于multiline environment
还有两个小问题。
如何把equation,algorithm,table搞小点?
求助 如何给公式加边框?
anyone has experience with floatflt?
用$$输入公式怎么让公式自动自己换行?
algoritm package
无知小女子急问 怎样建立一个{singlespace}environment
请问如何表示空集?
相关话题的讨论汇总
话题: nesting话题: tabular话题: latex