‎\documentclass{article}‎

‎\usepackage{xepersian}‎

‎\begin{document}‎‎

‏ممممممممممممممممممممم

\section{مقداری متن}

این یک متن نمونه است.

\subsection{مقداری متن دیگر}

این یک متن نمونه است.

‎\end{document}