I have a table created by the tabularray
package, the table size is larger than the width of the page and so it is partially hidden on the right side as shown below, how to align the table to move back to the left and not lose the text. Thank you very much!
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T5]{fontenc}
\usepackage{amsmath}
\usepackage[fontsize=14pt]{scrextend}
\usepackage[paperheight=29.7cm,paperwidth=21cm,right=2cm,left=3cm,top=2cm,bottom=2cm]{geometry}
\usepackage{mathptmx}
\usepackage{tabularray}
\usepackage{ragged2e}
\justifying
\begin{document}
\noindent
\begin{tblr}{width=1.2\linewidth,hlines,vlines,colspec={Q[1,c]Q[6,l]Q[1.5,c]Q[2,c]Q[2,c]Q[2,c]},rows={1.5cm,m},row{1}={1.5cm,c}}
\textbf{STT}& \textbf{Tên trang thiết bị}& \textbf{ĐVT}& \textbf{Số lượng}&\textbf{Tình trạng}& \textbf{Ghi chú}\\
1&Điều hòa&Cái&01&Mới& \\
2&Máy tính &Bộ&01&Cũ&\\
3&Nhiệt kế tự ghi&Cái&01&Mới\\
4&Ẩm kế&Cái&01&Mới\\
5&Tủ thuốc&Cái&04&Cũ\\
6& Phần mềm kết nối liên thông dữ liệu&Bộ&01&Mới&Công ty Viettel
\end{tblr}
\end{document}
Best Answer
Try the following ME:
(red lines indicate page layout)
Addendum: In the case, that you like to have table wider than text width, but still visible on the page, than the use of the
adjustwidth
macro define in thechangepage
package be a way todo this:After second compilation the result of above MWE is:
(red lines indicate page layout)