سلام
وقتی در یک صفحه، همزمان محیطهای itemize و longtable استفاده میشوند، تورفتگیهای محیط itemize حذف میشوند. در حالت لاتین این مشکل وجود ندارد.
در فایل کمینۀ زیر، صفحۀ اول درسته ولی از صفحۀ دوم به هم میریزه.
ممنون میشم اگه راهکاری پیشنهاد بدین.
با تشکر
\documentclass[12pt]{article}
\usepackage{longtable, showframe}
\usepackage{xepersian}
\settextfont{Amiri}
\begin{document}
\begin{itemize}
\item
متن
\begin{itemize}
\item
متن
\end{itemize}
\item
متن
\item
متن
\item
متن
\begin{itemize}
\item
متن
\end{itemize}
\item
متن
\item
متن
\item
متن
\begin{itemize}
\item
متن
\end{itemize}
\item
متن
\item
متن
\item
متن
\begin{itemize}
\item
متن
\end{itemize}
\item
متن
\item
متن
\item
متن
\begin{itemize}
\item
متن
\end{itemize}
\item
متن
\item
متن
\item
متن
\begin{itemize}
\item
متن
\end{itemize}
\item
متن
\item
متن
\item
متن
\begin{itemize}
\item
متن
\end{itemize}
\item
متن
\item
متن
\end{itemize}
\footnotesize%%%%%%%%%%% smaller font size %%%%%%%%
\begin{longtable}{|c|c|c|c|}
\caption{A simple longtable example}\\\hline
\textbf{First entry} & \textbf{Second entry} & \textbf{Third entry} & \textbf{Fourth entry} \\\hline
\endfirsthead
\multicolumn{4}{c}%
{\tablename\ \thetable\ -- \textit{Continued from previous page}} \\ \hline
\textbf{First entry} & \textbf{Second entry} & \textbf{Third entry} & \textbf{Fourth entry} \\ \hline
\endhead
\hline \multicolumn{4}{r}{\textit{Continued on next page}} \\
\endfoot
\hline
\endlastfoot
1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\
\end{longtable}
\normalsize
\end{document}
