I have some questions regarding specifying column width in \longtable using \linewidth.
\documentclass[a4paper, 10pt]{article}
\usepackage[left=1in,right=1in,top=0.6in,bottom=0.6in]{geometry}
\usepackage{tabularx}
\usepackage {lipsum}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage[table,xcdraw]{xcolor}
\renewcommand{\rmdefault}{phv}
\usepackage{ ragged2e }
\usepackage{graphicx}
\usepackage{float}
\usepackage{longtable}
\usepackage{layouts}
\begin{document}
\begin{longtable}
{
p{0.1\textwidth}
p{0.1\linewidth}
p{0.1\linewidth}
p{0.1\linewidth}
p{0.1\linewidth}
p{0.1\linewidth}
p{0.1\linewidth}
p{0.1\linewidth}
p{0.1\linewidth}
p{0.1\linewidth}
}
\hline
a & a & a & a & a & a & a & a & a & a\\
b & b & b & b & b & b & b & b & b & b\\
\hline
\end{longtable}
\end{document}
\documentclass[a4paper, 10pt]{article}
\usepackage[left=1in,right=1in,top=0.6in,bottom=0.6in]{geometry}
\usepackage{tabularx}
\usepackage {lipsum}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage[table,xcdraw]{xcolor}
\renewcommand{\rmdefault}{phv}
\usepackage{ ragged2e }
\usepackage{graphicx}
\usepackage{float}
\usepackage{longtable}
\usepackage{layouts}
\begin{document}
\begin{longtable}{p{\linewidth}}
\hline
a\\
\hline
\end{longtable}
\end{document}
Thus, what should i do to fit x columns by dividing \linewidth evenly in a page?
Note: I have to use \longtable as the table might span multiple pages and i am using TeXstudio to compile my code.




