LaTeX: stack three lines in math mode

别来无恙 提交于 2020-11-27 19:33:15

问题


Hey,
I'm writing a formula with three indexes i,j,k.
At the end of the line I'd like to put this:

i=1,...,a
j=1,...,b
k=1,...,n

But I'd like it in smaller font and stacked above each other. Can someone tell me a command which can accomplish this? \mbox can't do math mode, I think.


回答1:


Try the \substack command:

z_i = a_j + b_k \qquad \substack{
i=1,\dots,a \\
j=1,\dots,b \\
k=1,\dots,n}

latex output



来源:https://stackoverflow.com/questions/5009782/latex-stack-three-lines-in-math-mode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!