[問題] 請問一下次方(power)

看板LaTeX作者 (佐藤嘿嘿)時間12年前 (2012/03/11 03:52), 編輯推噓1(103)
留言4則, 2人參與, 最新討論串1/1
我用的環境是MiKTeX 2.9 + WinEdt 想請教一下我在打表格的時候裡面需要用到次方 ex: ├──┼─────┤ │Size│ 0.8 (mm2)│ (mm"2"是次方的部分) ├──┼─────┤ 我寫的程式如下: ... \hline Size & 0.8(\cd mm${}^2$) \\ \hline ... 但是在編譯的時候出現這樣的錯誤訊息(我編譯是點"LaTeX"編譯): ! undefined control sequence. 1.648 Size & 0.8 <\cd mm${}^2$> \\ ? 想請問一下我是缺了那些東西,謝謝!! -- In a world filled with hate, we must still dare to hope. In a world filled with anger, we must still dare to comfort. In a world filled with despair, we must still dare to dream. In a world filled with distrust, we must still dare to believe. -- by Michael Jackson -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.22.18.73

03/11 04:06, , 1F
\cd 是什麼指令?
03/11 04:06, 1F

03/11 04:29, , 2F
剛剛找到前面要多加一行 \newcommand{\cd}{$\cdot$}
03/11 04:29, 2F

03/11 04:33, , 3F
抱歉我蠢了,好像只要 Size & 0.8(mm${}^2$) \\ 就可了
03/11 04:33, 3F

03/11 04:36, , 4F
\cd 那個好像是用來印出數學的乘號的 "‧"
03/11 04:36, 4F
文章代碼(AID): #1FMx4Rip (LaTeX)