Forgot password?
 Create new account
View 6359|Reply 4

请教latex怎么打竖式加减法

[Copy link]

418

Threads

1631

Posts

110K

Credits

Credits
11906

Show all posts

abababa Posted at 2017-4-14 21:08:18 |Read mode
例如想打$AB+CD=II$这样的,用竖式加法打出来,我用了表格,但是这个$I$就很细,不能对齐。
  1. \begin{tabular}{ll}
  2. &$AB$\\
  3. +&$CD$\\
  4. \hline
  5. =&$II$
  6. \end{tabular}
Copy the Code

15

Threads

948

Posts

110K

Credits

Credits
12412

Show all posts

色k Posted at 2017-4-14 21:19:21
那就多打几个 & 咯
  1. \begin{array}{ccc}
  2. &A&B\\
  3. +&C&D\\
  4. \hline
  5. =&I&I
  6. \end{array}
Copy the Code
\begin{array}{ccc}
&A&B\\
+&C&D\\
\hline
=&I&I
\end{array}

418

Threads

1631

Posts

110K

Credits

Credits
11906

Show all posts

 Author| abababa Posted at 2017-4-14 21:34:01
回复 2# 色k
原来如此,谢谢。

801

Threads

4888

Posts

310K

Credits

Credits
36170

Show all posts

isee Posted at 2017-4-14 23:40:30
用TiKZ画图解决亦可。

418

Threads

1631

Posts

110K

Credits

Credits
11906

Show all posts

 Author| abababa Posted at 2017-4-15 16:26:05
回复 4# isee

tikz画觉得有点复杂,这个表格方式的就很好用。

手机版Mobile version|Leisure Math Forum

2025-4-22 04:07 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list