\newglossarystyle{myFaToEn}{%
	\renewenvironment{theglossary}{}{}
	\renewcommand*{\glsgroupskip}{\vskip 10mm}
	\renewcommand*{\glsgroupheading}[1]{\subsection*{\glsgetgrouptitle{##1}}}
	\renewcommand*{\glossentry}[2]{\noindent\glsentryname{##1}\dotfill\space \glsentrytext{##1}\\}
	\renewcommand*{\subglossentry}[3]{\hspace*{1cm}\glsentryname{##2}\dotfill\space \glsentrytext{##2}\\}   
}

%% % تعریف استایل برای واژه نامه انگلیسی به فارسی، در این استایل واژه‌های فارسی در سمت راست و واژه‌های انگلیسی در سمت چپ خواهند آمد. از حالت گروه ‌بندی استفاده می‌کنیم، 
%% % یعنی واژه‌ها در گروه‌هایی به ترتیب حروف الفبا مرتب می‌شوند، مثلا:
%% % E
%%% Economy ............................... اقتصاد
%% % F
%% % Failure................................... اشکال
%% %N
%% % Network ................................. شبکه

\newglossarystyle{myEntoFa}{%
	%%% این دستور در حقیقت عملیات گروه‌بندی را انجام می‌دهد. بدین صورت که واژه‌ها در بخش‌های جداگانه گروه‌بندی می‌شوند، 
	%%% عنوان بخش همان نام حرفی است که هر واژه در آن گروه با آن شروع شده است. 
	\renewenvironment{theglossary}{}{}
	\renewcommand*{\glsgroupskip}{\vskip 10mm}
	\renewcommand*{\glsgroupheading}[1]{\begin{LTR} \subsection*{\glsgetgrouptitle{##1}} \end{LTR}}
	%%% در این دستور نحوه نمایش واژه‌ها می‌آید. در این جا واژه فارسی در سمت راست و واژه انگلیسی در سمت چپ قرار داده شده است، و بین آن با نقطه پر می‌شود. 
	\renewcommand*{\glossentry}[2]{\noindent\glsentrytext{##1}\dotfill\space \glsentryname{##1}
		
	}
}

\newglossarystyle{myAbbrlist}{%
	\renewenvironment{theglossary}{}{}
	\renewcommand*{\glsgroupskip}{\vskip 10mm}
	\renewcommand*{\glsgroupheading}[1]{\begin{LTR} \subsection*{\glsgetgrouptitle{##1}} \end{LTR}}
	\renewcommand*{\glossentry}[2]{\noindent\Glsentrylong{##1}\dotfill\space \glsentrytext{##1}
		
	}
	\renewcommand*{\acronymname}{فهرست اختصارات}
}


%%% در این جا عباراتی مثل glg، gls، glo و ... پسوند فایل‌هایی است که برای xindy بکار می‌روند. 
\newglossary[glg]{english}{gls}{glo}{واژه‌نامه انگلیسی به فارسی}
\newglossary[blg]{persian}{bls}{blo}{واژه‌نامه فارسی به انگلیسی}
\makeglossaries
\glsdisablehyper
%%% تعاریف مربوط به تولید واژه نامه و فهرست اختصارات و فهرست نمادها
%%%  در این فایل یکسری دستورات عمومی برای وارد کردن واژه‌نامه آمده است.
%%%  به دلیل این‌که قرار است این دستورات پایه‌ای را بازنویسی کنیم در این‌جا تعریف می‌کنیم. 
\let\oldgls\gls
\let\oldglspl\glspl

\makeatletter
\renewrobustcmd*{\gls}{\@ifstar\@msgls\@mgls}
\newcommand*{\@mgls}[1] {\ifthenelse{\equal{\glsentrytype{#1}}{english}}{\oldgls{#1}\glsuseri{f-#1}}{\oldgls{#1}}}
\newcommand*{\@msgls}[1]{\ifthenelse{\equal{\glsentrytype{#1}}{english}}{\glstext{#1}\glsuseri{f-#1}}{\oldgls{#1}}}

\renewrobustcmd*{\glspl}{\@ifstar\@msglspl\@mglspl}
\newcommand*{\@mglspl}[1] {\ifthenelse{\equal{\glsentrytype{#1}}{english}}{\oldglspl{#1}\glsuseri{f-#1}}{\oldglspl{#1}}}
\newcommand*{\@msglspl}[1]{\ifthenelse{\equal{\glsentrytype{#1}}{english}}{\glsplural{#1}\glsuseri{f-#1}}{\oldglspl{#1}}}
\makeatother

\newcommand{\newword}[4]{
	\newglossaryentry{#1}     {type={english},name={\lr{#2}},plural={#4},text={#3},description={}}
	\newglossaryentry{f-#1} {type={persian},name={#3},text={\lr{#2}},description={}}
}


%%% بر طبق این دستور، در اولین باری که واژه مورد نظر از واژه‌نامه وارد شود، پاورقی زده می‌شود. 
\defglsentryfmt[english]{\glsgenentryfmt\ifglsused{\glslabel}{}{\LTRfootnote{\glsentryname{\glslabel}}}}


%%%%%% ============================================================================================================


\newcommand{\printacronyms}{
	\cleardoublepage
	\setglossarystyle{myAbbrlist}
	\Oldprintglossary[type=acronym] 
}%

\newcommand{\printabbreviation}{\printacronyms}
%%% در این جا محیط هر دو واژه نامه را باز تعریف کرده ایم، تا اولا مشکل قرار دادن صفحه اضافی را حل کنیم، ثانیا عنوان واژه نامه ها را با دستور addcontentlist وارد فهرست مطالب کرده ایم.
\let\Oldprintglossary\printglossary
\renewcommand{\printglossary}{
	\let\appendix\relax
	%% تنظیم کننده فاصله بین خطوط در این قسمت
	\clearpage
	\phantomsection
	%% این دستور موجب این می‌شود که واژه‌نامه‌ها در  حالت دو ستونی نوشته شود. 
	%\twocolumn{}
	
	چاپ واژه‌نامه و فهرست اختصارات
	%با توجه به بازتعریف محیط‌های وارد کردن واژه‌نامه و فهرست اختصارات در قسمت تنظیمات، در این قسمت کافی است هر کجا که می‌خواهید دو واژه‌نامه فارسی به انگلیسی و انگلیسی به فارسی وارد شود، دستور ‪\printglossary‬ را وارد کنید. برای فهرست اختصارات نیز در مکان دلخواه دستور ‪\printabbreviation‬ را وارد کنید. %
	
	
	
	
	%% با این دستور عنوان واژه‌نامه به فهرست مطالب اضافه می‌شود. 
	\addcontentsline{toc}{chapter}{واژه نامه فارسی به انگلیسی}
	\setglossarystyle{myFaToEn}
	\Oldprintglossary[type=persian]
	\onecolumn{}
}%
%%%%%% 
%%%%%% ============================================================================================================
%%%%%% ============================================================================================================
%%% نحوه تعریف واژگان 
\newword{Predual}{Predual}         
  {پیش‌دوگان}{}

  \newglossaryentry{derivation}     {type={english},name={\lr{derivation}},text={مشتق},description={}}
  \newglossaryentry{f-derivation} {type={persian},name={مشتق},text={\lr{derivation}},description={}} 




\newword{Net}{Net}         
{تور}{}

\newword{Operator}{Operator}         
{عملگر}{}

\newword{Functional}{Functional}         
{تابعک}{}

\newword{Adjointoperator}{Adjoint operator}         
{عملگر الحاقی}{}

\newword{Weaktopology}{Weak topology}         
{ توپولوژی ضعیف}{}

\newword{Naturalembedding}{Natural embedding}         
{نشاننده طبیعی}{}

\newword{Reflexive}{Reflexive}         
{انعکاسی}{}

\newword{unitization}{unitization}         
{یکدار شده}{}


   \newglossaryentry{amenable}     {type={english},name={\lr{amenable}},text={میانگین‌پذیر},description={}}
   \newglossaryentry{f-amenable} {type={persian},name={میانگین‌پذیر},text={\lr{amenable}},description={}}





  \newglossaryentry{weaklyamenable}     {type={english},name={\lr{weakly amenable}},text={میانگین‌پذیر ضعیف}, description={},parent=amenable}
  \newglossaryentry{f-weaklyamenable} {type={persian},name={‌ضعیف},text={\lr{weakly amenable}}, description={}, parent=f-amenable} 





   
 
   
  \newword{Isometricisomorphism}{Isometric isomorphism}         
  {یکریخت طولپا}{}     
   
  \newword{OpenmappingTheorem}{Open mapping Theorem}         
  { قضیه نگاشت باز}{}       
   
 \newword{approximatelyinner}{approximately inner}         
 {درونی تقریبی}{}         
   
   
   
    \newglossaryentry{approximatelyamenable}     {type={english},name={\lr{approximately amenable}},text={میانگین‌پذیر تقریبی}, description={},parent=amenable}
    \newglossaryentry{f-approximatelyamenable} {type={persian},name={‌تقریبی},text={\lr{approximately amenable}}, description={}, parent=f-amenable} 
   
   
   
\newglossaryentry{approximatelyweaklyamenable}{type={english},name={\lr{approximately weakly amenable}},text={میانگین‌پذیر ضعیف تقریبی}, description={},parent=amenable}
\newglossaryentry{f-approximatelyweaklyamenable} {type={persian},name={ضعیف تقریبی},text={\lr{approximately weakly amenable}}, description={}, parent=f-amenable} 




   

 \newword{Cyclic}{Cyclic}         
 {دوری}{}  
 
 
 
 
 
 
 
    
  
               
    
   \newglossaryentry{cyclicamenable}     {type={english},name={\lr{cyclic amenable}},text={میانگین‌پذیر دوری}, description={},parent=amenable}
   \newglossaryentry{f-cyclicamenable} {type={persian},name={‌دوری},text={\lr{cyclic amenable}}, description={}, parent=f-amenable}
  
     
  
   \newword{Inneramenable}{Inner amenable}         
 {میانگین‌پذیر درونی}{}    
    
 \newword{Innermean}{Inner mean}         
 {میانگین درونی}{}    
  
  \newword{Characterinneramenable}{Character inner amenable}         
  {میانگین‌پذیر درونی مشخصه‌ای}{}  
  
   \newword{quotient}{quotient}         
   {خارج قسمتی}{}    
   
  \newword{dual}{dual}         
  {دوگان}{}    
   
     \newword{stronglyArensirregular}{strongly Arens irregular}         
     {نامنظم آرنز قوی}{}    
     
    \newword{Spectrum}{Spectrum}         
    {طیف}{}     
     
   \newword{Spectralradius}{Spectral radius}         
   {شعاع طیفی}{}        
     
     
   \newword{Gelfandspace}{Gelfand space}   
       {فضای گلفاند}{} 
     
     \newword{radical}{radical}   
     {رادیکال}{}   
     
     \newword{semisimple}{semisimple}   
     {نیمه‌ساده}{}   
         
      \newword{Arensproduct}{Arens product}   
      {ضرب آرنز}{} 
     
      \newword{topologicalcentre}{topological center}   
      {مرکز توپولوژیکی}{}   
     
   
   \newword{Lauproduct}{Lau product}   
   { ضرب لائو}{}   
     
       
     
     
         
     
    \newword{quotientspace}{quotient space}   
    {فضای  خارج قسمتی}{}  
     
     
    \newword{net}{net}   
    {تور}{}  
     
    \newword{Hausdorff}{Hausdorff}   
    {هاسدورف}{}    
     
    \newword{functional}{functional}   
    {تابعک}{}       
     
 
      
     
    \newword{openmapping}{open mapping}   
    {نگاشت باز}{} 
    
       
      
    %%%%%%   \newglossaryentry{reflexivespace}     {type={english},name={\lr{reflexive space}},text={فضای انعکاسی},description={}, parent=f-space}
   %%%%%%    \newglossaryentry{f-reflexivespace} {type={persian},name={فضای انعکاسی},text={\lr{reflexive space}},description={}, parent=f-space}
      
      \newword{reflexivespace}{reflexive space}
      {فضای انعکاسی}{}    
    
  \newword{naturalembedding}{natural embedding}
  {نشاننده طبیعی}{}    
    
   \newword{adjointoperator}{adjoint operator}
   {عملگر الحاقی}{}     
    
  \newword{weaktopology}{weak topology}
  {توپولوژی ضعیف}{}       
    
   \newword{weakstartopology}{weak star topology}
   { توپولوژی ضعیف ستاره}{}    
    
    
    
     \newglossaryentry{algebra}     {type={english},name={\lr{algebra}},text={جبر},description={}}
     \newglossaryentry{f-algebra} {type={persian},name={جبر},text={\lr{algebra}},description={}}
    
 
    
 \newword{subalgebra}{subalgebra}
 {زیرجبر}{}     
    
    
      \newglossaryentry{Banachalgebra}{type={english},name={\lr{Banach algebra}},text={جبر باناخ}, description={},parent=algebra}
      \newglossaryentry{f-Banachalgebra} {type={persian},name={‌باناخ},text={\lr{Banach algebra}}, description={}, parent=f-algebra} 
    

       
    
  \newword{spectrum}{spectrum}
  {طیف}{}           
    
   \newword{spectralradius}{spectral radius}
   {شعاع طیفی}{}           
   
  \newword{character}{character}
  { مشخصه}{}          
        
   \newword{module}{module}
   {مدول}{}  
   
   \newword{cohomology}{cohomology}
   {کوهمولوژی}{}   
   
   
    \newglossaryentry{innerderivation}{type={english},name={\lr{inner derivation}},text={مشتق درونی}, description={},parent=derivation}
    \newglossaryentry{f-innerderivation} {type={persian},name={‌درونی},text={\lr{inner derivation}}, description={}, parent=f-derivation} 
   
   
   
       
   
     \newword{homomorphism}{homomorphism}
     {همریختی}{} 
   
  \newword{isometricisomorphism
  	}{isometric isomorphism
  	}
  {به طور طولپا  یکریخت}{}  
   
   
    \newword{cyclic}{cyclic}
    { دوری}{}
   
   
  \newword{Arensregular}{Arens regular}
  {منظم‌پذیر  آرنز}{}
    
    
   \newword{ideal}{ideal}
   {ایده‌آل}{}     
     
   
     
     
   \newword{directed}{directed}
   {جهت‌دار}{}   
     
   \newword{locallycompact}{locally compact}
   {موضعاً فشرده}{}    
     
            
   %%%%%%      \newglossaryentry{Banachspace}     {type={english},name={\lr{Banach space}},text={فضای باناخ}, description={},parent=space}
    %%%%%%     \newglossaryentry{f-Banachspace} {type={persian},name={‌باناخ},text={\lr{Banach space}}, description={}, parent=f-space}
     
      \newword{Banachspace}{Banach space}
      {فضای باناخ}{}    
            
    %%%%%%  \newglossaryentry{normedspace}     {type={english},name={\lr{normed space}},text={فضای نرم‌دار}, description={},parent=space}
    %%%%%%       \newglossaryentry{f-normedspace} {type={persian},name={‌نرم‌دار},text={\lr{normed space}}, description={}, parent=f-space}
      
        \newword{normedspace}{normed space}
        {فضای نرم‌دار}{}    
     
     
    %%%%%% \newglossaryentry{space}     {type={english},name={\lr{space}},text={فضا},description={}}
  %%%%%%  \newglossaryentry{f-space} {type={persian},name={فضای},text={\lr{space}},description={}}
      
      
      \newword{space}{space}
      { فضای}{} 
     
     
     
               
         
     
     
     \newword{vectorspace}{vector space}
     { فضای برداری}{} 
     
     
     
     \newword{linearoperator}{linear operator}
     {عملگر خطی}{} 
    
     
     \newword{subspace}{subspace}
     {زیرفضا}{}  
     
     
      \newglossaryentry{normedalgera}{type={english},name={\lr{normed algera}},text={جبر  نرم‌دار}, description={},parent=algebra}
      \newglossaryentry{f-normedalgera} {type={persian},name={‌  نرم‌دار},text={\lr{normed algera}}, description={}, parent=f-algebra}
      
     
      
     
     \newword{faithful}{faithful}
     {باوفا}{}   
     
     
     
     \newword{unital}{unital}
     {یکدار}{}
     
        
     \newword{commutative}{commutative}
     {جابجایی}{}   
     
      \newglossaryentry{radicalalgebra}{type={english},name={\lr{radical algebra}},text={جبر  رادیکال}, description={},parent=algebra}
      \newglossaryentry{f-radicalalgebra} {type={persian},name={‌ رادیکال},text={\lr{radical algebra}}, description={}, parent=f-algebra} 
     
        
     
     
     
      \newglossaryentry{semisimplealgebra}{type={english},name={\lr{semisimple algebra}},text={جبر نیمه‌ساده}, description={},parent=algebra}
      \newglossaryentry{f-semisimplealgebra} {type={persian},name={‌ نیمه‌ساده},text={\lr{semisimple algebra}}, description={}, parent=f-algebra}
     

     
     
       \newglossaryentry{approximatelyinnerderivation}     {type={english},name={\lr{approximately inner derivation}},text={مشتق درونی تقریبی}, description={},parent=derivation}
       \newglossaryentry{f-approximatelyinnerderivation} {type={persian},name={‌درونی تقریبی},text={\lr{approximately inner derivation}}, description={}, parent=f-derivation} 
     
     
     
     
     
       \newglossaryentry{cyclicderivation}     {type={english},name={\lr{cyclic derivation}},text={مشتق دوری}, description={},parent=derivation}
       \newglossaryentry{f-cyclicderivation} {type={persian},name={‌دوری},text={\lr{cyclic derivation}}, description={}, parent=f-derivation}
       
       
      
     
    
     
     
     
     
     
     
     
     
     
     
     
      