1 Jadvallarni yaratish uchun jadval muhiti.
\begin{tabular}...\end{tabular}
2 chapga tekislash uchun, c markazga tekislash uchun va r o'ngga tekislash uchun ishlatiladi.
3.& qatordagi yozuvlarni ajratish uchun ishlatiladi.
4.\\ qator oxiri uchun ishlatiladi.
5.\hline gorizontal chiziq chizish uchun ishlatiladi.
6.| vertikal chiziq chizish uchun ishlatiladi.
\documentclass{article}
\begin{document}
\textbf{Right Aligned)}\\
\begin{tabular}{rrr}
\hline
Col. 1 & Col. 2 & Col. 3 \\
\hline
11 & 12 & 13 \\
\hline
21 & 22 & 23 \\
\hline
31 & 32 & 33 \\
\hline
\end{tabular}\\
\end{document}
Ishlab chiqarilgan stol ...
Right Aligned
Col. 1 Col. 2 Col. 3
11 12 13
21 22 23
31 32 33
\documentclass{article}
\begin{document}
\textbf{Left Aligned}\\
\begin{tabular}{lll}
\hline
Col. 1 & Col. 2 & Col. 3 \\
\hline
11 & 12 & 13 \\
\hline
21 & 22 & 23 \\
\hline
31 & 32 & 33 \\
\hline
\end{tabular}\\
\end{document}
Ishlab chiqarilgan stol ...
Left Aligned
Col. 1 Col. 2 Col. 3
11 12 13
21 22 23
31 32 33
\documentclass{article}
\begin{document}
\textbf{ Ruxsat etilgan kenglik}\\
\begin{tabular}{p{1.5cm}p{2cm}p{1.5cm}}
\hline
Col. 1 & Col. 2 & Col. 3 \\
\hline
11 & 12 & 13 \\
\hline
21 & 22 & 23 \\
\hline
31 & 32 & 33 \\
\hline
\end{tabular}\\
\end{document}
Ishlab chiqarilgan stol ...
Ruxsat etilgan kenglik
\documentclass{article}
\begin{document}
\textbf{Markazga tekislangan}\\
\begin{tabular}{|c|c|c|}
\hline
Col. 1 & Col. 2 & Col. 3 \\
\hline
11 & 12 & 13 \\
\hline
21 & 22 & 23 \\
\hline
31 & 32 & 33 \\
\hline
\end{tabular}\\
\end{document}
Do'stlaringiz bilan baham: |