Re: [問題] 對齊符號 & 的語義
※ 引述《jsb (jsb)》之銘言:
: & 就是定位點的意思。
: 至於為什麼兩個 & 會有你要的效果,可能要看實際的例子才知道了。
: ※ 引述《shore (nora)》之銘言:
: : 想打
: : eq1
: : = eq2
: : = eq3
: : 這種格式
: : 亂試試出來
: : && eq1
: : && = eq2
: : && = eq3
: : 可以有想要的效果
: : 但一直對於 & 的意義不太了解
: : 網路上也沒找到相關的說明
: : 很好奇為什麼這樣打是如此效果
: : 還請板上大大指教
我是想到可能是這個
\begin{eqnarray} ... \end{eqnarray} %這個會每條給編號
\begin{eqnarray*} ... \end{eqnarray*} %這個不會給編號
這個和普通的\begin{array}一樣 換列用\\ 對齊用&
不同的是它一行固定兩個& 中間那一格是給你放中間對齊的運算符號的
可以用來做出像是
f(x) = 一串式子
= 又一串式子
= 還是一串式子
或是
f1(x) = 一些 (3.12)
f2(x) = 另一些 (3.13)
f3(x) = 又一些 (3.14)
這樣的東西
--
'You've sort of made up for it tonight,' said Harry. 'Getting the
sword. Finishing the Horcrux. Saving my life.'
'That makes me sound a lot cooler then I was,' Ron mumbled.
'Stuff like that always sounds cooler then it really was,' said
Harry. 'I've been trying to tell you that for years.'
-- Harry Potter and the Deathly Hollows, P.308
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.30.84
討論串 (同標題文章)