Cho mình công thức lập bảng latex đi

2 câu trả lời

Hàng dọc:

\begin{array}{|c|c|c|}\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline\end{array}

Có trong Hướng dẫn công thức Latex nhé

Hàng ngang:

\begin{array}{||c|c|c|c|c|c|c|c||}\hline \text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\\\hline \text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\text{}&\\\hline\end{array}

Bảng dọc

\begin{array}{|c|c|c|}\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline\end{array}