Ví dụ về môi trường table

Một phần của tài liệu Hướng dẫn soạn khóa luận, tài liệu khoa học bằng Latex đầy đủ nhất (Trang 87)

5 Hình ảnh và các đối tượng đặc biệt

5.5.2Ví dụ về môi trường table

Đây là một ví dụ minh họa việc sử dụng môi trường table. Bảng5.1được

1tùy chọnHcó hiệu lực tuyệt đối bắt buộc đối tượng phải được đặt ngay tại nơi đưa vào, để sử dụng nó bạn cần có góihere.

80 Hình ảnh và các đối tượng đặc biệt

tạo bởi các lệnh sau: \begin{table}[b] \begin{center}

\begin{tabular}{@{}p{1.7in}p{3.3in}@{}} Course and Date & Brief Description \\ \hline

Introduction to LSEDIT\newline March 14 -- 16 & Logging on ---

explanation of the VMS file system ---

explanation and intensive application of the VMS editor LSEDIT --- user modifications \\

\hline

Introduction to \LaTeX{}\newline March 21 -- 25 & Word processors and formatting programs ---

text and commands --- environments --- document and page styles ---

displayed text --- math equations --- simple user-defined structures

\end{tabular} \end{center}

\caption{\label{TableExample1}Đây là một bảng rất đẹp.} \end{table}

Chú ý rằng trong Bảng5.1tên bảng được đặt ở phía dưới. Ta có thể đặt nó ở phía trên của bảng bằng cách đặt lệnh\captiontrước môi trườngtabular giống như ở Bảng5.2.

Course and Date Brief Description Introduction to LSEDIT

March 14 – 16 Logging on — explanation of the VMS file sys-tem — explanation and intensive application of the VMS editor LSEDIT — user modifications Introduction to LATEX

March 21 – 25 Word processors and formatting programs — textand commands — environments — document and page styles — displayed text — math equa- tions — simple user-defined structures

Bảng 5.1: Đây là một bảng rất đẹp. VIETMATHS.NET

5.5 Môi trường float 81

Bảng 5.2: Đây là một bảng rất đẹp.

Course and Date Brief Description Introduction to LSEDIT

March 14 – 16 Logging on — explanation of the VMS file sys-tem — explanation and intensive application of the VMS editor LSEDIT — user modifications Introduction to LATEX

March 21 – 25 Word processors and formatting programs — textand commands — environments — document and page styles — displayed text — math equa- tions — simple user-defined structures

Một phần của tài liệu Hướng dẫn soạn khóa luận, tài liệu khoa học bằng Latex đầy đủ nhất (Trang 87)