%\documentclass{Class}
\documentclass[11pt,a4paper,twoside]{book}
\usepackage[xindy,nonumberlist,toc]{glossaries}
\usepackage[extrafootnotefeatures]{xepersian}
\settextfont[Scale=1]{XB VNiloofar}
\setlatintextfont[Scale=1]{Times New Roman}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\glossarymark}[1]{\markboth{#1}{#1}}
\newglossarystyle{parsilist}{%
	\glossarystyle{treegroup}
	\renewenvironment{theglossary}%
	{\setlength{\parindent}{0pt}%
		\setlength{\parskip}{0pt}
	}%
	{}%
	\renewcommand*{\glossaryheader}{}%
	\renewcommand*{\glsgroupheading}[1]{\noindent\textbf{\glsgetgrouptitle{##1}}\par\nopagebreak}
	\renewcommand{\glossaryentryfield}[5]{%
		\hangindent0pt\relax
		\parindent0pt\relax
		\glsentryitem{##1}\textbf{\glstarget{##1}{##2}}%
		{\scriptsize\dotfill}\ifx\relax##4\relax
		\else
		\space(##4)%
		\fi
		\space ##3\glspostdescription \space ##5\par}%
	\renewcommand{\glossarysubentryfield}[6]{%
		\hangindent##1\glstreeindent\relax
		\parindent##1\glstreeindent\relax
		\ifnum##1=1\relax
		\glssubentryitem{##2}%
		\fi
		\textbf{\glstarget{##2}{##3}}%
		\ifx\relax##5\relax
		\else
		\space(##5)%
		\fi
		{\tiny\dotfill}\space##4\indent\glspostdescription\space##6\par}%
	\renewcommand*{\glsgroupskip}{\indexspace}
	\renewcommand*{\glspostdescription}{}
}
\makeatother

\makeatletter
\let\orgglossarysection\glossarysection
\newcommand*\twocolumnglossarysection[2][\glossarytoctitle]{%
	\twocolumn
	\orgglossarysection[#1]{#2}%
}

\define@choicekey{printgloss}{column}[\val\nr]{1,2}%
{%
	\ifcase\nr\relax
	\let\glossarysection\orgglossarysection
	\renewcommand*{\glossarypostamble}{}
	\or
	\let\glossarysection\twocolumnglossarysection
	\renewcommand*{\glossarypostamble}{\onecolumn}
	\fi
}
\makeatother
\makeglossaries
\glossarystyle{parsilist}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\input{parsiglossary}
\begin{document} 

\gls{طراحی هندسی}
 بعدی و سه بعدی بهترین روابط ریاضی را انتخاب کنیم. روش‌های \gls{صریح} و \gls{ضمنی} دو روش کلی برای توصیف \gls{منحنی}‌ها و \gls{رویه}‌ها با استفاده از روابط ریاضی هستند که تا حدود زیادی با آن‌ها آشنایی داریم. \gls{توابع}   درست عکس توابع صریح رفتار می‌کنند. به این معنا که نمایش منحنی‌های \gls{بسته} و  است. اما برای منحنی‌های \gls{باز} و دو بعدی ابزار مناسبی نیستند. در این جا باید به این نکته توجه کرد که داشتن مدل ریاضی ساده چه از نظر بررسی خواصی اساسی مانند 



\printglossary[title={واژه‌نامه فارسی به انگلیسی},column=2]

\end{document}