Trang chủ Tin Học Lớp 6 Cách lập bảng hàng ngang trong hoctapsgk câu hỏi 4638948...

Cách lập bảng hàng ngang trong hoctapsgk câu hỏi 4638948 - hoctapsgk.com

Câu hỏi :

Cách lập bảng hàng ngang trong hoctapsgk

Lời giải 1 :

Bảng mẫu: \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} Bảng `3` cột `5` hàng ở chính giữa.

Lệnh: 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} (thêm dấu " \ " ở đầu, muốn bảng ở bên trái thì thêm dấu $ ở đầu và cuối)

``

`+` Muốn tăng, giảm số hàng thì thêm bớt " \\\hline "

`+` Muốn tăng, giảm số cột thì thêm bớt " &\text{} "

Thảo luận

-- 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}
-- thêm " \ " ở đầu chữ " begin "
-- \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}
-- \begin{array}{|c|c|c|}\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{m}&\text{}\\\hline \text{5}&\text{3}&\text{3}\\\hline\end{array}
-- thanks
-- =>
-- ke

Lời giải 2 :

\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ú pháp:

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}

* thêm \ ở trước begin

`->` Bạn có thể thêm \text{} ở 1 hàng nào đó để có thể tạo thêm 1 ô
VD: \begin{array}{|c|c|c|}\hline \text{}&\text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline \text{}&\text{}&\text{}\\\hline\end{array}

`->` Hoặc bạn có thể thêm \\\hline để tạo thêm 1 hàng

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

Bạn có biết?

Tin học, tiếng Anh: informatics, tiếng Pháp: informatique, là một ngành khoa học chuyên nghiên cứu quá trình tự động hóa việc tổ chức, lưu trữ, xử lý và truyền dẫn thông tin của một hệ thống máy tính cụ thể hoặc trừu tượng (ảo). Với cách hiểu hiện nay, tin học bao hàm tất cả các nghiên cứu và kỹ thuật có liên quan đến việc mô phỏng, biến đổi và tái tạo thông tin.

Nguồn : Wikipedia - Bách khoa toàn thư

Tâm sự 6

Lớp 6 - Là năm đầu tiên của cấp trung học cơ sở. Được sống lại những khỉ niệm như ngày nào còn lần đầu đến lớp 1, được quen bạn mới, ngôi trường mới, một tương lai mới!

Nguồn : ADMIN :))

Copyright © 2021 HOCTAP247