/ [xepersian] / xepersian.dtx
To checkout: svn checkout http://svn.gnu.org.ua/sources/xepersian/xepersian.dtx
Puszcza

Contents of /xepersian.dtx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations)
Mon Nov 7 06:09:47 2011 UTC (10 years ago) by vafa
File size: 351835 byte(s)
updated doc and localized some font feature and font feature options of fontspec
1 % \iffalse
2 %<*internal>
3 \iffalse
4 %</internal>
5 %<*readme>
6 _________________
7 The XePersian package
8 v1.3.4
9
10 XePersian is a package written for XeLaTeX that allows users to typeset
11 Persian easily. The current version is 1.3.4 and it will be developed to
12 meet the needs of Persian typesetting properly.
13
14 The XePersian package is independent of any operating system, meaning it
15 will work on all operating systems.
16
17
18
19 This version fixes all known bugs and adds new features explained in the
20 documentation. Support for xepersian-thesis class is removed as explained
21 in the documentation.
22
23 To get help, please explore http://forum.parsilatex.com
24
25 ______________
26 Vafa Khalighi
27 vafaklg@gmail.com
28
29 Copyright © 2008–2012
30 Distributed under the LaTeX Project Public License
31 It may be distributed and/or modified under the LaTeX Project Public License,
32 version 1.3c or higher (your choice). The latest version of
33 this license is at: http://www.latex-project.org/lppl.txt
34
35 This work is “author-maintained” (as per LPPL maintenance status)
36 by Vafa Khalighi.
37 %</readme>
38 %<*internal>
39 \fi
40 \begingroup
41 %</internal>
42 %<*batchfile>
43 \input docstrip.tex
44 \let\MetaPrefix\relax
45 \keepsilent
46 \preamble
47
48 ______________________________________
49 Copyright © 2008–2012 Vafa Khalighi
50
51 License information appended.
52
53
54 \endpreamble
55 \postamble
56
57 Copyright © 2008–2012 Vafa Khalighi <vafaklg@gmail.com>
58
59 It may be distributed and/or modified under the LaTeX Project Public License,
60 version 1.3c or higher (your choice). The latest version of
61 this license is at: http://www.latex-project.org/lppl.txt
62
63 This work is “author-maintained” (as per LPPL maintenance status)
64 by Vafa Khalighi.
65
66
67
68 \endpostamble
69 \askforoverwritefalse
70 \let\MetaPrefix\DoubleperCent
71 \generate{\file{algorithmic-xepersian.def}{\from{\jobname.dtx}{algorithmic-xepersian.def}}}
72 \generate{\file{algorithm-xepersian.def}{\from{\jobname.dtx}{algorithm-xepersian.def}}}
73 \generate{\file{amsart-xepersian.def}{\from{\jobname.dtx}{amsart-xepersian.def}}}
74 \generate{\file{amsbook-xepersian.def}{\from{\jobname.dtx}{amsbook-xepersian.def}}}
75 \generate{\file{article-xepersian.def}{\from{\jobname.dtx}{article-xepersian.def}}}
76 \generate{\file{artikel1-xepersian.def}{\from{\jobname.dtx}{artikel1-xepersian.def}}}
77 \generate{\file{artikel2-xepersian.def}{\from{\jobname.dtx}{artikel2-xepersian.def}}}
78 \generate{\file{artikel3-xepersian.def}{\from{\jobname.dtx}{artikel3-xepersian.def}}}
79 \generate{\file{backref-xepersian.def}{\from{\jobname.dtx}{backref-xepersian.def}}}
80 \generate{\file{bidicode-xepersian.def}{\from{\jobname.dtx}{bidicode-xepersian.def}}}
81 \generate{\file{bidituftesidenote-xepersian.def}{\from{\jobname.dtx}{bidituftesidenote-xepersian.def}}}
82 \generate{\file{bidimoderncv-xepersian.def}{\from{\jobname.dtx}{bidimoderncv-xepersian.def}}}
83 \generate{\file{boek3-xepersian.def}{\from{\jobname.dtx}{boek3-xepersian.def}}}
84 \generate{\file{boek-xepersian.def}{\from{\jobname.dtx}{boek-xepersian.def}}}
85 \generate{\file{bookest-xepersian.def}{\from{\jobname.dtx}{bookest-xepersian.def}}}
86 \generate{\file{book-xepersian.def}{\from{\jobname.dtx}{book-xepersian.def}}}
87 \generate{\file{breqn-xepersian.def}{\from{\jobname.dtx}{breqn-xepersian.def}}}
88 \generate{\file{commands-ltx.def}{\from{\jobname.dtx}{commands-ltx.def}}}
89 \generate{\file{color-localise.def}{\from{\jobname.dtx}{color-localise.def}}}
90 \generate{\file{commands-xepersian.def}{\from{\jobname.dtx}{commands-xepersian.def}}}
91 \generate{\file{empheq-xepersian.def}{\from{\jobname.dtx}{empheq-xepersian.def}}}
92 \generate{\file{enumerate-xepersian.def}{\from{\jobname.dtx}{enumerate-xepersian.def}}}
93 \generate{\file{environments-ltx.def}{\from{\jobname.dtx}{environments-ltx.def}}}
94 \generate{\file{environments-xepersian.def}{\from{\jobname.dtx}{environments-xepersian.def}}}
95 \generate{\file{extarticle-xepersian.def}{\from{\jobname.dtx}{extarticle-xepersian.def}}}
96 \generate{\file{extbook-xepersian.def}{\from{\jobname.dtx}{extbook-xepersian.def}}}
97 \generate{\file{extrafootnotefeatures-xepersian.def}{\from{\jobname.dtx}{extrafootnotefeatures-xepersian.def}}}
98 \generate{\file{extreport-xepersian.def}{\from{\jobname.dtx}{extreport-xepersian.def}}}
99 \generate{\file{flowfram-xepersian.def}{\from{\jobname.dtx}{flowfram-xepersian.def}}}
100 \generate{\file{footnote-bidi-xepersian.def}{\from{\jobname.dtx}{footnote-bidi-xepersian.def}}}
101 \generate{\file{hyperref-xepersian.def}{\from{\jobname.dtx}{hyperref-xepersian.def}}}
102 \generate{\file{kashida-xepersian.def}{\from{\jobname.dtx}{kashida-xepersian.def}}}
103 \generate{\file{listings-xepersian.def}{\from{\jobname.dtx}{listings-xepersian.def}}}
104 \generate{\file{loadingorder-bidi-xepersian.def}{\from{\jobname.dtx}{loadingorder-bidi-xepersian.def}}}
105 \generate{\file{localise-xepersian.def}{\from{\jobname.dtx}{localise-xepersian.def}}}
106 \generate{\file{memoir-xepersian.def}{\from{\jobname.dtx}{memoir-xepersian.def}}}
107 \generate{\file{messages-localise.def}{\from{\jobname.dtx}{messages-localise.def}}}
108 \generate{\file{minitoc-xepersian.def}{\from{\jobname.dtx}{minitoc-xepersian.def}}}
109 \generate{\file{misc-localise-xepersian.def}{\from{\jobname.dtx}{misc-localise-xepersian.def}}}
110 \generate{\file{multicol-xepersian.def}{\from{\jobname.dtx}{multicol-xepersian.def}}}
111 \generate{\file{natbib-xepersian.def}{\from{\jobname.dtx}{natbib-xepersian.def}}}
112 \generate{\file{packages-localise-xepersian.def}{\from{\jobname.dtx}{packages-localise-xepersian.def}}}
113 \def\MetaPrefix{;;}
114 \generate{\file{parsidigits.map}{\from{\jobname.dtx}{parsidigits.map}}}
115 \let\MetaPrefix\DoubleperCent
116 \generate{\file{rapport1-xepersian.def}{\from{\jobname.dtx}{rapport1-xepersian.def}}}
117 \generate{\file{rapport3-xepersian.def}{\from{\jobname.dtx}{rapport3-xepersian.def}}}
118 \generate{\file{refrep-xepersian.def}{\from{\jobname.dtx}{refrep-xepersian.def}}}
119 \generate{\file{report-xepersian.def}{\from{\jobname.dtx}{report-xepersian.def}}}
120 \generate{\file{scrartcl-xepersian.def}{\from{\jobname.dtx}{scrartcl-xepersian.def}}}
121 \generate{\file{scrbook-xepersian.def}{\from{\jobname.dtx}{scrbook-xepersian.def}}}
122 \generate{\file{scrreprt-xepersian.def}{\from{\jobname.dtx}{scrreprt-xepersian.def}}}
123 \generate{\file{tocloft-xepersian.def}{\from{\jobname.dtx}{tocloft-xepersian.def}}}
124 \generate{\file{xepersian.sty}{\from{\jobname.dtx}{xepersian.sty}}}
125 \generate{\file{xepersian-magazine.cls}{\from{\jobname.dtx}{xepersian-magazine.cls}}}
126 \generate{\file{xepersian-mathsdigitspec.sty}{\from{\jobname.dtx}{xepersian-mathsdigitspec.sty}}}
127 \generate{\file{xepersian-multiplechoice.sty}{\from{\jobname.dtx}{xepersian-multiplechoice.sty}}}
128 \generate{\file{xepersian-persiancal.sty}{\from{\jobname.dtx}{xepersian-persiancal.sty}}}
129 %</batchfile>
130 %<batchfile>\endbatchfile
131 %<*internal>
132 \generate{\file{\jobname.ins}{\from{\jobname.dtx}{batchfile}}}
133 \nopreamble\nopostamble
134 \generate{\file{README.txt}{\from{\jobname.dtx}{readme}}}
135 \generate{\file{magazine-sample.tex}{\from{\jobname.dtx}{magazine-sample.tex}}}
136 \generate{\file{test-correction.tex}{\from{\jobname.dtx}{test-correction.tex}}}
137 \generate{\file{test-empty-form.tex}{\from{\jobname.dtx}{test-empty-form.tex}}}
138 \generate{\file{test-question-only.tex}{\from{\jobname.dtx}{test-question-only.tex}}}
139 \generate{\file{test-solution-form.tex}{\from{\jobname.dtx}{test-solution-form.tex}}}
140 \endgroup
141 \immediate\write18{mv README.txt README}
142 \immediate\write18{makeindex -s gind.ist -o \jobname.ind \jobname.idx}
143 \immediate\write18{makeindex -s gglo.ist -o \jobname.gls \jobname.glo}
144 %</internal>
145 %
146 %<*driver>
147 \documentclass{ltxdoc}
148 \usepackage{graphicx,wrapfig}
149 \usepackage{url}
150 \usepackage{supertabular}
151 \usepackage{fontspec}
152 \usepackage{calc}
153 \usepackage{pifont}
154 \usepackage{bbding}
155 \usepackage{bidicode}
156 \usepackage[numbered]{hypdoc}
157 \definecolor{myred}{rgb}{0.65,0.04,0.07}
158 \hypersetup{pdftitle={The XePersian Package (Persian for \LaTeXe{} over XeTeX)},pdfauthor={Vafa Khalighi <vafaklg@gmail.com>}}
159 \usepackage{bidi}
160 \setlength\columnseprule{.4pt}
161 \newfontfamily\ParsiFont[Script=Arabic]{Iranian Sans}
162 \def\Pcs#1{\nxPLcs{#1}}
163 \def\nxPLcs#1{\RLE{\texttt{\symbol{92}\ParsiFont#1}}}
164 \def\Lenv#1{\texttt{#1}}
165 \def\Penv#1{\RLE{\ParsiFont#1}}
166 \let\parsitext\Penv
167 \def\XeTeX{Xe\TeX}
168 \def\XeLaTeX{Xe\LaTeX}
169 \def\XePersian{XePersian}
170 \newcommand*{\bicsintabular}[2]{\Lcs{#2}&\Pcs{#1}\\}
171 \newcommand*{\bienvintabular}[2]{\Lenv{#2}&\Penv{#1}\\}
172 \makeatletter
173 \renewcommand\tableofcontents{\relax
174 \begin{multicols}{2}[\section*{\contentsname}]\small
175 \@starttoc{toc}\relax
176 \end{multicols}}
177 \pdfstringdefDisableCommands{%
178 \renewcommand\Lcs[1]{\textbackslash#1}
179 }
180 \makeatother
181 \newcounter{local}
182 \renewcommand\theenumi{\protect\setcounter{local}%
183 {201+\the\value{enumi}}\protect\ding{\value{local}}}
184 \renewcommand\labelenumi{\theenumi}
185 \renewcommand\labelitemi{\HandRight}
186 \renewcommand\labelitemii{\HandRightUp}
187 \renewcommand\labelitemiii{\HandCuffRight}
188 \renewcommand\labelitemiv{\HandPencilLeft}
189 \EnableCrossrefs
190 \CodelineIndex
191 \RecordChanges
192 \OnlyDescription
193 \begin{document}
194 \DocInput{\jobname.dtx}
195 \PrintIndex
196 \PrintChanges
197 \end{document}
198 %</driver>
199 %
200 %
201 % \fi
202 %
203 % \GetFileInfo{\jobname.sty}
204 % \CheckSum{0}
205 % \makeatletter
206 % \title{The \textsf{\XePersian} Package\\[5pt]
207 % Persian for \LaTeXe{} over \XeTeX}
208 % \author{Vafa Khalighi\\
209 % \url{vafaklg@gmail.com}}
210 % \date{\today\qquad Version 1.3.4}
211 %\maketitle
212 %\tableofcontents
213 %\section{Introduction}
214 %\XePersian\ is a package for typesetting Persian/English documents with \XeLaTeX. The package includes adaptations for use with many other commonly-used packages.
215 %\subsection{Important Notes}
216 %\begin{itemize}
217 %\item The \textsf{\XePersian} package only works with \XeTeX\ engine.
218 %\item Before reading this documentation, you should have read the documentation of the \textsf{bidi} package. The \textsf{\XePersian} package automatically loads \textsf{bidi} package with \texttt{RTLdocument} option enabled and hence any commands that \textsf{bidi} package offers, is also available in \textsf{\XePersian} package. Here, in this documentation, we will not repeat any of \textsf{bidi} package's commands.
219 %\item In previous versions (\(\leq1.0.3\)) of \XePersian, a thesis class provided for typesetting thesis. As of version 1.0.4, I no longer provide this class because I am not familiar with specification of a thesis in Iran and even if I was, the specifications are different from University to University. \XePersian\ is a general package like \LaTeX\ and should not provide any class for typesetting thesis. So if you really want to have a class file for typesetting thesis, then you should ask your University/department to write one for you.
220 %\item To get help, please explore \url{http://forum.parsilatex.com} and ask your question there.
221 %
222 %\end{itemize}
223 %\subsection{\textsf{\XePersian} Info On The Terminal and In The Log File}
224 %If you use \textsf{\XePersian} package to write any input \TeX\ document, and then run \texttt{xelatex} on your document, in addition to what \textsf{bidi} package writes to the terminal and to the log file, the \XePersian\ package also writes some information about itself to the terminal and to the log file, too. The information is something like:
225 %\begin{lstlisting}[numbers=none,backgroundcolor=\color{blue!30},frame=none,framexleftmargin=1mm]
226 %xepersian package (Persian for LaTeX over XeTeX)
227 %Description: The package supports Persian
228 %typesetting, using fonts provided in the distribution.
229 %Copyright © 2008-2012 Vafa Khalighi
230 %v1.3.4, 2012/01/01
231 %License: LaTeX Project Public License, version 1.3c or higher (your choice)
232 %Location on CTAN: /macros/xetex/latex/xepersian
233 %\end{lstlisting}
234 %\section{Basics\label{basics}}
235 %\subsection{Loading The Package}
236 %You can load the package in the ordinary way;
237 %\begin{BDef}
238 %\Lcs{usepackage}\OptArgs\Largb{xepersian}
239 %\end{BDef}
240 %Where \texttt{options} of the package are explained later in \autoref{options}.
241 %
242 %When loading the package, it is important to know that:
243 %\begin{enumerate}
244 %\item \textsf{xepersian} should be the last package that you load, because otherwise you are certainly going to overwrite \textsf{bidi} and \textsf{\XePersian} package's definitions and consequently, you will not get the expected output.
245 %\item In fact, in addition to \textsf{bidi}, \textsf{\XePersian} also makes sure that some specific packages are loaded before \textsf{bidi} and \textsf{\XePersian}; these are those packages that \textsf{bidi} and \textsf{\XePersian} modifies them for bidirectional and Persian/English typesetting.
246 %
247 %If you load \textsf{\XePersian} before any of these packages, then you will get an error saying that you should load \textsf{\XePersian} or \textsf{bidi} as your last package. When it says that you should load \textsf{bidi} package as your last package, it really means that you should load \textsf{\XePersian} as your last package as \textsf{bidi} package is loaded automatically by \textsf{\XePersian} package.
248 %
249 %For instance, consider the following minimal example:
250 %\begin{lstlisting}[morekeywords={settextfont}]
251 %\documentclass{minimal}
252 %\usepackage{xepersian}
253 %\usepackage{enumerate}
254 %\settextfont{XB Niloofar}
255 %\begin{document}
256 %*\parsitext{این فقط یک آزمایش است}*
257 %\end{document}
258 %\end{lstlisting}
259 %Where \textsf{enumerate} is loaded after \textsf{\XePersian}. If you run \texttt{xelatex} on this document, you will get an error which looks like this:
260 %\begin{lstlisting}[numbers=none,backgroundcolor=\color{blue!30},frame=none,framexleftmargin=1mm]
261 %! Package xepersian Error: Oops! you have loaded package enumerate after xepersian package. Please load package enumerate before xepersian package, and then try to run xelatex on your document again.
262 %
263 %See the xepersian package documentation for explanation.
264 %Type H <return> for immediate help.
265 % ...
266 %
267 %l.5 \begin{document}
268 %
269 %?
270 %
271 %\end{lstlisting}
272 %\end{enumerate}
273 %\subsection{Commands for Version number, and Date of The Package}
274 %\begin{BDef}
275 %\Lcs{xepersianversion}\quad\Lcs{xepersiandate}
276 %\end{BDef}
277 %\begin{itemize}
278 %\item \Lcs{xepersianversion} gives the current version of the package.
279 %\item \Lcs{xepersiandate} gives the current date of the package.
280 %\end{itemize}
281 %\begin{lstlisting}[morekeywords={settextfont,XePersian,xepersianversion,xepersiandate}]
282 %\documentclass{article}
283 %\usepackage{xepersian}
284 %\settextfont{XB Niloofar}
285 %\begin{document}
286 %\begin{latin}
287 %This is typeset by \textsf{\XePersian} package,\xepersianversion,
288 %\xepersiandate.
289 %\end{latin}
290 %\end{document}
291 %\end{lstlisting}
292 %\subsection{{Options of The Package\label{options}}}
293 %There are three options:
294 %\subsection{\texttt{extrafootnotefeatures} Option}
295 %This is just the \texttt{extrafootnotefeatures} Option of \textsf{bidi} package. If you enable this option, you can typeset footnotes in paragraph form or in multi-columns (from two-columns to ten-columns). For more details, please read the manual of \textsf{bidi} package.
296 %\subsubsection{\texttt{Kashida} Option}
297 %If you pass \texttt{Kashida} option to the package, you will use Kashida for stretching words for better output quality and getting rid of underfull or overfull \Lcs{hbox} messages.
298 %\marginpar{This is the font issue not \XePersian's bug}Please note that unfortunately X series fonts of IRMUG (Iranian Mac Users Group) do not have Kashida support and if you use any of these fonts with \texttt{Kashida} option enabled, the result on the PDF viewed on the monitor is not pleasant, however the print may look fine. Hence if you are going to enable \texttt{Kashida} option , then you are advised to use either ``Adobe Arabic'' or ``Scheherazade'' fonts or any other fonts that has fine Kashida support, like \textsf{Persian Modern} font (the default font of \XePersian{} package).
299 %
300 %Note that you can not use \texttt{Kashida} option when you are using Nastaliq-like font (well, you still can use \texttt{Kashida} option when you use any Nastaliq-like font, but I can not guarantee high quality output!).
301 %
302 %\bigskip
303 %The following two commands are provided when you activate the \texttt{Kashida} option:
304 %\begin{BDef}
305 %\Lcs{KashidaOn}\quad\Lcs{KashidaOff}
306 %\end{BDef}
307 %\begin{itemize}
308 %\item \Lcs{KashidaOn} enables Kashida and is active by default when \texttt{Kashida} option is activated.
309 %\item \Lcs{KashidaOff} disables Kashida.
310 %\end{itemize}
311 %
312 %\subsubsection{\texttt{quickindex} Option}
313 %When you generally want to prepare index for your Persian documents, you need to first run \texttt{xelatex}, then \texttt{xindy}, and again \texttt{xelatex} on your document respectively, which is very time consuming. The \texttt{quickindex} option gives you the index with only and only one run of \texttt{xelatex}. To use this feature, you will need to run \texttt{xelatex --shell-escape} on your \TeX{} document; otherwise you get an error which indicates that shell scape (or write18) is not enabled.
314 %\subsubsection{\texttt{localise} Option}
315 %The \texttt{localise} option is now active by default; it allows you to use most frequently-used \LaTeX\ commands and environments in Persian, almost like what \TeX-e-Parsi offers. This is still work in progress and we wish to add lots more Persian equivalents of \LaTeX\ and \TeX\ commands and environments. The Persian equivalents of \LaTeX\ and \TeX\ commands are shown in \autoref{lcs}, The Persian equivalents of \XePersian\ commands are shown in \autoref{xcs}, Persian equivalents of \LaTeX\ environments are shown in \autoref{lenv} and Persian equivalents of \XePersian\ environments are shown in \autoref{xenv}
316 %
317 %Please note that the Persian equivalents of \LaTeX\ and \TeX\ commands and environments are only available after loading \textsf{xepersian} package. This means that you have to write all commands or environments that come before \Lcs{usepackage}\Largb{xepersian}, in its original form, i.e. \Lcs{documentclass}.
318 %
319 %Not only you can use Persian equivalents of \LaTeX\ and \TeX\ commands and environments, but still original \LaTeX\ and \TeX\ commands and environments work too.
320 %
321 %The \TeX\, \LaTeX\, and \XePersian\ commands and environments and their Persian equivalents listed in \autoref{lcs}, \autoref{xcs}, \autoref{lenv} and \autoref{xenv} is not the whole story; If any command and environment in \autoref{lcs}, \autoref{xcs}, \autoref{lenv} and \autoref{xenv} have a starred version, their starred version also work. For example in \autoref{lcs}, the Persian equivalent of \Lcs{chapter} is \Pcs{فصل}. I know that \Lcs{chapter} has a starred version, so this means \Pcs{فصل*} is also the Persian equivalent of \Lcs{chapter*}. Is that clear?
322 %
323 %\medskip
324 %However there is more; you can localise any other commands/environments you want. You can use the following commands to localise your own commands/environments:
325 %\begin{BDef}
326 %\Lcs{eqcommand}\Largb{\Larga{command-name in Persian}}\Largb{\Larga{original \LaTeX{} command-name}}\\
327 %\Lcs{eqenvironment}\Largb{\Larga{environment-name in Persian}}\Largb{\Larga{original \LaTeX{} environment-name}}
328 %\end{BDef}
329 %
330 %\bigskip
331 %\begin{center}
332 %\tablecaption{The Equivalent \LaTeX\ and \TeX\ Commands\label{lcs}}
333 %\tablehead
334 % {\bfseries Command in \TeX\ or \LaTeX\ &\bfseries Equivalent Persian Command\\ \hline}
335 %\tabletail
336 % {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
337 %\tablelasttail{\hline}
338 %\begin{supertabular}{lr}
339 %\bicsintabular{شمع‌جدول}{@arstrut}
340 %\bicsintabular{فوق}{above}
341 %\bicsintabular{فاصله‌کوتاه‌بالای‌نمایش}{abovedisplayshortskip}
342 %\bicsintabular{فاصله‌بالای‌نمایش}{abovedisplayskip}
343 %\bicsintabular{عنوان‌چکیده}{abstractname}
344 %\bicsintabular{اکسنت}{accent}
345 %\bicsintabular{فعال}{active}
346 %\bicsintabular{بیفزاسطرفهرست}{addcontentsline}
347 %\bicsintabular{اضافه‌برجریمه}{addpenalty}
348 %\bicsintabular{نشانی}{address}
349 %\bicsintabular{بیفزابه‌فهرست}{addtocontents}
350 %\bicsintabular{اضافه‌برشمارنده}{addtocounter}
351 %\bicsintabular{اضافه‌بربعد}{addtolength}
352 %\bicsintabular{بیفزافضای‌و}{addvspace}
353 %\bicsintabular{تنظیم‌بدنمایی}{adjdemerits}
354 %\bicsintabular{بیفزابر}{advance}
355 %\bicsintabular{بعدازانتساب}{afterassignment}
356 %\bicsintabular{بعدازگروه}{aftergroup}
357 %\bicsintabular{الف}{aleph}
358 %\bicsintabular{خصیصه‌مستعارقلم}{aliasfontfeature}
359 %\bicsintabular{انتخاب‌خصیصه‌مستعارقلم}{aliasfontfeatureoption}
360 %\bicsintabular{شکستنی}{allowbreak}
361 %\bicsintabular{تخصی@}{alloc@}
362 %\bicsintabular{تخصیص‌یافته}{allocationnumber}
363 %\bicsintabular{شکست‌نمایش‌مجاز}{allowdisplaybreaks}
364 %\bicsintabular{حروف‌بزرگ}{Alph}
365 %\bicsintabular{حروف‌کوچک}{alph}
366 %\bicsintabular{نام‌همچنین}{alsoname}
367 %\bicsintabular{و}{and}
368 %\bicsintabular{زاویه}{angle}
369 %\bicsintabular{عنوان‌پیوست}{appendixname}
370 %\bicsintabular{تقریب}{approx}
371 %\bicsintabular{عربی}{arabic}
372 %\bicsintabular{آرگ}{arg}
373 %\bicsintabular{رنگ‌خط‌جدول}{arrayrulecolor}
374 %\bicsintabular{فاصله‌ستونهای‌آرایه}{arraycolsep}
375 %\bicsintabular{ضخامت‌خط‌جدول}{arrayrulewidth}
376 %\bicsintabular{کشیدگی‌آرایه}{arraystretch}
377 %\bicsintabular{درآغازنوشتار}{AtBeginDocument}
378 %\bicsintabular{درپایان‌نوشتار}{AtEndDocument}
379 %\bicsintabular{درانتهای‌طبقه}{AtEndOfClass}
380 %\bicsintabular{درانتهای‌سبک}{AtEndOfPackage}
381 %\bicsintabular{نویسنده}{author}
382 %\bicsintabular{مطلب‌پشت}{backmatter}
383 %\bicsintabular{شکاف‌پشت}{backslash}
384 %\bicsintabular{بدنمایی}{badness}
385 %\bicsintabular{میله}{bar}
386 %\bicsintabular{فاصله‌کرسی}{baselineskip}
387 %\bicsintabular{کشش‌فاصله‌کرسی}{baselinestretch}
388 %\bicsintabular{پردازش‌دسته‌ای}{batchmode}
389 %\bicsintabular{شروع}{begin}
390 %\bicsintabular{شروع‌چپ}{beginL}
391 %\bicsintabular{شروع‌راست}{beginR}
392 %\bicsintabular{شروع‌گروه}{begingroup}
393 %\bicsintabular{فاصله‌کوتاه‌پایین‌نمایش}{belowdisplayshortskip}
394 %\bicsintabular{فاصله‌پایین‌نمایش}{belowdisplayskip}
395 %\bicsintabular{سیاه}{bf}
396 %\bicsintabular{پیش‌فرض‌سیاه}{bfdefault}
397 %\bicsintabular{شمایل‌سیاه}{bfseries}
398 %\bicsintabular{شرگروه}{bgroup}
399 %\bicsintabular{مرجوع}{bibitem}
400 %\bicsintabular{کتاب‌نامه}{bibliography}
401 %\bicsintabular{سبک‌کتاب‌نامه}{bibliographystyle}
402 %\bicsintabular{عنوان‌کتاب‌نامه}{bibname}
403 %\bicsintabular{پرش‌بلند}{bigskip}
404 %\bicsintabular{مقدارپرش‌بلند}{bigskipamount}
405 %\bicsintabular{خط‌پایین‌شناور}{botfigrule}
406 %\bicsintabular{علامت‌پایین}{botmark}
407 %\bicsintabular{کادرتاپایین}{bottompageskip}
408 %\bicsintabular{نسبت‌پایین}{bottomfraction}
409 %\bicsintabular{کادر}{box}
410 %\bicsintabular{حداکثرعمق‌کادر}{boxmaxdepth}
411 %\bicsintabular{بشکن}{break}
412 %\bicsintabular{گلوله}{bullet}
413 %\bicsintabular{دوپن@پنج}{@cclv}
414 %\bicsintabular{دوپن@شش}{@cclvi}
415 %\bicsintabular{شرح}{caption}
416 %\bicsintabular{کدرده}{catcode}
417 %\bicsintabular{رونوشت}{cc}
418 %\bicsintabular{نام‌رونوشت}{ccname}
419 %\bicsintabular{نقطه‌وسط}{cdot}
420 %\bicsintabular{نقاط‌وسط}{cdots}
421 %\bicsintabular{تنظیم‌ازوسط}{centering}
422 %\bicsintabular{خط‌وسط}{centerline}
423 %\bicsintabular{چک@ن}{ch@ck}
424 %\bicsintabular{فصل}{chapter}
425 %\bicsintabular{عنوان‌فصل}{chaptername}
426 %\bicsintabular{نویسه}{char}
427 %\bicsintabular{تعریف‌نویسه}{chardef}
428 %\bicsintabular{برسی‌فرمان}{CheckCommand}
429 %\bicsintabular{مرجع}{cite}
430 %\bicsintabular{خطای‌طبقه}{ClassError}
431 %\bicsintabular{اطلاع‌طبقه}{ClassInfo}
432 %\bicsintabular{هشدارطبقه}{ClassWarning}
433 %\bicsintabular{هشدارطبقه‌بی‌سطر}{ClassWarningNoLine}
434 %\bicsintabular{نشانگرمرکزی}{cleaders}
435 %\bicsintabular{دوصفحه‌پاک}{cleardoublepage}
436 %\bicsintabular{صفحه‌پاک}{clearpage}
437 %\bicsintabular{خط‌ناپر}{cline}
438 %\bicsintabular{ببندورودی}{closein}
439 %\bicsintabular{ببندخروجی}{closeout}
440 %\bicsintabular{بستن}{closing}
441 %\bicsintabular{جریمه‌سربند}{clubpenalty}
442 %\bicsintabular{خاج}{clubsuit}
443 %\bicsintabular{علامت‌پایین‌ستون‌اول}{colbotmark}
444 %\bicsintabular{علامت‌اول‌ستون‌اول}{colfirstmark}
445 %\bicsintabular{رنگ}{color}
446 %\bicsintabular{کادررنگ}{colorbox}
447 %\bicsintabular{علامت‌بالای‌ستون‌اول}{coltopmark}
448 %\bicsintabular{رنگ‌ستون}{columncolor}
449 %\bicsintabular{بین‌ستون}{columnsep}
450 %\bicsintabular{پهنای‌ستون}{columnwidth}
451 %\bicsintabular{خط‌بین‌ستون}{columnseprule}
452 %\bicsintabular{سطرفهرست}{contentsline}
453 %\bicsintabular{عنوان‌فهرست‌مطالب}{contentsname}
454 %\bicsintabular{کپی}{copy}
455 %\bicsintabular{حق‌تالیف}{copyright}
456 %\bicsintabular{شمار}{count}
457 %\bicsintabular{شمار@}{count@}
458 %\bicsintabular{تعریف‌شمار}{countdef}
459 %\bicsintabular{سخ}{cr}
460 %\bicsintabular{سخ‌سخ}{crcr}
461 %\bicsintabular{نام‌فرمان}{csname}
462 %\bicsintabular{گزینه‌جاری}{CurrentOption}
463 %\bicsintabular{کادربینابین}{dashbox}
464 %\bicsintabular{بینابین‌ع}{dashv}
465 %\bicsintabular{@تاریخ}{@date}
466 %\bicsintabular{تاریخ}{date}
467 %\bicsintabular{روز}{day}
468 %\bicsintabular{خط‌پایین‌شناورپهن}{dblbotfigrule}
469 %\bicsintabular{نسبت‌پهن‌پایین}{dblbottomfraction}
470 %\bicsintabular{خط‌بالای‌شناورپهن}{dblfigrule}
471 %\bicsintabular{نسبت‌صفحه‌شناورپهن}{dblfloatpagefraction}
472 %\bicsintabular{فاصله‌بین‌شناورپهن}{dblfloatsep}
473 %\bicsintabular{کدمکان‌غیرهمانطور}{dblfntlocatecode}
474 %\bicsintabular{فاصله‌متن‌وشناورپهن}{dbltextfloatsep}
475 %\bicsintabular{نسبت‌پهن‌بالا}{dbltopfraction}
476 %\bicsintabular{اعلان‌قلم‌ثابت}{DeclareFixedFont}
477 %\bicsintabular{اعلان‌پسوندگرافیک}{DeclareGraphicsExtensions}
478 %\bicsintabular{اعلان‌دستورگرافیک}{DeclareGraphicsRule}
479 %\bicsintabular{اعلان‌فرمان‌قلم‌قدیمی}{DeclareOldFontCommand}
480 %\bicsintabular{اعلان‌گزینه}{DeclareOption}
481 %\bicsintabular{اعلان‌فرمان‌قوی}{DeclareRobustCommand}
482 %\bicsintabular{اعلان‌قلم‌علائم}{DeclareSymbolFont}
483 %\bicsintabular{دوربسته}{deadcycles}
484 %\bicsintabular{تر}{def}
485 %\bicsintabular{تعریف@کلید}{define@key}
486 %\bicsintabular{تعریف‌رنگ}{definecolor}
487 %\bicsintabular{درجه}{deg}
488 %\bicsintabular{کدجداساز}{delcode}
489 %\bicsintabular{جداساز}{delimiter}
490 %\bicsintabular{ضریب‌جداساز}{delimiterfactor}
491 %\bicsintabular{گودی}{depth}
492 %\bicsintabular{خشت}{diamondsuit}
493 %\bicsintabular{ابعاد}{dim}
494 %\bicsintabular{بعد}{dimen}
495 %\bicsintabular{بعد@}{dimen@}
496 %\bicsintabular{بعد@یک}{dimen@i}
497 %\bicsintabular{بعد@دو}{dimen@ii}
498 %\bicsintabular{تعریف‌بعد}{dimendef}
499 %\bicsintabular{تیره‌گذاری}{discretionary}
500 %\bicsintabular{شکست‌نمایش}{displaybreak}
501 %\bicsintabular{تورفتگی‌نمایش}{displayindent}
502 %\bicsintabular{سبک‌نمایش}{displaystyle}
503 %\bicsintabular{عرض‌نمایش}{displaywidth}
504 %\bicsintabular{تقسیم}{divide}
505 %\bicsintabular{طبقه‌نوشتار}{documentclass}
506 %\bicsintabular{کن}{do}
507 %\bicsintabular{تعویض‌کدها}{dospecials}
508 %\bicsintabular{نقطه}{dot}
509 %\bicsintabular{نقطه‌مساوی}{doteq}
510 %\bicsintabular{پرنقطه‌ا}{dotfill}
511 %\bicsintabular{نقاط}{dots}
512 %\bicsintabular{کادردولا}{doublebox}
513 %\bicsintabular{رنگ‌فاصله‌دوخط‌جدول}{doublerulesepcolor}
514 %\bicsintabular{فاصله‌بین‌دوخط}{doublerulesep}
515 %\bicsintabular{فلش‌پایین}{downarrow}
516 %\bicsintabular{عمق}{dp}
517 %\bicsintabular{تخلیه}{dump}
518 %\bicsintabular{ترگ}{edef}
519 %\bicsintabular{پاگروه}{egroup}
520 %\bicsintabular{انتهای‌فاصله}{eject}
521 %\bicsintabular{گرنه}{else}
522 %\bicsintabular{تاکید}{em}
523 %\bicsintabular{کشش‌لاجرم}{emergencystretch}
524 %\bicsintabular{موکد}{emph}
525 %\bicsintabular{@پوچ}{@empty}
526 %\bicsintabular{پوچ}{empty}
527 %\bicsintabular{مجموعه‌پوچ}{emptyset}
528 %\bicsintabular{پایان}{end}
529 %\bicsintabular{پایان‌چپ}{endL}
530 %\bicsintabular{پایان‌راست}{endR}
531 %\bicsintabular{پایان‌نام‌فرمان}{endcsname}
532 %\bicsintabular{پایان‌اولین‌سر}{endfirsthead}
533 %\bicsintabular{پایان‌پا}{endfoot}
534 %\bicsintabular{ته‌بند}{endgraf}
535 %\bicsintabular{پایان‌گروه}{endgroup}
536 %\bicsintabular{پایان‌سر}{endhead}
537 %\bicsintabular{پایان‌ورودی}{endinput}
538 %\bicsintabular{پایان‌آخرین‌پا}{endlastfoot}
539 %\bicsintabular{گسترش‌این‌صفحه}{enlargethispage}
540 %\bicsintabular{ته‌سطر}{endline}
541 %\bicsintabular{نویسه‌ته‌سطر}{endlinechar}
542 %\bicsintabular{ان‌دوری}{enspace}
543 %\bicsintabular{ان‌فاصله}{enskip}
544 %\bicsintabular{فرمان‌جانشین}{eqcommand}
545 %\bicsintabular{محیط‌جانشین}{eqenvironment}
546 %\bicsintabular{ارجاع‌فر}{eqref}
547 %\bicsintabular{کمک‌خطا}{errhelp}
548 %\bicsintabular{پیام‌خطا}{errmessage}
549 %\bicsintabular{سطرمتن‌خطا}{errorcontextlines}
550 %\bicsintabular{پردازش‌توقف‌خطا}{errorstopmode}
551 %\bicsintabular{نویسه‌ویژه}{escapechar}
552 %\bicsintabular{یورو}{euro}
553 %\bicsintabular{حاشیه‌زوج}{evensidemargin}
554 %\bicsintabular{هرسخ}{everycr}
555 %\bicsintabular{هرنمایش}{everydisplay}
556 %\bicsintabular{هرکادرا}{everyhbox}
557 %\bicsintabular{هرکار}{everyjob}
558 %\bicsintabular{هرریاضی}{everymath}
559 %\bicsintabular{هربند}{everypar}
560 %\bicsintabular{هرکادرو}{everyvbox}
561 %\bicsintabular{اجرای‌گزینه‌ها}{ExecuteOptions}
562 %\bicsintabular{جریمه‌اضافی‌تیره‌بندی}{exhyphenpenalty}
563 %\bicsintabular{بگسترپس‌از}{expandafter}
564 %\bicsintabular{فاصله‌اضافی‌بین‌ستونها}{extracolsep}
565 %\bicsintabular{@اولی‌ازیک}{@firstofone}
566 %\bicsintabular{@اولی‌ازدو}{@firstoftwo}
567 %\bicsintabular{چ@ار}{f@ur}
568 %\bicsintabular{خانواده}{fam}
569 %\bicsintabular{صفحه‌تجملی}{fancypage}
570 %\bicsintabular{کادربا}{fbox}
571 %\bicsintabular{ضخامت‌کادربا}{fboxrule}
572 %\bicsintabular{حاشیه‌کادربا}{fboxsep}
573 %\bicsintabular{کادربارنگ}{fcolorbox}
574 %\bicsintabular{رگ}{fi}
575 %\bicsintabular{عنوان‌شکل}{figurename}
576 %\bicsintabular{پرشکن}{filbreak}
577 %\bicsintabular{پر}{fill}
578 %\bicsintabular{علامت‌اول}{firstmark}
579 %\bicsintabular{پهن}{flat}
580 %\bicsintabular{نسبت‌صفحه‌شناور}{floatpagefraction}
581 %\bicsintabular{جریمه‌شناور}{floatingpenalty}
582 %\bicsintabular{فاصله‌بین‌شناور}{floatsep}
583 %\bicsintabular{تنظیم‌ازپایین}{flushbottom}
584 %\bicsintabular{شکلبندی}{fmtname}
585 %\bicsintabular{رده‌شکلبندی}{fmtversion}
586 %\bicsintabular{نشانه}{fnsymbol}
587 %\bicsintabular{قلم}{font}
588 %\bicsintabular{بعدقلم}{fontdimen}
589 %\bicsintabular{رمزینه‌قلم}{fontencoding}
590 %\bicsintabular{فامیل‌قلم}{fontfamily}
591 %\bicsintabular{نام‌قلم}{fontname}
592 %\bicsintabular{شمایل‌قلم}{fontseries}
593 %\bicsintabular{شکل‌قلم}{fontshape}
594 %\bicsintabular{اندازه‌قلم}{fontsize}
595 %\bicsintabular{بلندای‌پایین‌صفحه}{footheight}
596 %\bicsintabular{درج‌زیرنویس}{footins}
597 %\bicsintabular{زیرنویس}{footnote}
598 %\bicsintabular{علامت‌زیرنویس}{footnotemark}
599 %\bicsintabular{خط‌زیرنویس}{footnoterule}
600 %\bicsintabular{فاصله‌تازیرنویس}{footnotesep}
601 %\bicsintabular{اندازه‌زیرنویس}{footnotesize}
602 %\bicsintabular{متن‌زیرنویس}{footnotetext}
603 %\bicsintabular{فاصله‌تاپایین‌صفحه}{footskip}
604 %\bicsintabular{فریم}{frame}
605 %\bicsintabular{کادرباخط}{framebox}
606 %\bicsintabular{فواصل‌یکنواخت‌لاتین}{frenchspacing}
607 %\bicsintabular{مطلب‌پیش}{frontmatter}
608 %\bicsintabular{بعدبگذار}{futurelet}
609 %\bicsintabular{@خورحریصانه}{@gobble}
610 %\bicsintabular{@خورحریصانه‌دو}{@gobbletwo}
611 %\bicsintabular{@خورحریصانه‌چهار}{@gobblefour}
612 %\bicsintabular{@عاقت‌آ}{@gtempa}
613 %\bicsintabular{@عاقت‌ب}{@gtempb}
614 %\bicsintabular{ترع}{gdef}
615 %\bicsintabular{الگوی‌اطلاع}{GenericInfo}
616 %\bicsintabular{الگوی‌هشدار}{GenericWarning}
617 %\bicsintabular{الگوی‌خطا}{GenericError}
618 %\bicsintabular{عام}{global}
619 %\bicsintabular{تعاریف‌عام}{globaldefs}
620 %\bicsintabular{لغت‌نامه}{glossary}
621 %\bicsintabular{فقره‌فرهنگ}{glossaryentry}
622 %\bicsintabular{خوش‌شکن}{goodbreak}
623 %\bicsintabular{کاغذگراف}{graphpaper}
624 %\bicsintabular{گیومه‌چپ}{guillemotleft}
625 %\bicsintabular{گیومه‌راست}{guillemotright}
626 %\bicsintabular{گیومه‌تکی‌چپ}{guilsinglleft}
627 %\bicsintabular{گیومه‌تکی‌راست}{guilsinglright}
628 %\bicsintabular{ردیف‌ا}{halign}
629 %\bicsintabular{بروتو}{hang}
630 %\bicsintabular{بعدازسطر}{hangafter}
631 %\bicsintabular{تورفتگی‌ثابت}{hangindent}
632 %\bicsintabular{بدنمایی‌ا}{hbadness}
633 %\bicsintabular{کادرا}{hbox}
634 %\bicsintabular{بلندای‌سرصفحه}{headheight}
635 %\bicsintabular{فاصله‌ازسرصفحه}{headsep}
636 %\bicsintabular{سربه‌نام}{headtoname}
637 %\bicsintabular{دل}{heartsuit}
638 %\bicsintabular{بلندا}{height}
639 %\bicsintabular{پرا}{hfil}
640 %\bicsintabular{پررا}{hfill}
641 %\bicsintabular{رفع‌پرا}{hfilneg}
642 %\bicsintabular{پرزافقی}{hfuzz}
643 %\bicsintabular{فاصله‌مخفی}{hideskip}
644 %\bicsintabular{عرض‌پنهان}{hidewidth}
645 %\bicsintabular{خط‌پر}{hline}
646 %\bicsintabular{حاشیه‌ا}{hoffset}
647 %\bicsintabular{حفظ‌درج}{holdinginserts}
648 %\bicsintabular{فاصله‌اگرد}{hrboxsep}
649 %\bicsintabular{خط‌ا}{hrule}
650 %\bicsintabular{پرخط‌ا}{hrulefill}
651 %\bicsintabular{طول‌سطر}{hsize}
652 %\bicsintabular{فاصله‌ا}{hskip}
653 %\bicsintabular{فضای‌ا}{hspace}
654 %\bicsintabular{هردوا}{hss}
655 %\bicsintabular{ارتفاع}{ht}
656 %\bicsintabular{بزرگ}{huge}
657 %\bicsintabular{بزرگ‌تر}{Huge}
658 %\bicsintabular{ابرپیوند}{hyperlink}
659 %\bicsintabular{بارگذاری‌ابر}{hypersetup}
660 %\bicsintabular{هدف‌ابر}{hypertarget}
661 %\bicsintabular{تیره‌بندی}{hyphenation}
662 %\bicsintabular{نویسه‌تیره}{hyphenchar}
663 %\bicsintabular{جریمه‌تیره‌بندی}{hyphenpenalty}
664 %\bicsintabular{@گرکلاس‌فراخوانی‌شده}{@ifclassloaded}
665 %\bicsintabular{@گرترشدنی}{@ifdefinable}
666 %\bicsintabular{@گرنویسه‌بعدی}{@ifnextchar}
667 %\bicsintabular{@گرسبک‌فراخوانی‌شده}{@ifpackageloaded}
668 %\bicsintabular{@گرستاره}{@ifstar}
669 %\bicsintabular{@گرتعریف‌نشده}{@ifundefined}
670 %\bicsintabular{گر}{if}
671 %\bicsintabular{گر@سواقت‌آ}{if@tempswa}
672 %\bicsintabular{گرانواع}{ifcase}
673 %\bicsintabular{گررده}{ifcat}
674 %\bicsintabular{گرتعریف‌شده}{ifdefined}
675 %\bicsintabular{گربعد}{ifdim}
676 %\bicsintabular{گرته‌پرونده}{ifeof}
677 %\bicsintabular{گرر}{iff}
678 %\bicsintabular{گرنادرست}{iffalse}
679 %\bicsintabular{گرپرونده‌موجود}{IfFileExists}
680 %\bicsintabular{گرکادرا}{ifhbox}
681 %\bicsintabular{گرحالت‌ا}{ifhmode}
682 %\bicsintabular{گردرونی}{ifinner}
683 %\bicsintabular{گرحالت‌ریاضی}{ifmmode}
684 %\bicsintabular{گرعدد}{ifnum}
685 %\bicsintabular{گرفرد}{ifodd}
686 %\bicsintabular{گرآنگاه‌دیگر}{ifthenelse}
687 %\bicsintabular{گردرست}{iftrue}
688 %\bicsintabular{گرکادرو}{ifvbox}
689 %\bicsintabular{گرحالت‌و}{ifvmode}
690 %\bicsintabular{گرتهی}{ifvoid}
691 %\bicsintabular{گرتام}{ifx}
692 %\bicsintabular{فاصله‌خالی‌راندیده‌بگیر}{ignorespaces}
693 %\bicsintabular{فوری}{immediate}
694 %\bicsintabular{شامل}{include}
695 %\bicsintabular{درج‌تصویر}{includegraphics}
696 %\bicsintabular{مشمولین}{includeonly}
697 %\bicsintabular{تورفتگی}{indent}
698 %\bicsintabular{درنمایه}{index}
699 %\bicsintabular{استعلام}{indexentry}
700 %\bicsintabular{عنوان‌نمایه}{indexname}
701 %\bicsintabular{فاصله‌رهنما}{indexspace}
702 %\bicsintabular{ورودی}{input}
703 %\bicsintabular{ورودپرونده‌گرموجود}{InputIfFileExists}
704 %\bicsintabular{شماره‌سطرورودی}{inputlineno}
705 %\bicsintabular{درج}{insert}
706 %\bicsintabular{جریمه‌درج}{insertpenalties}
707 %\bicsintabular{جریمه‌بین‌سطرهای‌زیرنویس}{interfootnotelinepenalty}
708 %\bicsintabular{جریمه‌بین‌سطرهای‌نمایش}{interdisplaylinepenalty}
709 %\bicsintabular{جریمه‌بین‌سطرها}{interlinepenalty}
710 %\bicsintabular{متن‌داخلی}{intertext}
711 %\bicsintabular{فاصله‌شناوردرمتن}{intertextsep}
712 %\bicsintabular{مخفی}{invisible}
713 %\bicsintabular{پیش‌فرض‌ای}{itdefault}
714 %\bicsintabular{شکل‌ایتالیک}{itshape}
715 %\bicsintabular{فقره}{item}
716 %\bicsintabular{تورفتگی‌فقره}{itemindent}
717 %\bicsintabular{فاصله‌فقره}{itemsep}
718 %\bicsintabular{تکرارکن}{iterate}
719 %\bicsintabular{شکل‌ای}{itshape}
720 %\bicsintabular{نام‌کار}{jobname}
721 %\bicsintabular{قلپ}{jot}
722 %\bicsintabular{دوری}{kern}
723 %\bicsintabular{الگو}{kill}
724 %\bicsintabular{برچسب}{label}
725 %\bicsintabular{برچسب‌شمارش‌یک}{labelenumi}
726 %\bicsintabular{برچسب‌شمارش‌دو}{labelenumii}
727 %\bicsintabular{برچسب‌شمارش‌سه}{labelenumiii}
728 %\bicsintabular{برچسب‌شمارش‌چهار}{labelenumiv}
729 %\bicsintabular{برچسب‌فقره‌یک}{labelitemi}
730 %\bicsintabular{برچسب‌فقره‌دو}{labelitemii}
731 %\bicsintabular{برچسب‌فقره‌سه}{labelitemiii}
732 %\bicsintabular{برچسب‌فقره‌چهار}{labelitemiv}
733 %\bicsintabular{فاصله‌ازبرچسب}{labelsep}
734 %\bicsintabular{پهنای‌برچسب}{labelwidth}
735 %\bicsintabular{زبان}{language}
736 %\bicsintabular{درشت}{large}
737 %\bicsintabular{درشت‌تر}{Large}
738 %\bicsintabular{درشت‌درشت}{LARGE}
739 %\bicsintabular{آخرین‌کادر}{lastbox}
740 %\bicsintabular{آخرین‌دوری}{lastkern}
741 %\bicsintabular{آخرین‌جریمه}{lastpenalty}
742 %\bicsintabular{آخرین‌فاصله}{lastskip}
743 %\bicsintabular{لاتک}{LaTeX}
744 %\bicsintabular{لاتک‌ای}{LaTeXe}
745 %\bicsintabular{کدکوچک}{lccode}
746 %\bicsintabular{نقاط‌خ}{ldots}
747 %\bicsintabular{نشانگر}{leaders}
748 %\bicsintabular{ترک‌و}{leavevmode}
749 %\bicsintabular{چپ}{left}
750 %\bicsintabular{حاشیه‌چپ}{leftmargin}
751 %\bicsintabular{حاشیه‌چپ‌یک}{leftmargini}
752 %\bicsintabular{حاشیه‌چپ‌دو}{leftmarginii}
753 %\bicsintabular{حاشیه‌چپ‌سه}{leftmarginiii}
754 %\bicsintabular{حاشیه‌چپ‌چهار}{leftmarginiv}
755 %\bicsintabular{حاشیه‌چپ‌پنج}{leftmarginv}
756 %\bicsintabular{حاشیه‌چپ‌شش}{leftmarginvi}
757 %\bicsintabular{علامت‌چپ}{leftmark}
758 %\bicsintabular{کادرتاچپ}{leftpageskip}
759 %\bicsintabular{فاصله‌ابتدای‌سطر}{leftskip}
760 %\bicsintabular{بگذار}{let}
761 %\bicsintabular{سطر}{line}
762 %\bicsintabular{سطرشکن}{linebreak}
763 %\bicsintabular{جریمه‌سطر}{linepenalty}
764 %\bicsintabular{فاصله‌سطرها}{lineskip}
765 %\bicsintabular{حدفاصله‌سطر}{lineskiplimit}
766 %\bicsintabular{کشش‌فاصله‌سطر}{linespread}
767 %\bicsintabular{ضخامت‌خط}{linethickness}
768 %\bicsintabular{پهنای‌سطر}{linewidth}
769 %\bicsintabular{عنوان‌فهرست‌اشکال}{listfigurename}
770 %\bicsintabular{لیست‌پرونده‌ها}{listfiles}
771 %\bicsintabular{فهرست‌اشکال}{listoffigures}
772 %\bicsintabular{فهرست‌جداول}{listoftables}
773 %\bicsintabular{تورفتگی‌بندلیست}{listparindent}
774 %\bicsintabular{عنوان‌فهرست‌جداول}{listtablename}
775 %\bicsintabular{بارکن‌طبقه}{LoadClass}
776 %\bicsintabular{بارکن‌طبقه‌باگزینه}{LoadClassWithOptions}
777 %\bicsintabular{مکان}{location}
778 %\bicsintabular{بلند}{long}
779 %\bicsintabular{حلقه}{loop}
780 %\bicsintabular{گسیختگی}{looseness}
781 %\bicsintabular{انتقال‌بپایین}{lower}
782 %\bicsintabular{@دیگر}{@makeother}
783 %\bicsintabular{@زار}{@m}
784 %\bicsintabular{ده@زار}{@M}
785 %\bicsintabular{ده@زاریک}{@Mi}
786 %\bicsintabular{ده@زاردو}{@Mii}
787 %\bicsintabular{ده@زارسه}{@Miii}
788 %\bicsintabular{ده@زارچهار}{@Miv}
789 %\bicsintabular{بیس@زار}{@MM}
790 %\bicsintabular{من@ا}{m@ne}
791 %\bicsintabular{بزرگ‌نمایی}{mag}
792 %\bicsintabular{گام}{magstep}
793 %\bicsintabular{نیم‌گام}{magstephalf}
794 %\bicsintabular{مطلب‌اصلی}{mainmatter}
795 %\bicsintabular{ات‌حرف}{makeatletter}
796 %\bicsintabular{ات‌دیگر}{makeatother}
797 %\bicsintabular{کادربی‌خط}{makebox}
798 %\bicsintabular{ساخت‌فرهنگ}{makeglossary}
799 %\bicsintabular{تهیه‌نمایه}{makeindex}
800 %\bicsintabular{ساخت‌برچسب}{makelabel}
801 %\bicsintabular{ساخت‌برچسب‌ها}{makelabels}
802 %\bicsintabular{ساخت‌حروف‌کوچک}{MakeLowercase}
803 %\bicsintabular{عنوان‌ساز}{maketitle}
804 %\bicsintabular{ساخت‌حروف‌بزرگ}{MakeUppercase}
805 %\bicsintabular{درحاشیه}{marginpar}
806 %\bicsintabular{فاصله‌دوحاشیه}{marginparpush}
807 %\bicsintabular{فاصله‌تاحاشیه}{marginparsep}
808 %\bicsintabular{پهنای‌حاشیه}{marginparwidth}
809 %\bicsintabular{علامت}{mark}
810 %\bicsintabular{علامت‌دردوطرف}{markboth}
811 %\bicsintabular{علامت‌درراست}{markright}
812 %\bicsintabular{اعراب‌ریاضی}{mathaccent}
813 %\bicsintabular{نویسه‌ریاضی}{mathchar}
814 %\bicsintabular{تعریف‌نویسه‌ریاضی}{mathchardef}
815 %\bicsintabular{کدریاضی}{mathcode}
816 %\bicsintabular{ریاضی‌رومن}{mathrm}
817 %\bicsintabular{حداکثرتکرار}{maxdeadcycles}
818 %\bicsintabular{حداکثرعمق‌صفحه}{maxdepth}
819 %\bicsintabular{بعدبیشین}{maxdimen}
820 %\bicsintabular{کادربی}{mbox}
821 %\bicsintabular{شمایل‌نازک}{mdseries}
822 %\bicsintabular{معنا}{meaning}
823 %\bicsintabular{نازک}{mediumseries}
824 %\bicsintabular{فاصله‌متوسط‌ریاضی}{medmuskip}
825 %\bicsintabular{پرش‌متوسط}{medskip}
826 %\bicsintabular{مقدارپرش‌متوسط}{medskipamount}
827 %\bicsintabular{فضای‌متوسط}{medspace}
828 %\bicsintabular{پیام}{message}
829 %\bicsintabular{پیام‌شکن}{MessageBreak}
830 %\bicsintabular{حداقل‌فاصله‌ردیف}{minrowclearance}
831 %\bicsintabular{دوری‌ریاضی}{mkern}
832 %\bicsintabular{ماه}{month}
833 %\bicsintabular{انتقال‌بچپ}{moveleft}
834 %\bicsintabular{انتقال‌براست}{moveright}
835 %\bicsintabular{فاصله‌ریاضی}{mskip}
836 %\bicsintabular{ری@ضی}{m@th}
837 %\bicsintabular{چندستونی}{multicolumn}
838 %\bicsintabular{ضرب}{multiply}
839 %\bicsintabular{چندادغام}{multispan}
840 %\bicsintabular{میوفاصله}{muskip}
841 %\bicsintabular{تعریف‌میوفاصله}{muskipdef}
842 %\bicsintabular{@ترنام}{@namedef}
843 %\bicsintabular{@کاربردنام}{@nameuse}
844 %\bicsintabular{یک@}{@ne}
845 %\bicsintabular{نام}{name}
846 %\bicsintabular{طبیعی}{natural}
847 %\bicsintabular{باریک}{nearrow}
848 %\bicsintabular{باریکتر}{nearrower}
849 %\bicsintabular{شکلبندی‌موردنیاز}{NeedsTeXFormat}
850 %\bicsintabular{منفی}{neg}
851 %\bicsintabular{فضای‌متوسط‌منفی}{negmedspace}
852 %\bicsintabular{فضای‌ضخیم‌منفی}{negthickspace}
853 %\bicsintabular{دوری‌کوچک‌منفی}{negthinspace}
854 %\bicsintabular{بولی‌نو}{newboolean}
855 %\bicsintabular{کادرجدید}{newbox}
856 %\bicsintabular{فرمان‌نو}{newcommand}
857 %\bicsintabular{شمارجدید}{newcount}
858 %\bicsintabular{شمارنده‌جدید}{newcounter}
859 %\bicsintabular{بعدجدید}{newdimen}
860 %\bicsintabular{محیط‌نو}{newenvironment}
861 %\bicsintabular{خانواده‌جدید}{newfam}
862 %\bicsintabular{قلم‌نو}{newfont}
863 %\bicsintabular{کمک‌جدید}{newhelp}
864 %\bicsintabular{گرجدید}{newif}
865 %\bicsintabular{درج‌جدید}{newinsert}
866 %\bicsintabular{برچسب‌جدید}{newlabel}
867 %\bicsintabular{تعریف‌بعدجدید}{newlength}
868 %\bicsintabular{سطرجدید}{newline}
869 %\bicsintabular{نویسه‌سطرجدید}{newlinechar}
870 %\bicsintabular{میوفاصله‌جدید}{newmuskip}
871 %\bicsintabular{صفحه‌جدید}{newpage}
872 %\bicsintabular{بخوان‌جدید}{newread}
873 %\bicsintabular{تعریف‌کادرجدید}{newsavebox}
874 %\bicsintabular{فاصله‌جدید}{newskip}
875 %\bicsintabular{قضیه‌جدید}{newtheorem}
876 %\bicsintabular{جزءجدید}{newtoks}
877 %\bicsintabular{بنویس‌جدید}{newwrite}
878 %\bicsintabular{بی‌ردیف}{noalign}
879 %\bicsintabular{نشکن}{nobreak}
880 %\bicsintabular{فاصله‌نشکستنی}{nobreakspace}
881 %\bicsintabular{بدون‌سند}{nocite}
882 %\bicsintabular{نگستر}{noexpand}
883 %\bicsintabular{بدون‌پرونده}{nofiles}
884 %\bicsintabular{بدون‌تورفتگی}{noindent}
885 %\bicsintabular{بی‌فاصله‌سطر}{nointerlineskip}
886 %\bicsintabular{بدون‌حد}{nolimits}
887 %\bicsintabular{سطرنشکن}{nolinebreak}
888 %\bicsintabular{پردازش‌بدون‌توقف}{nonstopmode}
889 %\bicsintabular{فواصل‌متعارف‌لاتین}{nonfrenchspacing}
890 %\bicsintabular{بدون‌شماره}{nonumber}
891 %\bicsintabular{صفحه‌نشکن}{nopagebreak}
892 %\bicsintabular{کرسیهای‌متعارف}{normalbaselines}
893 %\bicsintabular{فاصله‌کرسی‌متعارف}{normalbaselineskip}
894 %\bicsintabular{رنگ‌عادی}{normalcolor}
895 %\bicsintabular{قلم‌عادی}{normalfont}
896 %\bicsintabular{فاصله‌سطرمتعارف}{normallineskip}
897 %\bicsintabular{حدفاصله‌سطرمتعارف}{normallineskiplimit}
898 %\bicsintabular{درحاشیه‌عادی}{normalmarginpar}
899 %\bicsintabular{اندازه‌عادی}{normalsize}
900 %\bicsintabular{بدون‌اتیکت}{notag}
901 %\bicsintabular{نول}{null}
902 %\bicsintabular{قلم‌تهی}{nullfont}
903 %\bicsintabular{عدد}{number}
904 %\bicsintabular{سطرعددی}{numberline}
905 %\bicsintabular{شماره‌مطابق}{numberwithin}
906 %\bicsintabular{پایین‌صفحه‌زوج}{@evenfoot}
907 %\bicsintabular{بالای‌صفحه‌زوج}{@evenhead}
908 %\bicsintabular{پایین‌صفحه‌فرد}{@oddfoot}
909 %\bicsintabular{بالای‌صفحه‌فرد}{@oddhead}
910 %\bicsintabular{شماره‌بیرون‌درست}{@outeqntrue}
911 %\bicsintabular{شماره‌بیرون‌نادرست}{@outeqnfalse}
912 %\bicsintabular{سطربه‌سطر}{obeylines}
913 %\bicsintabular{فضافعال}{obeyspaces}
914 %\bicsintabular{حاشیه‌فرد}{oddsidemargin}
915 %\bicsintabular{سطوربی‌فاصله}{offinterlineskip}
916 %\bicsintabular{حذف}{omit}
917 %\bicsintabular{@تنهادرپیش‌درآمد}{@onlypreamble}
918 %\bicsintabular{یک‌ستون}{onecolumn}
919 %\bicsintabular{تنها‌یادداشت‌ها}{onlynotes}
920 %\bicsintabular{تنهااسلایدها}{onlyslides}
921 %\bicsintabular{بازکن‌ورودی}{openin}
922 %\bicsintabular{بازکن‌خروجی}{openout}
923 %\bicsintabular{گزینه‌مصرف‌نشده}{OptionNotUsed}
924 %\bicsintabular{یا}{or}
925 %\bicsintabular{برونی}{outer}
926 %\bicsintabular{صفحه‌بندی}{output}
927 %\bicsintabular{جریمه‌صفحه‌بندی}{outputpenalty}
928 %\bicsintabular{علامت‌سرریز}{overfullrule}
929 %\bicsintabular{@فرمان‌های‌پیش‌درآمد}{@preamblecmds}
930 %\bicsintabular{@پو}{p@}
931 %\bicsintabular{خطای‌سبک}{PackageError}
932 %\bicsintabular{اطلاع‌سبک}{PackageInfo}
933 %\bicsintabular{هشدارسبک}{PackageWarning}
934 %\bicsintabular{هشدارسبک‌بی‌سطر}{PackageWarningNoLine}
935 %\bicsintabular{صفحه‌شکن}{pagebreak}
936 %\bicsintabular{رنگ‌صفحه}{pagecolor}
937 %\bicsintabular{عمق‌صفحه}{pagedepth}
938 %\bicsintabular{کشش‌پرررصفحه}{pagefilllstretch}
939 %\bicsintabular{کشش‌پررصفحه}{pagefillstretch}
940 %\bicsintabular{کشش‌پرصفحه}{pagefilstretch}
941 %\bicsintabular{غایت‌صفحه}{pagegoal}
942 %\bicsintabular{نام‌صفحه}{pagename}
943 %\bicsintabular{شماره‌گذاری‌صفحه}{pagenumbering}
944 %\bicsintabular{رجوع‌صفحه}{pageref}
945 %\bicsintabular{ضخامت‌خط‌صفحه}{pagerulewidth}
946 %\bicsintabular{فشردگی‌صفحه}{pageshrink}
947 %\bicsintabular{کشش‌صفحه}{pagestretch}
948 %\bicsintabular{سبک‌صفحه}{pagestyle}
949 %\bicsintabular{جمع‌صفحه}{pagetotal}
950 %\bicsintabular{بلندای‌کاغذ}{paperheight}
951 %\bicsintabular{پهنای‌کاغذ}{paperwidth}
952 %\bicsintabular{بند}{par}
953 %\bicsintabular{پاراگراف}{paragraph}
954 %\bicsintabular{موازی}{parallel}
955 %\bicsintabular{کادرپار}{parbox}
956 %\bicsintabular{فاصله‌ته‌بند}{parfillskip}
957 %\bicsintabular{تورفتگی‌سربند}{parindent}
958 %\bicsintabular{فاصله‌بندلیست}{parsep}
959 %\bicsintabular{شکل‌بند}{parshape}
960 %\bicsintabular{فاصله‌بند}{parskip}
961 %\bicsintabular{بخش}{part}
962 %\bicsintabular{عنوان‌بخش}{partname}
963 %\bicsintabular{فاصله‌بالای‌لیست‌بند}{partopsep}
964 %\bicsintabular{ارسال‌گزینه‌به‌کلاس}{PassOptionToClass}
965 %\bicsintabular{ارسال‌گزینه‌به‌پکیج}{PassOptionToPackage}
966 %\bicsintabular{مسیر}{path}
967 %\bicsintabular{الگوها}{patterns}
968 %\bicsintabular{مکث}{pausing}
969 %\bicsintabular{جریمه}{penalty}
970 %\bicsintabular{غیب}{phantom}
971 %\bicsintabular{الگوی‌قبلی}{poptabs}
972 %\bicsintabular{جریمه‌پس‌نمایش}{postdisplaypenalty}
973 %\bicsintabular{جهت‌پیش‌نمایش}{predisplaydirection}
974 %\bicsintabular{جریمه‌پیش‌نمایش}{predisplaypenalty}
975 %\bicsintabular{اندازه‌پیش‌نمایش}{predisplaysize}
976 %\bicsintabular{پیش‌حدبدنمایی}{pretolerance}
977 %\bicsintabular{عمق‌قبلی}{prevdepth}
978 %\bicsintabular{بندقبلی}{prevgraf}
979 %\bicsintabular{نمایه‌دراینجا}{printindex}
980 %\bicsintabular{پردازش‌گزینه‌ها}{ProcessOptions}
981 %\bicsintabular{تامین}{protect}
982 %\bicsintabular{تهیه‌فرمان}{providecommand}
983 %\bicsintabular{آماده‌سازی‌طبقه}{ProvidesClass}
984 %\bicsintabular{آماده‌سازی‌پرونده}{ProvidesFile}
985 %\bicsintabular{آماده‌سازی‌سبک}{ProvidesPackage}
986 %\bicsintabular{ثبت‌الگو}{pushtabs}
987 %\bicsintabular{کواد}{quad}
988 %\bicsintabular{کوکواد}{qquad}
989 %\bicsintabular{@بازآیی‌خروج‌صفحه}{@outputpagerestore}
990 %\bicsintabular{رادیکال}{radical}
991 %\bicsintabular{پایین‌بی‌تنظیم}{raggedbottom}
992 %\bicsintabular{تنظیم‌ازراست}{raggedleft}
993 %\bicsintabular{تنظیم‌ازچپ}{raggedright}
994 %\bicsintabular{انتقال‌ببالا}{raise}
995 %\bicsintabular{بالابر}{raisebox}
996 %\bicsintabular{ترفیع‌اتیکت}{raisetag}
997 %\bicsintabular{زاویه‌ر}{rangle}
998 %\bicsintabular{سقف‌ر}{rceil}
999 %\bicsintabular{بخوان}{read}
1000 %\bicsintabular{رجوع}{ref}
1001 %\bicsintabular{کادرقرینه}{reflectbox}
1002 %\bicsintabular{عنوان‌مراجع}{refname}
1003 %\bicsintabular{گام‌شمارنده‌مرجع}{refstepcounter}
1004 %\bicsintabular{راحت}{relax}
1005 %\bicsintabular{رفع‌آخرین‌فاصله}{removelastskip}
1006 %\bicsintabular{فرمان‌ازنو}{renewcommand}
1007 %\bicsintabular{محیط‌ازنو}{renewenvironment}
1008 %\bicsintabular{ازنو}{repeat}
1009 %\bicsintabular{سبک‌موردنیاز}{RequirePackage}
1010 %\bicsintabular{سبک‌موردنیازباگزینه}{RequirePackageWithOptions}
1011 %\bicsintabular{کادرکشیده}{resizebox}
1012 %\bicsintabular{درحاشیه‌معکوس}{reversemarginpar}
1013 %\bicsintabular{کف‌ر}{rfloor}
1014 %\bicsintabular{راست}{right}
1015 %\bicsintabular{حاشیه‌راست}{rightmargin}
1016 %\bicsintabular{علامت‌راست}{rightmark}
1017 %\bicsintabular{کادرتاراست}{rightpageskip}
1018 %\bicsintabular{فاصله‌انتهای‌سطر}{rightskip}
1019 %\bicsintabular{رومن‌عادی}{rmdefault}
1020 %\bicsintabular{فامیل‌رومن}{rmfamily}
1021 %\bicsintabular{رومن‌بزرگ}{Roman}
1022 %\bicsintabular{رومن‌کوچک}{roman}
1023 %\bicsintabular{عددرومی}{romannumeral}
1024 %\bicsintabular{کادرچرخان}{rotatebox}
1025 %\bicsintabular{رنگ‌ردیف}{rowcolor}
1026 %\bicsintabular{خط}{rule}
1027 %\bicsintabular{@دومی‌ازدو}{@secondoftwo}
1028 %\bicsintabular{@فضاها}{@spaces}
1029 %\bicsintabular{همین‌صفحه}{samepage}
1030 %\bicsintabular{مقدارکادر}{savebox}
1031 %\bicsintabular{مقکادر}{sbox}
1032 %\bicsintabular{کادراندازه}{scalebox}
1033 %\bicsintabular{پیش‌فرض‌تمام‌بزرگ}{scdefault}
1034 %\bicsintabular{شکل‌تمام‌بزرگ}{scshape}
1035 %\bicsintabular{قلم‌توان}{scriptfont}
1036 %\bicsintabular{قلم‌توان‌توان}{scriptscriptfont}
1037 %\bicsintabular{سبک‌ته‌نوشت‌ته‌نوشت}{scriptscriptstyle}
1038 %\bicsintabular{اندازه‌پانویس}{scriptsize}
1039 %\bicsintabular{سبک‌ته‌نوشت}{scripstyle}
1040 %\bicsintabular{پردازش‌گذری}{scrollmode}
1041 %\bicsintabular{قسمت}{section}
1042 %\bicsintabular{تعریف‌قسمت}{secdef}
1043 %\bicsintabular{ببینید}{see}
1044 %\bicsintabular{نیزببینید}{seealso}
1045 %\bicsintabular{نام‌ببینید}{seename}
1046 %\bicsintabular{قلم‌بردار}{selectfont}
1047 %\bicsintabular{تنظیم‌بولی}{setboolean}
1048 %\bicsintabular{درکادر}{setbox}
1049 %\bicsintabular{مقدارشمارنده}{setcounter}
1050 %\bicsintabular{مقدارکلیدها}{setkeys}
1051 %\bicsintabular{مقداربعد}{setlength}
1052 %\bicsintabular{تنظیم‌منها}{setminus}
1053 %\bicsintabular{تعریف‌قلم‌علائم}{SetSymbolFont}
1054 %\bicsintabular{تنظیم‌به‌عمق}{settodepth}
1055 %\bicsintabular{تنظیم‌به‌ارتفاع}{settoheight}
1056 %\bicsintabular{مقداربعدبه‌اندازه}{settowidth}
1057 %\bicsintabular{کدضریب‌فاصله}{sfcode}
1058 %\bicsintabular{پیش‌فرض‌س‌ف}{sfdefault}
1059 %\bicsintabular{فامیل‌سن‌سریف}{sffamily}
1060 %\bicsintabular{کادرسایه‌دار}{shadowbox}
1061 %\bicsintabular{تیز}{sharp}
1062 %\bicsintabular{بفرست}{shipout}
1063 %\bicsintabular{پشته‌کوتاه}{shortstack}
1064 %\bicsintabular{نمایش‌بده}{show}
1065 %\bicsintabular{نمایش‌بده‌کادر}{showbox}
1066 %\bicsintabular{میزان‌نمایش‌کادر}{showboxbreadth}
1067 %\bicsintabular{عمق‌نمایش‌کادر}{showboxdepth}
1068 %\bicsintabular{نمایش‌بده‌لیستها}{showlists}
1069 %\bicsintabular{نمایش‌بده‌محتوای}{showthe}
1070 %\bicsintabular{حالت‌ساده‌قلم}{simplefontmode}
1071 %\bicsintabular{شانزد@}{sixt@@n}
1072 %\bicsintabular{نویسه‌اریب}{skewchar}
1073 %\bicsintabular{فاصله}{skip}
1074 %\bicsintabular{فاصل@}{skip@}
1075 %\bicsintabular{تعریف‌فاصله}{skipdef}
1076 %\bicsintabular{خوابیده}{sl}
1077 %\bicsintabular{پیش‌فرض‌خو}{sldefault}
1078 %\bicsintabular{شکل‌خوابیده}{slshape}
1079 %\bicsintabular{راحت‌چین}{sloppy}
1080 %\bicsintabular{شمایل‌خو}{slshape}
1081 %\bicsintabular{کوچک}{small}
1082 %\bicsintabular{پرش‌کوتاه}{smallskip}
1083 %\bicsintabular{مقدارپرش‌کوتاه}{smallskipamount}
1084 %\bicsintabular{کوب}{smash}
1085 %\bicsintabular{لبخند}{smile}
1086 %\bicsintabular{کدمکان‌همانطور}{snglfntlocatecode}
1087 %\bicsintabular{فضا}{space}
1088 %\bicsintabular{ضریب‌فاصله}{spacefactor}
1089 %\bicsintabular{فاصله‌کلمات}{spaceskip}
1090 %\bicsintabular{پیک}{spadesuit}
1091 %\bicsintabular{ادغام}{span}
1092 %\bicsintabular{ویژه}{special}
1093 %\bicsintabular{حداکثرعمق‌ستون}{splitmaxdepth}
1094 %\bicsintabular{فاصله‌بالای‌ستون}{splittopskip}
1095 %\bicsintabular{ستاره}{star}
1096 %\bicsintabular{گام‌شمارنده}{stepcounter}
1097 %\bicsintabular{کشی}{stretch}
1098 %\bicsintabular{رشته}{string}
1099 %\bicsintabular{شمع}{strut}
1100 %\bicsintabular{کادرشمع}{strutbox}
1101 %\bicsintabular{زیربند}{subitem}
1102 %\bicsintabular{زیرپاراگراف}{subparagraph}
1103 %\bicsintabular{زیرقسمت}{subsection}
1104 %\bicsintabular{زیرپشته}{substack}
1105 %\bicsintabular{زیرزیربند}{subsubitem}
1106 %\bicsintabular{زیرزیرقسمت}{subsubsection}
1107 %\bicsintabular{زیرمجموعه}{subset}
1108 %\bicsintabular{زیرمجموعه‌مس}{subseteq}
1109 %\bicsintabular{منتهای‌صفحه}{supereject}
1110 %\bicsintabular{حذف‌مکان‌شناور}{suppressfloats}
1111 %\bicsintabular{@موقت‌آ}{@tempa}
1112 %\bicsintabular{@موقت‌ب}{@tempb}
1113 %\bicsintabular{@موقت‌پ}{@tempc}
1114 %\bicsintabular{@موقت‌ت}{@tempd}
1115 %\bicsintabular{@موقت‌ث}{@tempe}
1116 %\bicsintabular{@کادرقت‌آ}{@tempboxa}
1117 %\bicsintabular{@شماقت‌آ}{@tempcnta}
1118 %\bicsintabular{@شماقت‌ب}{@tempcntb}
1119 %\bicsintabular{@بعدقت‌آ}{@tempdima}
1120 %\bicsintabular{@بعدقت‌ب}{@tempdimb}
1121 %\bicsintabular{@بعدقت‌پ}{@tempdimc}
1122 %\bicsintabular{@فاقت‌آ}{@tempskipa}
1123 %\bicsintabular{@فاقت‌ب}{@tempskipb}
1124 %\bicsintabular{@سواقت‌آنادرست}{@tempswafalse}
1125 %\bicsintabular{@سواقت‌آدرست}{@tempswatrue}
1126 %\bicsintabular{@جزقت‌آ}{@temptokena}
1127 %\bicsintabular{انگ‌زیرنویس}{@thefnmark}
1128 %\bicsintabular{@سومی‌ازسه}{@thirdofthree}
1129 %\bicsintabular{فاصله‌جاگذاری}{tabbingsep}
1130 %\bicsintabular{فاصله‌بین‌ستونها}{tabcolsep}
1131 %\bicsintabular{فهرست‌مطالب}{tableofcontents}
1132 %\bicsintabular{عنوان‌جدول}{tablename}
1133 %\bicsintabular{فاصله‌ستونها}{tabskip}
1134 %\bicsintabular{ته‌سطرجدول}{tabularnewline}
1135 %\bicsintabular{اتیکت}{tag}
1136 %\bicsintabular{تلفن}{telephone}
1137 %\bicsintabular{تک}{TeX}
1138 %\bicsintabular{متن}{text}
1139 %\bicsintabular{گلوله‌متنی}{textbullet}
1140 %\bicsintabular{قلم‌متن}{textfont}
1141 %\bicsintabular{ام‌دش‌متنی}{textemdash}
1142 %\bicsintabular{ان‌دش‌متنی}{textendash}
1143 %\bicsintabular{تعجب‌وارونه‌متنی}{textexclamdown}
1144 %\bicsintabular{نقطه‌وسط‌متنی}{textperiodcentered}
1145 %\bicsintabular{سوال‌وارونه‌متنی}{textquestiondown}
1146 %\bicsintabular{نقل‌چپ‌متنی‌دولا}{textquotedblleft}
1147 %\bicsintabular{نقل‌راست‌متنی‌دولا}{textquotedblright}
1148 %\bicsintabular{نقل‌متنی‌چپ}{textquoteleft}
1149 %\bicsintabular{نقل‌متنی‌راست}{textquoteright}
1150 %\bicsintabular{فضای‌نمایان‌متنی‌}{textvisiblespace}
1151 %\bicsintabular{شکافت‌پشت‌متنی}{textbackslash}
1152 %\bicsintabular{میله‌متنی}{textbar}
1153 %\bicsintabular{بزرگ‌تر‌متنی}{textgreater}
1154 %\bicsintabular{کمتر‌متنی}{textless}
1155 %\bicsintabular{متن‌سیاه}{textbf}
1156 %\bicsintabular{مدور‌متنی}{textcircled}
1157 %\bicsintabular{رنگ‌متن}{textcolor}
1158 %\bicsintabular{نشان‌کلمه‌مرکب‌متن}{textcompwordmark}
1159 %\bicsintabular{فاصله‌متن‌وشناور}{textfloatsep}
1160 %\bicsintabular{نسبت‌متن}{textfraction}
1161 %\bicsintabular{بلندای‌متن}{textheight}
1162 %\bicsintabular{متن‌تورفته}{textindent}
1163 %\bicsintabular{متن‌ایتالیک}{textit}
1164 %\bicsintabular{متن‌نازک}{textmd}
1165 %\bicsintabular{متن‌نرمال}{textnormal}
1166 %\bicsintabular{ثبتی‌متنی}{textregistered}
1167 %\bicsintabular{متن‌رومن}{textrm}
1168 %\bicsintabular{متن‌تمام‌بزرگ}{textsc}
1169 %\bicsintabular{متن‌سن‌سریف}{textsf}
1170 %\bicsintabular{متن‌خوابیده}{textsl}
1171 %\bicsintabular{سبک‌متنی}{textstyle}
1172 %\bicsintabular{بالانویس‌متنی}{textsuperscript}
1173 %\bicsintabular{علامت‌تجاری‌متنی}{texttrademark}
1174 %\bicsintabular{متن‌تایپ}{texttt}
1175 %\bicsintabular{متن‌ایستاده}{textup}
1176 %\bicsintabular{پهنای‌متن}{textwidth}
1177 %\bicsintabular{زیر‌نویس‌عنوان}{thanks}
1178 %\bicsintabular{محتوای}{the}
1179 %\bicsintabular{این‌زیرنویس}{thempfn}
1180 %\bicsintabular{خط‌هاضخیم}{thicklines}
1181 %\bicsintabular{فاصله‌زیادریاضی}{thickmuskip}
1182 %\bicsintabular{فاصله‌کم‌ریاضی}{thinmuskip}
1183 %\bicsintabular{فضاضخیم}{thickspace}
1184 %\bicsintabular{خط‌هانازک}{thinlines}
1185 %\bicsintabular{دوری‌کوچک}{thinspace}
1186 %\bicsintabular{این‌صفحه‌تجملی}{thisfancypage}
1187 %\bicsintabular{سبک‌این‌صفحه}{thispagestyle}
1188 %\bicsintabular{سه@}{thr@@}
1189 %\bicsintabular{مد}{tilde}
1190 %\bicsintabular{ظریف}{tiny}
1191 %\bicsintabular{زمان}{time}
1192 %\bicsintabular{ضرب‌در}{times}
1193 %\bicsintabular{عنوان}{title}
1194 %\bicsintabular{به}{to}
1195 %\bicsintabular{امروز}{today}
1196 %\bicsintabular{جزء}{toks}
1197 %\bicsintabular{تعریف‌جزء}{toksdef}
1198 %\bicsintabular{حدبدنمایی}{tolerance}
1199 %\bicsintabular{بالا}{top}
1200 %\bicsintabular{خط‌بالای‌شناور}{topfigrule}
1201 %\bicsintabular{نسبت‌بالا}{topfraction}
1202 %\bicsintabular{حاشیه‌بالا}{topmargin}
1203 %\bicsintabular{علامت‌بالا}{topmark}
1204 %\bicsintabular{کادرتابالا}{toppageskip}
1205 %\bicsintabular{فاصله‌بالای‌لیست}{topsep}
1206 %\bicsintabular{فاصله‌بالا}{topskip}
1207 %\bicsintabular{بلندای‌کل}{totalheight}
1208 %\bicsintabular{ردگیری‌کل}{tracingall}
1209 %\bicsintabular{ردگیری‌فرامین}{tracingcommands}
1210 %\bicsintabular{ردگیری‌حروف}{tracinglostchars}
1211 %\bicsintabular{ردگیری‌ماکروها}{tracingmacros}
1212 %\bicsintabular{ردگیری‌نمایشی}{tracingonline}
1213 %\bicsintabular{ردگیری‌صفحه‌بندی}{tracingoutput}
1214 %\bicsintabular{ردگیری‌صفحات}{tracingpages}
1215 %\bicsintabular{ردگیری‌بندها}{tracingparagraphs}
1216 %\bicsintabular{ردگیری‌بازگردانی}{tracingrestores}
1217 %\bicsintabular{ردگیری‌آمارها}{tracingstats}
1218 %\bicsintabular{مثلث}{triangle}
1219 %\bicsintabular{پیش‌فرض‌تایپ}{ttdefault}
1220 %\bicsintabular{فامیل‌تایپ}{ttfamily}
1221 %\bicsintabular{دو@}{tw@}
1222 %\bicsintabular{دوستون}{twocolumn}
1223 %\bicsintabular{درنویس}{typein}
1224 %\bicsintabular{برنویس}{typeout}
1225 %\bicsintabular{کدبزرگ}{uccode}
1226 %\bicsintabular{تیره‌بندی‌بزرگ}{uchyph}
1227 %\bicsintabular{تعریف‌نشده}{undefined}
1228 %\bicsintabular{زیرخط}{underline}
1229 %\bicsintabular{بی‌کادرا}{unhbox}
1230 %\bicsintabular{بی‌کپی‌ا}{unhcopy}
1231 %\bicsintabular{واحدطول}{unitlength}
1232 %\bicsintabular{برگشت‌دوری}{unkern}
1233 %\bicsintabular{برگشت‌جریمه}{unpenalty}
1234 %\bicsintabular{برگشت‌فاصله}{unskip}
1235 %\bicsintabular{بی‌کادرو}{unvbox}
1236 %\bicsintabular{بی‌کپی‌و}{unvcopy}
1237 %\bicsintabular{پیش‌فرض‌ایستاده}{updefault}
1238 %\bicsintabular{شکل‌ایستاده}{upshape}
1239 %\bicsintabular{ازکادر}{usebox}
1240 %\bicsintabular{باشمارشگر}{usecounter}
1241 %\bicsintabular{گزینش‌قلم}{usefont}
1242 %\bicsintabular{سبک‌لازم}{usepackage}
1243 %\bicsintabular{@فضاهای‌فعال}{@vobeyspaces}
1244 %\bicsintabular{@تهی}{@void}
1245 %\bicsintabular{تنظیم‌و}{vadjust}
1246 %\bicsintabular{ردیف‌و}{valign}
1247 %\bicsintabular{محتوای‌شمارنده}{value}
1248 %\bicsintabular{بدنمایی‌و}{vbadness}
1249 %\bicsintabular{کادرو}{vbox}
1250 %\bicsintabular{کادروسط}{vcenter}
1251 %\bicsintabular{همانطور}{verb}
1252 %\bicsintabular{پرو}{vfil}
1253 %\bicsintabular{پررو}{vfill}
1254 %\bicsintabular{رفع‌پرو}{vfilneg}
1255 %\bicsintabular{پرزعمودی}{vfuzz}
1256 %\bicsintabular{نمایان}{visible}
1257 %\bicsintabular{خط‌عمود}{vline}
1258 %\bicsintabular{حاشیه‌و}{voffset}
1259 %\bicsintabular{ک@درتهی}{voidb@x}
1260 %\bicsintabular{ارجاع‌صفحه‌ع}{vpageref}
1261 %\bicsintabular{فاصله‌وگرد}{vrboxsep}
1262 %\bicsintabular{ارجاع‌ع}{vref}
1263 %\bicsintabular{خط‌و}{vrule}
1264 %\bicsintabular{طول‌صفحه}{vsize}
1265 %\bicsintabular{فاصله‌و}{vskip}
1266 %\bicsintabular{فضای‌و}{vspace}
1267 %\bicsintabular{شکست‌و}{vsplit}
1268 %\bicsintabular{هردوو}{vss}
1269 %\bicsintabular{کادرگود}{vtop}
1270 %\bicsintabular{عرض}{wd}
1271 %\bicsintabular{مادام‌بکن}{whiledo}
1272 %\bicsintabular{کلاه‌پهن}{widehat}
1273 %\bicsintabular{مدپهن}{widetilde}
1274 %\bicsintabular{جریمه‌ته‌بند}{widowpenalty}
1275 %\bicsintabular{پهنا}{width}
1276 %\bicsintabular{درکارنامه}{wlog}
1277 %\bicsintabular{بنویس}{write}
1278 %\bicsintabular{@فضای‌لاتین}{@xobeysp}
1279 %\bicsintabular{سی@دو}{@xxxii}
1280 %\bicsintabular{ترگع}{xdef}
1281 %\bicsintabular{نشانگرگسترشی}{xleaders}
1282 %\bicsintabular{فاصله‌اضافی‌کلمات}{xspaceskip}
1283 %\bicsintabular{سال}{year}
1284 %\bicsintabular{@فر}{z@}
1285 %\bicsintabular{@فرفاصله}{z@skip}
1286 %\end{supertabular}
1287 %\end{center}
1288 %
1289 %\bigskip
1290 %\begin{center}
1291 %\tablecaption{The Equivalent \XePersian\ Commands\label{xcs}}
1292 %\tablehead
1293 % {\bfseries Command in \XePersian &\bfseries Equivalent Persian Command\\ \hline}
1294 %\tabletail
1295 % {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
1296 %\tablelasttail{\hline}
1297 %\begin{supertabular}{lr}
1298 %\bicsintabular{خط‌زیرنویس‌خودکار}{autofootnoterule}
1299 %\bicsintabular{اعدادفرمولهاخودکار}{AutoMathsDigits}
1300 %\bicsintabular{اعدادفرمولهالاتین}{DefaultMathsDigits}
1301 %\bicsintabular{تعریف‌قلم‌لاتین}{deflatinfont}
1302 %\bicsintabular{تعریف‌قلم‌پارسی}{defpersianfont}
1303 %\bicsintabular{کادراچپ}{hboxL}
1304 %\bicsintabular{کادراست}{hboxR}
1305 %\bicsintabular{معادل@کلید}{keyval@eq@alias@key}
1306 %\bicsintabular{مرجع‌لاتین}{Latincite}
1307 %\bicsintabular{قلم‌لاتین}{latinfont}
1308 %\bicsintabular{امروزلاتین}{latintoday}
1309 %\bicsintabular{خط‌زیرنویس‌چپ}{leftfootnoterule}
1310 %\bicsintabular{متن‌لاتین}{lr}
1311 %\bicsintabular{چپ‌براست}{LRE}
1312 %\bicsintabular{دوستونی‌چپ}{LTRdblcol}
1313 %\bicsintabular{پانویس}{LTRfootnote}
1314 %\bicsintabular{متن‌پانویس}{LTRfootnotetext}
1315 %\bicsintabular{پانویس‌عنوان}{LTRthanks}
1316 %\bicsintabular{قلم‌پارسی}{persianfont}
1317 %\bicsintabular{اعدادفرمولهاپارسی}{PersianMathsDigits}
1318 %\bicsintabular{علامت‌چپ‌نقل‌قول‌پارسی‌}{plq}
1319 %\bicsintabular{علامت‌راست‌نقل‌قول‌پارسی}{prq}
1320 %\bicsintabular{خط‌زیرنویس‌راست}{rightfootnoterule}
1321 %\bicsintabular{متن‌پارسی}{rl}
1322 %\bicsintabular{راست‌بچپ}{RLE}
1323 %\bicsintabular{دوستونی‌راست}{RTLdblcol}
1324 %\bicsintabular{پانوشت}{RTLfootnote}
1325 %\bicsintabular{متن‌پانوشت}{RTLfootnotetext}
1326 %\bicsintabular{پانوشت‌عنوان}{RTLthanks}
1327 %\bicsintabular{@علامت‌بین}{@SepMark}
1328 %\bicsintabular{علامت‌بین}{SepMark}
1329 %\bicsintabular{بگذارمرجوعات‌عادی}{setdefaultbibitems}
1330 %\bicsintabular{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
1331 %\bicsintabular{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
1332 %\bicsintabular{بگذارزیرنویس‌چپ}{setfootnoteLR}
1333 %\bicsintabular{بگذارزیرنویس‌راست}{setfootnoteRL}
1334 %\bicsintabular{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
1335 %\bicsintabular{بگذارمتن‌چپ}{setLTR}
1336 %\bicsintabular{بگذارمرجوعات‌چپ}{setLTRbibitems}
1337 %\bicsintabular{بگذاردرحاشیه‌چپ}{setLTRmarginpar}
1338 %\bicsintabular{بگذارمتن‌راست}{setRTL}
1339 %\bicsintabular{بگذارمرجوعات‌راست}{setRTLbibitems}
1340 %\bicsintabular{بگذاردرحاشیه‌راست}{setRTLmarginpar}
1341 %\bicsintabular{گزینش‌قلم‌متن}{settextfont}
1342 %\bicsintabular{خط‌زیرنویس‌پهنای‌متن}{textwidthfootnoterule}
1343 %\bicsintabular{فهرست‌مطالب‌دوستونی}{twocolumnstableofcontents}
1344 %\bicsintabular{نگذارزیرنویس‌راست}{unsetfootnoteRL}
1345 %\bicsintabular{نگذارمتن‌چپ}{unsetLTR}
1346 %\bicsintabular{نگذارمتن‌راست}{unsetRTL}
1347 %\bicsintabular{کادروازچپ}{vboxL}
1348 %\bicsintabular{کادروازراست}{vboxR}
1349 %\bicsintabular{زی‌لاتک}{XeLaTeX}
1350 %\bicsintabular{زی‌پرشین}{XePersian}
1351 %\bicsintabular{گونه‌زی‌پرشین}{xepersianversion}
1352 %\bicsintabular{تاریخ‌گونه‌زی‌پرشین}{xepersiandate}
1353 %\bicsintabular{زی‌تک}{XeTeX}
1354 %\end{supertabular}
1355 %\end{center}
1356 %
1357 %\bigskip
1358 %\begin{center}
1359 %\tablecaption{The Equivalent \LaTeX\ Environments\label{lenv}}
1360 %\tablehead
1361 % {\bfseries Environment in \LaTeX\ &\bfseries Equivalent Persian Environment\\ \hline}
1362 %\tabletail
1363 % {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
1364 %\tablelasttail{\hline}
1365 %\begin{supertabular}{lr}
1366 %\bienvintabular{چکیده}{abstract}
1367 %\bienvintabular{پیوست}{appendix}
1368 %\bienvintabular{آرایه}{array}
1369 %\bienvintabular{وسط‌چین}{center}
1370 %\bienvintabular{توضیح}{description}
1371 %\bienvintabular{ریاضی‌نمایشی}{displaymath}
1372 %\bienvintabular{نوشتار}{document}
1373 %\bienvintabular{شمارش}{enumerate}
1374 %\bienvintabular{شکل}{figure}
1375 %\bienvintabular{شکل*}{figure*}
1376 %\bienvintabular{محتوای‌پرونده}{filecontents}
1377 %\bienvintabular{محتوای‌پرونده*}{filecontents*}
1378 %\bienvintabular{چپ‌چین}{flushleft}
1379 %\bienvintabular{راست‌چین}{flushright}
1380 %\bienvintabular{فقرات}{itemize}
1381 %\bienvintabular{نامه}{letter}
1382 %\bienvintabular{لیست}{list}
1383 %\bienvintabular{جدول‌دراز}{longtable}
1384 %\bienvintabular{کادررچ}{lrbox}
1385 %\bienvintabular{ریاضی}{math}
1386 %\bienvintabular{ماتریس}{matrix}
1387 %\bienvintabular{صفحه‌کوچک}{minipage}
1388 %\bienvintabular{چندستونی‌ها}{multicols}
1389 %\bienvintabular{چندخطی}{multline}
1390 %\bienvintabular{یادداشت}{note}
1391 %\bienvintabular{انباشتن}{overlay}
1392 %\bienvintabular{تصویر}{picture}
1393 %\bienvintabular{اقتباس}{quotation}
1394 %\bienvintabular{نقل}{quote}
1395 %\bienvintabular{اسلاید}{slide}
1396 %\bienvintabular{پارنامرتب}{sloppypar}
1397 %\bienvintabular{شکافتن}{split}
1398 %\bienvintabular{زیرآرایه}{subarray}
1399 %\bienvintabular{جاگذاری}{tabbing}
1400 %\bienvintabular{لوح}{table}
1401 %\bienvintabular{لوح*}{table*}
1402 %\bienvintabular{جدول}{tabular}
1403 %\bienvintabular{جدول*}{tabular*}
1404 %\bienvintabular{مراجع}{thebibliography}
1405 %\bienvintabular{محتوای‌نمایه}{theindex}
1406 %\bienvintabular{صفحه‌عنوان}{titlepage}
1407 %\bienvintabular{لیست‌بدوی}{trivlist}
1408 %\bienvintabular{همانطورکه‌هست}{verbatim}
1409 %\bienvintabular{همانطورکه‌هست*}{verbatim*}
1410 %\bienvintabular{شعر}{verse}
1411 %\end{supertabular}
1412 %\end{center}
1413 %
1414 %\bigskip
1415 %\begin{center}
1416 %\tablecaption{The Equivalent \XePersian\ Environments\label{xenv}}
1417 %\tablehead
1418 % {\bfseries Environment in \XePersian\ &\bfseries Equivalent Persian Environment\\ \hline}
1419 %\tabletail
1420 % {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
1421 %\tablelasttail{\hline}
1422 %\begin{supertabular}{lr}
1423 %\bienvintabular{لاتین}{latin}
1424 %\bienvintabular{متن‌چپ}{LTR}
1425 %\bienvintabular{دسته‌بندی‌چپ}{LTRitems}
1426 %\bienvintabular{پارسی}{persian}
1427 %\bienvintabular{متن‌راست}{RTL}
1428 %\bienvintabular{دسته‌بندی‌راست}{RTLitems}
1429 %\end{supertabular}
1430 %\end{center}
1431 %\paragraph{Localisation of postion arguments.}
1432 % Some environments like \texttt{tabular} and some commands like \Lcs{parbox} have an argument which specifies the position. Table \autoref{table-pos} shows their localisations.
1433 %\begin{center}
1434 %\tablecaption{The Equivalent \LaTeX{} position arguments\label{table-pos}}
1435 %\tablehead
1436 % {\bfseries Position argument in \LaTeX &\bfseries Equivalent Persian position argument\\ \hline}
1437 %\tabletail
1438 % {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
1439 %\tablelasttail{\hline}
1440 %\begin{supertabular}{cc}
1441 %\texttt{b}&\Penv{ز}\\
1442 %\texttt{c}&\Penv{و}\\
1443 %\texttt{C}&\Penv{س}\\
1444 %\texttt{h}&\Penv{ا}\\
1445 %\texttt{H}&\Penv{آ}\\
1446 %\texttt{J}&\Penv{ت}\\
1447 %\texttt{l}&\Penv{چ}\\
1448 %\texttt{L}&\Penv{ف}\\
1449 %\texttt{m}&\Penv{م}\\
1450 %\texttt{p}&\Penv{پ}\\
1451 %\texttt{p}&\Penv{ص}\\
1452 %\texttt{r}&\Penv{ر}\\
1453 %\texttt{R}&\Penv{ا}\\
1454 %\texttt{s}&\Penv{ک}\\
1455 %\texttt{t}&\Penv{ب}\\
1456 %\end{supertabular}
1457 %\end{center}
1458 %\begin{itemize}
1459 %\item There are two \texttt{p}s in \autoref{table-pos}, first \texttt{p} and its Persian equivalent \Penv{پ} stand for paragraph (used in \texttt{tabular} and similar environments) and the second \texttt{p} and its Persian equivalent \Penv{ص} stand for page (used in \texttt{float}-like environments).
1460 %\end{itemize}
1461 %\subsubsection{Localizations of the keys and key values of \textsf{graphicx} package}
1462 %The equivalent Persian keys and key values of \textsf{graphicx} package is shown in \autoref{table:key} and \autoref{table:keyvalue} respectively.
1463 %\begin{center}
1464 %\tablecaption{Persian Equivalent keys of \textsf{graphicx} package\label{table:key}}
1465 %\tablehead
1466 % {\bfseries Original Key &\bfseries Equivalent Persian Key\\ \hline}
1467 %\tabletail
1468 % {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
1469 %\tablelasttail{\hline}
1470 %\begin{supertabular}{lr}
1471 %\texttt{draft}&\Penv{پیش‌نویس}\\
1472 %\texttt{origin}&\Penv{مبدا}\\
1473 %\texttt{clip}&\Penv{بی‌اضافه}\\
1474 %\texttt{keepaspectratio}&\Penv{حفظ‌تناسب}\\
1475 %\texttt{natwidth}&\Penv{پهنای‌طبیعی}\\
1476 %\texttt{natheight}&\Penv{بلندای‌طبیعی}\\
1477 %\texttt{bb}&\Penv{مختصات}\\
1478 %\texttt{viewport}&\Penv{محدوده‌نمایش}\\
1479 %\texttt{trim}&\Penv{حذف‌اطراف}\\
1480 %\texttt{angle}&\Penv{زاویه}\\
1481 %\texttt{width}&\Penv{پهنا}\\
1482 %\texttt{height}&\Penv{بلندا}\\
1483 %\texttt{totalheight}&\Penv{بلندای‌کل}\\
1484 %\texttt{scale}&\Penv{ضریب}\\
1485 %\texttt{type}&\Penv{نوع}\\
1486 %\texttt{ext}&\Penv{پسوند}\\
1487 %\texttt{read}&\Penv{خواندنی}\\
1488 %\texttt{command}&\Penv{فرمان}\\
1489 %\texttt{x}&\Penv{طول}\\
1490 %\texttt{y}&\Penv{عرض}\\
1491 %\texttt{units}&\Penv{واحد}\\
1492 %\end{supertabular}
1493 %\end{center}
1494 %\begin{center}
1495 %\tablecaption{Persian Equivalent key values of \textsf{graphicx} package\label{table:keyvalue}}
1496 %\tablehead
1497 % {\bfseries Original Key value&\bfseries Equivalent Persian Key value\\ \hline}
1498 %\tabletail
1499 % {\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
1500 %\tablelasttail{\hline}
1501 %\begin{supertabular}{cc}
1502 %\texttt{b}&\Penv{ز}\\
1503 %\texttt{B}&\Penv{ک}\\
1504 %\texttt{false}&\Penv{نادرست}\\
1505 %\texttt{l}&\Penv{چ}\\
1506 %\texttt{r}&\Penv{ر}\\
1507 %\texttt{t}&\Penv{ب}\\
1508 %\texttt{true}&\Penv{درست}\\
1509 %\end{supertabular}
1510 %\end{center}
1511 %\subsection{A Sample Input \TeX\ File}
1512 %\begin{lstlisting}[morekeywords={settextfont,maketitle,tableofcontents,subsection,subsubsection,part}]
1513 %\documentclass{article}
1514 %\usepackage{xepersian}
1515 %\settextfont{XB Niloofar}
1516 %\title{*\parsitext{یک سند نمونه}*}
1517 %\author{*\parsitext{نام نویسنده}*}
1518 %\begin{document}
1519 %\maketitle
1520 %\tableofcontents
1521 %\part{*\parsitext{عنوان بخش}*}
1522 %...
1523 %\section{*\parsitext{عنوان قسمت}*}
1524 %...
1525 %\subsection{*\parsitext{عنوان زیرقسمت}*}
1526 %...
1527 %\subsubsection{*\parsitext{عنوان زیر زیرقسمت}*}
1528 %...
1529 %\end{document}
1530 %\end{lstlisting}
1531 %\subsection{Font Commands}
1532 %\subsubsection{Basic Font Commands}
1533 %\begin{BDef}
1534 %\Lcs{settextfont}\OptArgs\Largb{\Larga{font name}}\\
1535 %\Lcs{setlatintextfont}\OptArgs\Largb{\Larga{font name}}\\
1536 %\Lcs{setdigitfont}\OptArgs\Largb{\Larga{font name}}\\
1537 %\Lcs{setmathsfdigitfont}\OptArgs\Largb{\Larga{font name}}\\
1538 %\Lcs{setmathttdigitfont}\OptArgs\Largb{\Larga{font name}}
1539 %\end{BDef}
1540 %\begin{itemize}
1541 %\item Options in any font command in this documentation are anything that \textsf{fontspec} package provides as the option of loading fonts, except \texttt{Script} and \texttt{Mapping}.
1542 %\item \Lcs{settextfont} will choose the default font for Persian texts of your document. If you do not use this command at all, the \textsf{Persian Modern}\footnote{You do not need to install \textsf{Persian Modern} fonts since they are already included in your TeX distribution.} font will be used for Persian texts of your document.
1543 %\item \Lcs{setlatintextfont} will choose the font for Latin texts of your document. If you do not use this command at all, the default \TeX\ font (fonts used in this documentation) will be used for Latin texts of your document.
1544 %\item \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form and if you do not use this command at all, the \textsf{Persian Modern} font for digits in math mode will be used.
1545 %\item \Lcs{setmathsfdigitfont} will choose the Persian font for digits in math mode inside \Lcs{mathsf}. By using this command, digits in math mode inside \Lcs{mathsf} will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode inside \Lcs{mathsf} and digits appear in their original form (Western).
1546 %\item \Lcs{setmathttdigitfont} will choose the Persian font for digits in math mode inside \Lcs{mathtt}. By using this command, digits in math mode inside \Lcs{mathtt} will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode inside \Lcs{mathtt} and digits appear in their original form (Western).
1547 %\end{itemize}
1548 %\subsubsection{Defining Extra Persian and Latin Fonts}
1549 %\begin{BDef}
1550 %\Lcs{defpersianfont}\Lcs{CS}\OptArgs\Largb{\Larga{font name}}\\
1551 %\Lcs{deflatinfont}\Lcs{CS}\OptArgs\Largb{\Larga{font name}}
1552 %\end{BDef}
1553 %\begin{itemize}
1554 %\item With \Lcs{defpersianfont}, you can define extra Persian fonts.
1555 %\begin{lstlisting}[numbers=none,morekeywords={defpersianfont,Nastaliq}]
1556 %\defpersianfont\Nastaliq[Scale=1]{IranNastaliq}
1557 %\end{lstlisting}
1558 %In this example, we define \Lcs{Nastaliq} to stand for Nastaliq font.
1559 %\item With \Lcs{deflatinfont}, you can define extra Latin fonts.
1560 %\begin{lstlisting}[numbers=none,morekeywords={deflatinfont,junicode}]
1561 %\deflatinfont\junicode[Scale=1]{Junicode}
1562 %\end{lstlisting}
1563 %In this example, we define \Lcs{Junicode} to stand for Junicode font.
1564 %\end{itemize}
1565 %\subsubsection{Choosing Persian Sans Font}
1566 %\begin{BDef}
1567 %\Lcs{setpersiansansfont}\OptArgs\Largb{\Larga{font name}}\\
1568 %\Lcs{persiansffamily}\quad\Lcs{textpersiansf}\Largb{\Larga{text}}
1569 %\end{BDef}
1570 %\subsubsection{Choosing Persian Mono Font}
1571 %\begin{BDef}
1572 %\Lcs{setpersianmonofont}\OptArgs\Largb{\Larga{font name}}\\
1573 %\Lcs{persianttfamily}\quad\Lcs{textpersiantt}\Largb{\Larga{text}}
1574 %\end{BDef}
1575 %\subsubsection{Choosing Persian Iranic Font}
1576 %\marginpar{If you do not use \Lcs{setiranicfont} command at all, the \textsf{Persian Modern} font will be used.}
1577 %\begin{BDef}
1578 %\Lcs{setiranicfont}\OptArgs\Largb{\Larga{font name}}\\
1579 %\Lcs{iranicfamily}\quad\Lcs{textiranic}\Largb{\Larga{text}}
1580 %\end{BDef}
1581 %\subsubsection{Choosing Persian Navar Font}
1582 %\begin{BDef}
1583 %\Lcs{setnavarfont}\OptArgs\Largb{\Larga{font name}}\\
1584 %\Lcs{navarfamily}\quad\Lcs{textnavar}\Largb{\Larga{text}}
1585 %\end{BDef}
1586 %\subsubsection{Choosing Persian Pook Font}
1587 %\marginpar{If you do not use \Lcs{setpookfont} command at all, the \textsf{Persian Modern} font will be used.}
1588 %\begin{BDef}
1589 %\Lcs{setpookfont}\OptArgs\Largb{\Larga{font name}}\\
1590 %\Lcs{pookfamily}\quad\Lcs{textpook}\Largb{\Larga{text}}
1591 %\end{BDef}
1592 %
1593 %\subsubsection{Choosing Persian Sayeh Font}
1594 %\marginpar{If you do not use \Lcs{setsayehfont} command at all, the \textsf{Persian Modern} font will be used.}
1595 %\begin{BDef}
1596 %\Lcs{setsayehfont}\OptArgs\Largb{\Larga{font name}}\\
1597 %\Lcs{sayehfamily}\quad\Lcs{textsayeh}\Largb{\Larga{text}}
1598 %\end{BDef}
1599 %
1600 %\subsubsection{Choosing Latin Sans Font}
1601 %\begin{BDef}
1602 %\Lcs{setlatinsansfont}\OptArgs\Largb{\Larga{font name}}\\
1603 %\Lcs{sffamily}\quad\Lcs{textsf}\Largb{\Larga{text}}
1604 %\end{BDef}
1605 %\subsubsection{Choosing Latin Mono Font}
1606 %\begin{BDef}
1607 %\Lcs{setlatinmonofont}\OptArgs\Largb{\Larga{font name}}\\
1608 %\Lcs{ttfamily}\quad\Lcs{texttt}\Largb{\Larga{text}}
1609 %\end{BDef}
1610 %\section{Latin and Persian Environment}
1611 %\begin{BDef}
1612 %\LBEG{latin}\quad\Larga{text}\quad\LEND{latin}\\
1613 %\LBEG{persian}\quad\Larga{text}\quad\LEND{persian}
1614 %\end{BDef}
1615 %\begin{itemize}
1616 %\item \texttt{latin} environment both changes direction of the paragraphs to LTR and font to Latin font.
1617 %\item \texttt{persian} environment both changes direction of the Paragraphs to RTL and font to Persian font.
1618 %\end{itemize}
1619 %
1620 %\subsection{Short Latin and Persian Texts}
1621 %\begin{BDef}
1622 %\Lcs{lr}\Largb{\Larga{text}}\quad\Lcs{rl}\Largb{\Larga{text}}
1623 %\end{BDef}
1624 %\begin{itemize}
1625 %\item With \Lcs{lr} command, you can typeset short LTR texts.
1626 %\item With \Lcs{rl} command, you can typeset short RTL texts.
1627 %\end{itemize}
1628 %\subsection{Miscellaneous Commands}
1629 %\begin{BDef}
1630 %\Lcs{today}\quad\Lcs{latintoday}\quad\Lcs{twocolumnstableofcontents}\quad\Lcs{XePersian}\\
1631 %\Lcs{plq}\quad\Lcs{prq}
1632 %\end{BDef}
1633 %\begin{itemize}
1634 %\item \Lcs{today} typesets current Persian date and \Lcs{latintoday} typesets current Latin date.
1635 %\item \Lcs{twocolumnstableofcontents} typesets table of contents in two columns. This requires that you have loaded \textsf{multicol} package before \textsf{\XePersian} package, otherwise an error will be issued.
1636 %\item \Lcs{XePersian} typesets \XePersian's logo.
1637 %\item \Lcs{plq} and \Lcs{prq} typeset Persian left quote and Persian right quote respectively.
1638 %\end{itemize}
1639 %\subsection{New Commands}
1640 %\begin{BDef}
1641 %\Lcs{Latincite}
1642 %\end{BDef}
1643 %\begin{itemize}
1644 %\item\Lcs{Latincite} functions exactly like \Lcs{cite} command with only one difference; the reference to biblabel item is printed in Latin font in the text.
1645 %\end{itemize}
1646 %\subsection{Additional Counters}
1647 %\XePersian\ defines several additional counters to what already \LaTeX\ offers. These counters are \texttt{harfi}, \texttt{adadi}, and \texttt{tartibi}. In addition, the following commands are also provided:
1648 %
1649 %\begin{BDef}
1650 %\Lcs{harfinumeral}\Largb{\Larga{integer}}\quad\Lcs{adadinumeral}\Largb{\Larga{integer}}\quad\Lcs{tartibinumeral}\Largb{\Larga{integer}}\quad
1651 %\end{BDef}
1652 %\begin{itemize}
1653 %\item The range of \texttt{harfi} counter is integers between 1 and 32 (number of the Persian alphabets) and \texttt{adadi} and \texttt{harfi} counters, are integers between 0 and 999,999,999.
1654 %\item For \texttt{harfi} counter, if you give an integer bigger than 32 or a negative integer (if you give integer 0, it returns nothing), then you get error and for \texttt{adadi} and \texttt{tartibi} counters, if you give an integer bigger than 999,999,999, then you get an error message.
1655 %\item For \texttt{adadi} and \texttt{tartibi} counters, if you give an integer less than 0 (a negative integer), then \texttt{adadi} and \texttt{tartibi} counters return \textbf{adadi} and \textbf{tartibi} form of the integer 0, respectively.
1656 %\item \Lcs{harfinumeral} returns the \textbf{harfi} form of \Larga{integer}, where $1\leq integer\leq32$ and \Lcs{adadinumeral}, and \Lcs{tartibinumeral} return \textbf{adadi}, and \textbf{tartibi} form of \Larga{integer} respectively, where $0\leq integer\leq 999,999,999$.
1657 %\end{itemize}
1658 %\subsection{Things To Know About \Lcs{setdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}}
1659 %\begin{BDef}
1660 %\Lcs{DefaultMathsDigits}\quad\Lcs{PersianMathsDigits}\quad\Lcs{AutoMathsDigits}
1661 %\end{BDef}
1662 %\begin{itemize}
1663 % \item As we discussed before, \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form and if you do not use this command at all, the \textsf{Persian Modern} font for digits in math mode will be used.
1664 %\item As we discussed before, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont} will choose the Persian sans serif and typewriter fonts for digits in math mode. By using this command, digits in math mode will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode and digits appear in their original form (Western).
1665 %
1666 %If you use \Lcs{setdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}, then you should know that:
1667 %\begin{itemize}
1668 %\item By default, \Lcs{AutoMathsDigits} is active, which means that in Persian mode, you get Persian digits in math mode and in Latin mode, you get \TeX's default font and digits in math mode.
1669 %\item If you use \Lcs{PersianMathsDigits} anywhere, you will overwrite \XePersian's default behaviour and you will always get Persian digits in math mode.
1670 %\item If you use \Lcs{DefaultMathsDigits} anywhere, again you will overwrite \XePersian's default behaviour and you will always get \TeX's default font and digits in math mode.
1671 %\end{itemize}
1672 %\end{itemize}
1673 %\section{New Conditionals}
1674 %\subsection{Shell escape (or write18) conditional}
1675 %\begin{BDef}
1676 %\Lcs{ifwritexviii}\\
1677 %\qquad\textcolor{myred}{\Larga{material when Shell escape (or write18) is enabled}}\\
1678 %\Lcs{else}\\
1679 %\qquad\textcolor{myred}{\Larga{material when Shell escape (or write18) is not enabled}}\\
1680 %\Lcs{fi}
1681 %\end{BDef}
1682 %\section{Bilingual Captions}
1683 %\XePersian\ sets caption bilingually. This means if you are in RTL mode, you get Persian caption and if you are in LTR mode, you get English caption.
1684 %\subsection{Support For Various Packages}
1685 %In addition to what \textsf{bidi} package supports, \XePersian\ also support a few packages. This support is more about language aspect rather than directionality. These packages are \textsf{algorithmic}, \textsf{algorithm},\textsf{enumerate}, and \textsf{backref} packages.
1686 %
1687 %\subsubsection{Things You Should Know about Support For \textsf{enumerate} Package}
1688 %The \textsf{enumerate} package gives the enumerate environment an optional argument
1689 %which determines the style in which the counter is printed.
1690 %
1691 %An occurrence of one of the tokens \texttt{A}, \texttt{a}, \texttt{I}, \texttt{i}, or \texttt{1} produces the value
1692 %of the counter printed with (respectively) \Lcs{Alph}, \Lcs{alph}, \Lcs{Roman}, \Lcs{roman} or
1693 %\Lcs{arabic}.
1694 %
1695 %In addition with the extra support that \XePersian\ provides, an occurrence of one of the tokens \Penv{ا}, \Penv{ی}, or \Penv{ت} produces the value of the counter printed with (respectively) \Lcs{harfi}, \Lcs{adadi}, or \Lcs{tartibi}.
1696 %
1697 %These letters may be surrounded by any strings involving any other \TeX\
1698 %expressions, however the tokens \texttt{A}, \texttt{a}, \texttt{I}, \texttt{i}, \texttt{1}, \Penv{ا}, \Penv{ی}, \Penv{ت} must be inside a \Largb{} group if
1699 %they are not to be taken as special.
1700 %
1701 %To see an Example, please look at \textsf{enumerate} package documentation.
1702 %\subsection{Index Generation}
1703 %For generating index, you are advised to use \textsf{xindy} program, any other program such as \textsf{makeindex} is not recommended.
1704 %
1705 %
1706 %
1707 %\subsection{Converting Your Farsi\TeX\ Files To \XePersian\ or Unicode}
1708 %There is a python program written by Mostafa Vahedi that enables you to convert Farsi\TeX\ files to \XePersian\ or unicode. This program can be found in \textsf{doc} folder with the name \texttt{ftxe-0.11.py}. To convert your Farsi\TeX\ files to \XePersian, put \texttt{ftxe-0.11.py} in the same directory that your Farsi\TeX\ file is, and then open a terminal/command prompt and do the following:
1709 %
1710 %\begin{BDef}\ttfamily
1711 %python ftxe-0.11.py file.ftx file.tex
1712 %\end{BDef}
1713 %
1714 %This will convert your \texttt{file.ftx} (Farsi\TeX\ file) to \texttt{file.tex} (\XePersian\ file).
1715 %
1716 %The general syntax syntax of using the python script is as follow:
1717 %\begin{BDef}\ttfamily
1718 %python ftxe-0.11.py [-r] [-s] [-x] [-u] input-filename1 input-filename2
1719 %\end{BDef}
1720 %Where
1721 %\begin{description}
1722 %\item[\texttt{-r}] (DEFAULT) recursively consider files included in the given files
1723 %\item[\texttt{-s}] do not recursively consider files
1724 %\item[\texttt{-x}] (DEFAULT) insert \XePersian\ related commands
1725 %\item[\texttt{-u}] only convert to unicode (and not to \XePersian)
1726 %\end{description}
1727 %
1728 %Please note that the python script will not work with versions of python later than 2.6. So you are encouraged to use version 2.6 of python to benefit from this python script.
1729 %
1730 %\section{Extra Packages And Classes}
1731 %\subsection{Magazine Typesetting}
1732 %\subsubsection{Introduction}
1733 %\textsf{xepersian-magazine} class allows you to create magazines, newspapers and any other types of papers. The output document has a front page and as many inner pages as desired. Articles appear one after another, telling the type, number of columns, heading, subheading, images, author and so forth. It is possible to change the aspect of (almost) everything therefore it is highly customisable. Commands to add different titles, headings and footers are also provided.
1734 %\subsubsection{Usage}
1735 %To create\footnote{For a sample file, please look at \texttt{magazine-sample.tex} in the \textsf{doc} folder} a magazine just load the class as usual\footnote{You also need to load \textsf{graphicx}, \textsf{xunicode} and \textsf{xepersian} packages respectively, after loading the document class and choose fonts for the main text, Latin text and digits in maths formulas. For more detail see \autoref{basics} of the documentation.}, with
1736 %\begin{BDef}
1737 %\Lcs{documentclass}\OptArgs\Largb{xepersian-magazine}
1738 %\end{BDef}
1739 %at the beginning of your source file. The class options are described in \autoref{s-options}.
1740 %
1741 %From this point it is possible to include packages and renew class commands described in \autoref{s-custom}.
1742 %\subsubsection{Front Page}
1743 %As every magazine, \textsf{xepersian-magazine} has its own front page. It includes main headings, an index, the magazine logo and other useful information. This environment should be the first you use within \textsf{xepersian-magazine} class but it is not mandatory.
1744 %
1745 %\begin{BDef}
1746 %\Lcs{firstimage}\quad\Lcs{firstarticle}
1747 %\end{BDef}
1748 %The first two commands you can use inside the \texttt{frontpage} environment are \Lcs{firstimage} and \Lcs{firstarticle} which include, respectively, the main image and the main heading in the front page. The first one takes two arguments \Larga{image} and \Larga{description}. Notice that second argument is optional and it declares the image caption; \Larga{image} defines the relative path to the image. In order to include the first piece of article use
1749 %\begin{BDef}
1750 %\Lcs{firstarticle}\Largb{\Larga{title}}\Largb{\Larga{opening}}\Largb{\Larga{time}}
1751 %\end{BDef}
1752 %first two arguments are mandatory and represent heading and the opening paragraph. Last argument is optional (you can leave it blank) and indicates the time when article happened.
1753 %\begin{BDef}
1754 %\Lcs{secondarticle}
1755 %\end{BDef}
1756 %The second piece of article is included using the command \Lcs{secondarticle} just as the first article. The main difference are that this second piece has two more arguments and it does not include an image.
1757 %
1758 %\begin{BDef}
1759 %\Lcs{secondarticle}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}\Largb{\Larga{opening}}\Largb{\Larga{pagesof}}\Largb{\Larga{time}}
1760 %\end{BDef}
1761 %The new arguments \Larga{subtitle} and \Larga{pagesof} define a subtitle and the name of the section for this piece of article.
1762 %
1763 %\begin{BDef}
1764 %\Lcs{thirdarticle}
1765 %\end{BDef}
1766 %The third piece of article is the last one in the \textsf{xepersian-magazine} front page. It works like the \Lcs{secondarticle}.
1767 %\begin{BDef}
1768 %\Lcs{thirdarticle}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}\Largb{\Larga{opening}}%
1769 %\Largb{\Larga{pagesof}}\Largb{\Larga{time}}
1770 %\end{BDef}
1771 %The arguments meaning is the same as \Lcs{secondarticle} command.
1772 %
1773 %The front page includes three information blocks besides the news: \texttt{indexblock} which contains the index, \texttt{authorblock} which includes information about the author and a \texttt{weatherblock} containing a weather forecast. All these three environments are mostly a frame in the front page therefore they can be redefined to fit your personal wishes but I kept them to give an example and to respec the original \textsf{xepersian-magazine} format.
1774 %
1775 %\begin{BDef}
1776 %\Lcs{indexitem}
1777 %\end{BDef}
1778 %The \texttt{indexblock} environment contains a manually editted index of \textsf{xepersian-magazine}. It takes one optional argument \Larga{title} and places a title over the index block. To add entries inside the index just type
1779 %\begin{BDef}
1780 %\Lcs{indexitem}\Largb{\Larga{title}}\Largb{\Larga{reference}}
1781 %\end{BDef}
1782 %inside the environment. The \Larga{title} is the index entry text and the \Larga{reference} points to a article inside \textsf{xepersian-magazine}. It will be more clear when you read \autoref{sub-1}. In order to get a correct output, it is necessary to leave a blank line between index items.
1783 %
1784 %The \texttt{authorblock} environment can include whatever you would like. I called it \texttt{authorblock} because I think it is nice to include some author reference in the front page: who you are, why are you doing this... This environment creates a frame box in the bottom right corner of the front page with your own logo at the top.
1785 %
1786 %\begin{BDef}
1787 %\Lcs{weatheritem}
1788 %\end{BDef}
1789 %Finally, the \texttt{weatherblock} lets you include a weather forecast. It takes one optional argument \Larga{title} that places a title over the weather block. It can
1790 % fit up to three weather icons with maximum and minimum temperatures,
1791 % description and name. To add each of the weather entries type the following
1792 %
1793 %\begin{BDef}
1794 %\Lcs{weatheritem}\Largb{\Larga{image}}\Largb{\Larga{day-name}}\Largb{\Larga{max}}%
1795 %\Largb{\Larga{min}}\Largb{\Larga{short-des}}
1796 %\end{BDef}
1797 %
1798 %The first argument includes the path to the weather icon (i.e. sunny or rainy), \Larga{day-name} like Monday, \Larga{max} and \Larga{min} are the highest and lowest day temperatures and \Larga{short-des} is a brief description of the weather condition: partly cloudy, sunny and windy \ldots
1799 %\subsubsection{Inside\label{sub-1}}
1800 %Once we have created the front page we should include all articles inside our magazine. \textsf{xepersian-magazine} arranges all articles one after each other, expanding headings all over the page and splitting the article text in the number of columns we wish. There are three different environments to define a piece of article: the \texttt{article} environment described in \autoref{subsub-1}, the \texttt{editorial} environment \autoref{subsub-2} for opinion articles and the \texttt{shortarticle} environment explained in \autoref{subsub-3}.
1801 %\subsubsection{The article environment\label{subsub-1}}
1802 %The main environment to include a piece of article is called \texttt{article}. It takes four arguments that set up the headings and structure of the article.
1803 %\begin{BDef}
1804 %\LBEG{article}\Largb{\Larga{num-of-columns}}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}%
1805 %\Largb{\Larga{pagesof}}\Largb{\Larga{label}}\\
1806 %\ldots\Larga{text}\ldots\\
1807 %\LEND{article}
1808 %\end{BDef}
1809 %
1810 %The first argument \Larga{num-of-columns} sets the number of columns the article will be divided whereas \Larga{label} is used when pointing an article from the index in the front page. The rest of the arguments are easy to understand.
1811 %
1812 %
1813 %Inside the \texttt{article} environment, besides the main text of the article, it is possible to include additional information using several class commands.
1814 %\begin{BDef}
1815 %\Lcs{authorandplace}\quad\Lcs{timestamp}
1816 %\end{BDef}
1817 %
1818 %The \Lcs{authorandplace}\Largb{\Larga{author}}\Largb{\Larga{place}} inserts the name of the editor and the place where the article happened in the way many magazines do. Another useful command is \Lcs{timestamp}\Largb{\Larga{time}} which includes the time and a separator just before the text. These two commands should be used before the text because they type the text as the same place they are executed.
1819 %
1820 %\begin{BDef}
1821 %\Lcs{image}
1822 %\end{BDef}
1823 %To include images within the text of an article, \textsf{xepersian-magazine} provides an \Lcs{image} command. Since \textsf{multicol} package does not provide any float support for its \textsf{multicols} environment, I created a macro that includes an image only if that is possible, calculating if there is enough space for the image.It is not the best solution but it works quite well and I could not find a better one. To include an image use the command and its two arguments: the relative path to the image and a short description.
1824 %\begin{BDef}
1825 %\Lcs{image}\Largb{\Larga{image}}\Largb{\Larga{description}}
1826 %\end{BDef}
1827 %
1828 %\begin{BDef}
1829 %\Lcs{columntitle}\quad\Lcs{expandedtitle}
1830 %\end{BDef}
1831 %Within the text of the article, it is possible to add column and expanded titles. The main difference between them is that the first one keeps inside the width of an article column whereas the second expands all over the width of the page, breaking all the columns. Their use is analogous, as follows
1832 %
1833 %\begin{BDef}
1834 %\Lcs{columntitle}\Largb{\Larga{type}}\Largb{\Larga{text}}\\
1835 %\Lcs{expandedtitle}\Largb{\Larga{type}}\Largb{\Larga{text}}
1836 %\end{BDef}
1837 %These two commands use \textsf{fancybox} package features. That is why there are five different types of titles which correspond mainly with fancybox ones: \textsf{shadowbox},
1838 %\textsf{doublebox}, \textsf{ovalbox}, \textsf{Ovalbox} and \textsf{lines}.
1839 %\subsubsection{The editorial environment\label{subsub-2}}
1840 %In addition to the editorial article environment, one can use the editorial environment to create editorial or opinion texts. The main feature is that it transforms the style
1841 %of the heading. Although this environment accepts all the commands article takes, it does not make any sense to use the \Lcs{authorandplace} command within it since it includes an author argument. To create an editorial text use
1842 %
1843 %\begin{BDef}
1844 %\LBEG{editorial}\Largb{\Larga{num-of-columns}}\Largb{\Larga{title}}\Largb{\Larga{author}}\Largb{\Larga{label}}\\
1845 %\ldots\Larga{text}\ldots\\
1846 %\LEND{editorial}
1847 %\end{BDef}
1848 %
1849 %All arguments have the same meaning as article environment (see \autoref{subsub-1}).
1850 %\subsubsection{The shortarticle environment\label{subsub-3}}
1851 %The shortarticle environment creates a block of short article. Althought it has its own title and subtitle, each piece of article within it may have a title. To use it just
1852 %type:
1853 %
1854 %\begin{BDef}
1855 %\LBEG{shortarticle}\Largb{\Larga{num-of-columns}}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}\Largb{\Larga{label}}\\
1856 %\ldots\Larga{text}\ldots\\
1857 %\Lcs{shortarticleitem}\Largb{\Larga{title}}\Largb{\Larga{text}}\\
1858 %\ldots\\
1859 %\LEND{shortarticle}
1860 %\end{BDef}
1861 %You can also specify the number of columns of the block like editorial and article environments. To add a piece of article inside the shortarticle use the \Lcs{shortarticleitem}, indicating a title and the text of the issue.
1862 %\subsubsection{Commands between articles}
1863 %\begin{BDef}
1864 %\Lcs{articlesep}\quad\Lcs{newsection}
1865 %\end{BDef}
1866 %
1867 %There are two commands you can use among the articles inside \textsf{xepersian-magazine}: \Lcs{articlesep} and \Lcs{newsection}. The first one does not take any parameter and just draws a line between two articles. The second changes the content of \Lcs{xepersian@section} to the new \Larga{section name}. From the point it is used, all articles which follow will be grouped within the new section.
1868 %
1869 %\begin{BDef}
1870 %\Lcs{newsection}\Largb{\Larga{section name}}
1871 %\end{BDef}
1872 %\subsubsection{Customization\label{s-custom}}
1873 %\textsf{xepersian-magazine} includes many commands which can be used to customize its aspect, from the front page to the last page. I will list them grouped so it is easy to find
1874 %them. Treat them as standard \LaTeX\ commands, using \Lcs{renewcommand} to change
1875 %their behaviour.
1876 %\subsubsection{Front Page}
1877 %
1878 %\begin{BDef}
1879 %\Lcs{customlogo}\quad\Lcs{customminilogo}\quad\Lcs{custommagazinename}
1880 %\end{BDef}
1881 %When creating a magazine, everyone wants to show its own logo instead of \textsf{xepersian-magazine} default heading. To achieve this, you need to put the following command at the preamble of your document:
1882 %
1883 %\begin{BDef}
1884 %\Lcs{customlogo}\Largb{\Larga{text}}\\
1885 %\Lcs{customminilogo}\Largb{\Larga{text}}\\
1886 %\Lcs{custommagazinename}\Largb{\Larga{text}}
1887 %\end{BDef}
1888 %
1889 %
1890 %\begin{BDef}
1891 %\Lcs{edition}\quad\Lcs{editionformat}
1892 %\end{BDef}
1893 %
1894 %The edition text has to be declared in the preamble of the document. One important thing to know is that \Lcs{author}, \Lcs{date} and \Lcs{title} have no effect inside \textsf{xepersian-magazine} since the magazine date is taken from \Lcs{today} command and the other two are only for the title page (if using \Lcs{maketitle}).
1895 %
1896 %\begin{BDef}
1897 %\Lcs{indexFormat}\quad\Lcs{indexEntryFormat}\quad\Lcs{indexEntryPageTxt}\\
1898 %\Lcs{indexEntryPageFormat}\quad%
1899 %\Lcs{indexEntrySeparator}
1900 %\end{BDef}
1901 %
1902 %When defining the index in the front page, there are several commands to customize the final index style. \Lcs{indexFormat} sets the format of the title; \Lcs{indexEntryFormat}, the format of each index entry; \Lcs{indexEntryPageTxt} and \Lcs{indexEntryPageFormat} lets you define which is the text that goes with the page number and its format. Finally, \textsf{xepersian-magazine} creates a thin line between index entries, you can redefine it using \Lcs{indexEntrySeparator}. To get the index with \Lcs{xepersian@indexwidth} is provided.
1903 %
1904 %\begin{BDef}
1905 %\Lcs{weatherFormat}\quad\Lcs{weatherTempFormat}\quad\Lcs{weatherUnits}
1906 %\end{BDef}
1907 %
1908 %Relating to the weather block, the title format can be changed redefining \Lcs{weatherFormat}. In order to customize the format of the temperature numbers and their units it is necessary to redefine \Lcs{weatherTempFormat} and \Lcs{weatherUnits} respectively.
1909 %
1910 %\begin{BDef}
1911 %\Lcs{*TitleFormat}\quad\Lcs{*SubtitleFormat}\quad\Lcs{*TextFormat}
1912 %\end{BDef}
1913 %The main article that appear in the front page can change their formats. To obtain that there are three standard commands to modify the title, subtitle and text style. You just have to replace the star (\texttt{*}) with first, second or third depending on which article you are editing. Note that first piece of article has no subtitle therefore it does not make any sense to use the non-existent command \Lcs{firstSubtitleFormat}.
1914 %
1915 %\begin{BDef}
1916 %\Lcs{pictureCaptionFormat}\quad\Lcs{pagesFormat}
1917 %\end{BDef}
1918 %Two other elements to configure are the picture captions and the pages or section format in the entire document. To proceed just redefine the macros \Lcs{pictureCaptionFormat} and \Lcs{pagesFormat}.
1919 %\subsubsection{Inside The Magazine}
1920 %\begin{BDef}
1921 %\Lcs{innerTitleFormat}\quad\Lcs{innerSubtitleFormat}\quad\Lcs{innerAuthorFormat}\\
1922 %\Lcs{innerPlaceFormat}
1923 %\end{BDef}
1924 %
1925 %The articles inside \textsf{xepersian-magazine} may have a different format from the ones in the front page. To change their title or subtitle format redefine \Lcs{innerTitleFormat} and \Lcs{innerSubtitleFormat}. The article text format matches the document general definition. When using the \Lcs{authorandplace} command, you might want to change the default style. Just renew \Lcs{innerAuthorFormat} and \Lcs{innerPlaceFormat} to get the results.
1926 %
1927 %\begin{BDef}
1928 %\Lcs{timestampTxt}\quad\Lcs{timestampSeparator}\quad\Lcs{timestampFormat}
1929 %\end{BDef}
1930 %
1931 %The \Lcs{timestamp} command described in \autoref{subsub-1} lets you introduce the time of the event before the article text. You can configure its appearance by altering
1932 %several commands: \Lcs{timestampTxt} which means the text after the timestamp; \Lcs{timestampSeparator} which defines the element between the actual timestamp and the beginning of the text and, finally, \Lcs{timestampFormat} to change the entire timestamp format.
1933 %
1934 %\begin{BDef}
1935 %\Lcs{innerTextFinalMark}
1936 %\end{BDef}
1937 %
1938 %\textsf{xepersian-magazine} puts a small black square at the end of the article. As I wanted to create a highly customizable \LaTeX\ class I added the macro \Lcs{innerTextFinalMark} to change this black square. This item will appear always following the last character of the text with the \texttt{\~} character.
1939 %
1940 %\begin{BDef}
1941 %\Lcs{minraggedcols}\quad\Lcs{raggedFormat}
1942 %\end{BDef}
1943 %
1944 %The \Lcs{minraggedcols} counter is used to tell \textsf{xepersian-magazine} when article text should be ragged instead of justified. The counter represents the minimum number of columns that are needed in order to use ragged texts. For example, if \Lcs{minraggedcols} is set to 3, all articles with 3 columns or more will be ragged. Articles with 1, 2 columns will have justified text. By default, \Lcs{minraggedcols} is set to 4.
1945 %
1946 %The \Lcs{raggedFormat} macro can be redefined to fit user ragged style. Default value is \Lcs{RaggedLeft}.
1947 %
1948 %\begin{BDef}
1949 %\Lcs{heading}\quad\Lcs{foot}
1950 %\end{BDef}
1951 %\textsf{xepersian-magazine} includes package \textsf{fancyhdr} for changing headings and footers. Although it is possible to use its own commands to modify \textsf{xepersian-magazine} style, there are two commands to change headings and foot appearance. Place them in the preamble of your \textsf{xepersian-magazine} document.
1952 %
1953 %\begin{BDef}
1954 %\Lcs{heading}\Largb{\Larga{left}}\Largb{\Larga{center}}\Largb{\Larga{right}}\\
1955 %\Lcs{foot}\Largb{\Larga{left}}\Largb{\Larga{center}}\Largb{\Larga{right}}
1956 %\end{BDef}
1957 %
1958 % If you still prefer to use fancyhdr macros, use them after the \texttt{frontpage} environment.
1959 %
1960 %\textsf{xepersian-magazine} by default places no headers and footers. If you want headers and foooters, then after loading \textsf{xepersian} package, you should write \Lcs{pagestyle}\Largb{fancy} at the preamble of your document.
1961 %
1962 %\subsubsection{Class Options\label{s-options}}
1963 %The \textsf{xepersian-magazine} class is in itself an alteration of the standard \textsf{article} class, thus it inherits most of its class options but \textsf{twoside}, \textsf{twocolumn}, \textsf{notitlepage} and \textsf{a4paper}. If you find problems when loading other article features, please let me know to fix it. There are also five own options that \textsf{xepersian-magazine} implements.
1964 %\begin{description}
1965 %\item[\textsf{a3paper}] (false) This option makes \textsf{xepersian-magazine} 297 mm width by 420 mm height. This option is implemented because the standard \textsf{article} class does not allow this document size.
1966 %\item[\textsf{9pt}] (false) Allows the 9pt font size that \textsf{article} class does not include (default is 10pt).
1967 %\item[\textsf{columnlines}] columnlines (false) Adds lines between columns in the entire \textsf{xepersian-magazine}. The default line width is 0.1pt but it is possible to change this by setting length \Lcs{columnlines} in the preamble.
1968 %\item[\textsf{showgrid}] (false) This option is only for developing purposes. Because the front page has a personal design using the textpos package, I created this grid to make easier the lay out.
1969 %\end{description}
1970 %
1971 %\subsection{Typesetting Multiple-choice Questions}
1972 %\subsubsection{Introduction}
1973 %\textsf{xepersian-multiplechoice} is a package for making multiple choices questionnaires under \LaTeX. A special environment
1974 %allows you to define questions and possible answers. You can specify which
1975 %answers are correct and which are not. \textsf{xepersian-multiplechoice} not only formats the questions
1976 %for you, but also generates a ``form'' (a grid that your students will have to fill
1977 %in), and a ``mask'' (the same grid, only with correct answers properly checked
1978 %in). You can then print the mask on a slide and correct the questionnaires
1979 %more easily by superimposing the mask on top of students' forms.
1980 %
1981 %\subsubsection{Usage}
1982 %Here we now explain the usage of this package, however there are four example files, namely \texttt{test-question-only.tex}, \texttt{test-solution-form.tex}, \texttt{test-empty-form.tex} and \texttt{test-correction.tex}, available in \textsf{doc} folder that you may want to look at.
1983 %\subsubsection{Loading The Package}
1984 %You can load the package as usual by:
1985 %\begin{BDef}
1986 %\Lcs{usepackage}\OptArgs\Largb{xepersian-multiplechoice}
1987 %\end{BDef}
1988 %The available options are described along the text,
1989 %where appropriate.
1990 %\subsubsection{Creating Questions}
1991 %Here's a simple example demonstrating how to produce a new question:
1992 %\begin{lstlisting}[morekeywords={false,true}]
1993 %\begin{question}{*\parsitext{سؤال}*}
1994 %\false *\parsitext{جواب ۱}*
1995 %\true *\parsitext{جواب ۲}*
1996 %\false *\parsitext{جواب ۳}*
1997 %\false *\parsitext{جواب ۴}*
1998 %\end{question}
1999 %\begin{correction}
2000 %*\parsitext{جواب واقعی و علت اینکه این جواب، جواب واقعی هست}*
2001 %\end{correction}
2002 %\end{lstlisting}
2003 %\subsubsection{The \texttt{question} Environment}
2004 %The \texttt{question} environment allows you to insert questions into your document. It
2005 %takes one mandatory argument which specifies the actual question's text. The
2006 %question will be displayed in a frame box, the size of the line.
2007 %\begin{BDef}
2008 %\Lcs{true}\quad\Lcs{false}
2009 %\end{BDef}
2010 %
2011 %The proposed answers are displayed below the question in a list fashion (the
2012 %question environment is a list-based one). Instead of using \Lcs{item} however, use
2013 %either \Lcs{true} or \Lcs{false} to insert a possible answer.
2014 %
2015 %\subsubsection{Question Numbers}
2016 %The \texttt{question} environment is associated with a \LaTeX\ counter named \texttt{question}.
2017 %This counter stores the number of the next (or current) question. It is initialized
2018 %to 1, and automatically incremented at the end of \texttt{question} environments. You
2019 %might want to use it to format question titles. For instance, you could decide that
2020 %each question belongs to a subsection in the \texttt{article} class, and use something like
2021 %this before each question: \Lcs{subsection*}\Largb{Question \Lcs{thequestion}}
2022 %
2023 %\subsubsection{The Form and the Mask}
2024 %\begin{BDef}
2025 %\Lcs{makeform}\quad\Lcs{makemask}
2026 %\end{BDef}
2027 %Based on the questions appearing in your document, \textsf{xepersian-multiplechoice} has the ability to
2028 %generate a ``form'' (a grid that your students will have to fill in), and a ``mask''
2029 %(the same grid, only with correct answers properly checked in). This can make
2030 %the correction process easier.
2031 %
2032 %To generate a form and a mask, use the macros \Lcs{makeform} and \Lcs{makemask}.
2033 %\textsf{xepersian-multiplechoice} uses two auxiliary files to build them. These files have respectively an
2034 %extension of \texttt{frm} and \texttt{msk}. If you use these macros, you will need two passes of
2035 %\LaTeX\ in order to get a correctly formatted document.
2036 %
2037 %\subsubsection{Typesetting corrections}
2038 %The ``correction'' mode allows you to automatically
2039 %typeset and distribute corrections to your students. These corrections
2040 %are slightly modified versions of your questionnaire: each possible answer is prefixed with a small symbol (a visual clue) indicating whether the answer was correct
2041 %or wrong. In addition, you can typeset explanations below each question.
2042 %
2043 %To activate the correction mode, use the \texttt{correction} option. It is off by
2044 %default.
2045 %
2046 %To typeset explanations below the questions, use the \texttt{correction} environment
2047 %(no argument). The contents of this environment is displayed only in correction
2048 %mode. In normal mode, it is simply discarded.
2049 %
2050 %In addition, note that \textsf{xepersian-multiplechoice} cancels the actions performed by \Lcs{makeform} and
2051 %\Lcs{makemask} in \texttt{correction} mode. This is to avoid further edition of the source
2052 %when typesetting a correction.
2053 %
2054 %\subsubsection{Important Note}
2055 %Currently, \textsf{xepersian-multiplechoice} requires that you provide a constant number of proposed answers
2056 %across all questions in your \textsf{xepersian-multiplechoice}. This is something natural when you want to
2057 %build forms, but this might me too restrictive otherwise, I'm not sure, so it is
2058 %possible that this restriction will be removed in future versions.
2059 %
2060 %Currently, there is a built-in mechanism for checking that the number of proposed
2061 %answers remains constant: when \textsf{xepersian-multiplechoice} encounters the first occurrence of the
2062 %\texttt{question} environment, it remembers the number of proposed answers from there.
2063 %Afterwards, any noticed difference in subsequent occurrences will generate an error.
2064 %As a consequence, you never have to tell \textsf{xepersian-multiplechoice} explicitly what that number
2065 %is.
2066 %
2067 %\subsection{Customising The Package}
2068 %\subsubsection{The \texttt{question} environment}
2069 %\begin{BDef}
2070 %\Lcs{questionspace}\quad\Lcs{answerstitlefont}\quad\Lcs{answernumberfont}
2071 %\end{BDef}
2072 %\Lcs{questionspace} is the amount of extra vertical space to put under the question,
2073 %before the list of proposed answers. This is a \LaTeX\ length that defaults to \texttt{0pt}.
2074 %
2075 %Before the list of possible answers, a short title is displayed (for English, it
2076 %reads ``Possible answers:''). The \Lcs{answerstitlefont} macro takes one mandatory
2077 %argument which redefines the font to use for the answers title. By default,
2078 %\Lcs{bfseries} is used.
2079 %
2080 %Each proposed answer in the list is numbered automatically (and alphabetically).
2081 %The \Lcs{answernumberfont} macro takes one mandatory argument which
2082 %redefines the font to use for displaying the answer number. By default, \Lcs{bfseries}
2083 %is used.
2084 %
2085 %\subsubsection{The Form and the Mask}
2086 %\begin{BDef}
2087 %\Lcs{headerfont}\quad\Lcs{X}
2088 %\end{BDef}
2089 %
2090 %The \Lcs{headerfont} macro takes one mandatory argument which redefines the font
2091 %to use for the headers (first line and first column) of the form and mask arrays.
2092 %By default, \Lcs{bfseries} is used.
2093 %
2094 %In the mask, correct answers are checked in by filling the corresponding cell
2095 %with an ``X'' character. If you want to change this, call the \Lcs{X} macro with one
2096 %(mandatory) argument.
2097 %
2098 %\subsubsection{The correction}
2099 %\begin{BDef}
2100 %\Lcs{truesymbol}\quad\Lcs{falsesymbol}
2101 %\end{BDef}
2102 %
2103 %In correction mode, labels in front of answers are modified to give a visual clue
2104 %about whether the answer was correct or wrong. By default, a cross and a small
2105 %arrow are used. You can change these symbols by using the \Lcs{truesymbol} and
2106 %
2107 %\Lcs{falsesymbol} macros. For instance, you could give a fancier look to your correction
2108 %by using the \textsf{pifont} package and issuing:
2109 %
2110 %\begin{lstlisting}[numbers=none,morekeywords={truesymbol,ding,falsesymbol}]
2111 %\truesymbol{\ding{'063}~}
2112 %\falsesymbol{\ding{'067}~}
2113 %\end{lstlisting}
2114 %
2115 %\begin{BDef}
2116 %\Lcs{correctionstyle}
2117 %\end{BDef}
2118 %The appearance of the contents of the correction environment can be adjusted
2119 %by using the \Lcs{correctionstyle} macro. By default, \Lcs{itshape} is used.
2120 %
2121 % \StopEventually{}
2122 %
2123 % \section{\textsf{\jobname} implementation}
2124 % \subsection{\textsf{algorithmic-xepersian.def}}
2125 %\iffalse
2126 %<*algorithmic-xepersian.def>
2127 %\fi
2128 %
2129 %
2130 %
2131 % \begin{macrocode}
2132 \ProvidesFile{algorithmic-xepersian.def}[2010/07/25 v0.2 adaptations for algorithmic package]
2133 \def\algorithmicrequire{\if@RTL\textbf{ورودی:}\else\textbf{Require:}\fi}
2134 \def\algorithmicensure{\if@RTL\textbf{خروجی:}\else\textbf{Ensure:}\fi}
2135 % \end{macrocode}
2136 %
2137 %\iffalse
2138 %</algorithmic-xepersian.def>
2139 %<*algorithm-xepersian.def>
2140 %\fi
2141 % \subsection{\textsf{algorithm-xepersian.def}}
2142 % \begin{macrocode}
2143 \ProvidesFile{algorithm-xepersian.def}[2010/07/25 v0.2 adaptations for algorithm package]
2144 \def\ALG@name{\if@RTL الگوریتم\else Algorithm\fi}
2145 \def\ALGS@name{الگوریتم‌ها}
2146 \def\listalgorithmname{\if@RTL لیست \ALGS@name\else List of \ALG@name s\fi}
2147 % \end{macrocode}
2148 % \iffalse
2149 %</algorithm-xepersian.def>
2150 %<*amsart-xepersian.def>
2151 %\fi
2152 % \subsection{\textsf{amsart-xepersian.def}}
2153 % \begin{macrocode}
2154 \ProvidesFile{amsart-xepersian.def}[2010/07/25 v0.2 adaptations for amsart class]
2155 \renewcommand \thepart {\@tartibi\c@part}
2156 \def\appendix{\par\c@section\z@ \c@subsection\z@
2157 \let\sectionname\appendixname
2158 \def\thesection{\@harfi\c@section}}
2159 \long\def\@footnotetext#1{%
2160 \begingroup
2161 \setbox\footins
2162 \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
2163 \interlinepenalty\interfootnotelinepenalty
2164 \splittopskip\footnotesep
2165 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
2166 \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
2167 \bidi@footnotetext@dir{#1}%
2168 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
2169 {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}%
2170 \bidi@footnotetext@after
2171 \insert\footins{\unvbox\footins}%
2172 \endgroup}
2173 \long\def\@RTLfootnotetext#1{%
2174 \begingroup
2175 \setbox\footins
2176 \vbox{\@RTLtrue\reset@font\footnotesize
2177 \interlinepenalty\interfootnotelinepenalty
2178 \splittopskip\footnotesep
2179 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
2180 \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
2181 \bidi@footnotetext@dir{#1}%
2182 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
2183 {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\unskip\strut\par}}%
2184 \bidi@footnotetext@after
2185 \insert\footins{\unvbox\footins}%
2186 \endgroup}
2187 \long\def\@LTRfootnotetext#1{%
2188 \begingroup
2189 \setbox\footins
2190 \vbox{\@RTLfalse\reset@font\footnotesize
2191 \interlinepenalty\interfootnotelinepenalty
2192 \splittopskip\footnotesep
2193 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
2194 \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
2195 \bidi@footnotetext@dir{#1}%
2196 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
2197 {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\unskip\strut\par}}%
2198 \bidi@footnotetext@after
2199 \insert\footins{\unvbox\footins}%
2200 \endgroup}
2201 % \end{macrocode}
2202 % \iffalse
2203 %</amsart-xepersian.def>
2204 %<*amsbook-xepersian.def>
2205 %\fi
2206 % \subsection{\textsf{amsbook-xepersian.def}}
2207 % \begin{macrocode}
2208 \ProvidesFile{amsbook-xepersian.def}[2010/07/25 v0.3 adaptations for amsbook class]
2209 \def\frontmatter{\cleardoublepage\pagenumbering{harfi}}
2210 \renewcommand \thepart {\@tartibi\c@part}
2211 \def\appendix{\par
2212 \c@chapter\z@ \c@section\z@
2213 \let\chaptername\appendixname
2214 \def\thechapter{\@harfi\c@chapter}}
2215 \long\def\@footnotetext#1{%
2216 \begingroup
2217 \setbox\footins
2218 \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
2219 \interlinepenalty\interfootnotelinepenalty
2220 \splittopskip\footnotesep
2221 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
2222 \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
2223 \bidi@footnotetext@dir{#1}%
2224 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
2225 {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}%
2226 \bidi@footnotetext@after
2227 \insert\footins{\unvbox\footins}%
2228 \endgroup}
2229 \long\def\@RTLfootnotetext#1{%
2230 \begingroup
2231 \setbox\footins
2232 \vbox{\@RTLtrue\reset@font\footnotesize
2233 \interlinepenalty\interfootnotelinepenalty
2234 \splittopskip\footnotesep
2235 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
2236 \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
2237 \bidi@footnotetext@dir{#1}%
2238 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
2239 {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\unskip\strut\par}}%
2240 \bidi@footnotetext@after
2241 \insert\footins{\unvbox\footins}%
2242 \endgroup}
2243 \long\def\@LTRfootnotetext#1{%
2244 \begingroup
2245 \setbox\footins
2246 \vbox{\@RTLfalse\reset@font\footnotesize
2247 \interlinepenalty\interfootnotelinepenalty
2248 \splittopskip\footnotesep
2249 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
2250 \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
2251 \bidi@footnotetext@dir{#1}%
2252 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
2253 {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\unskip\strut\par}}%
2254 \bidi@footnotetext@after
2255 \insert\footins{\unvbox\footins}%
2256 \endgroup}
2257 % \end{macrocode}
2258 % \iffalse
2259 %</amsbook-xepersian.def>
2260 %<*article-xepersian.def>
2261 %\fi
2262 % \subsection{\textsf{article-xepersian.def}}
2263 % \begin{macrocode}
2264 \ProvidesFile{article-xepersian.def}[2010/07/25 v0.2 adaptations for standard article class]
2265 \renewcommand \thepart {\@tartibi\c@part}
2266 \renewcommand\appendix{\par
2267 \setcounter{section}{0}%
2268 \setcounter{subsection}{0}%
2269 \gdef\thesection{\@harfi\c@section}}
2270 % \end{macrocode}
2271 % \iffalse
2272 %</article-xepersian.def>
2273 %<*artikel1-xepersian.def>
2274 %\fi
2275 % \subsection{\textsf{artikel1-xepersian.def}}
2276 % \begin{macrocode}
2277 \ProvidesFile{artikel1-xepersian.def}[2010/07/25 v0.1 adaptations for artikel1 class]
2278 \renewcommand*\thepart{\@tartibi\c@part}
2279 \renewcommand*\appendix{\par
2280 \setcounter{section}{0}%
2281 \setcounter{subsection}{0}%
2282 \gdef\thesection{\@harfi\c@section}}
2283 % \end{macrocode}
2284 % \iffalse
2285 %</artikel1-xepersian.def>
2286 %<*artikel2-xepersian.def>
2287 %\fi
2288 % \subsection{\textsf{artikel2-xepersian.def}}
2289 % \begin{macrocode}
2290 \ProvidesFile{artikel2-xepersian.def}[2010/07/25 v0.1 adaptations for artikel2 class]
2291 \renewcommand*\thepart{\@tartibi\c@part}
2292 \renewcommand*\appendix{\par
2293 \setcounter{section}{0}%
2294 \setcounter{subsection}{0}%
2295 \gdef\thesection{\@harfi\c@section}}
2296 % \end{macrocode}
2297 % \iffalse
2298 %</artikel2-xepersian.def>
2299 %<*artikel3-xepersian.def>
2300 %\fi
2301 % \subsection{\textsf{artikel3-xepersian.def}}
2302 % \begin{macrocode}
2303 \ProvidesFile{artikel3-xepersian.def}[2010/07/25 v0.1 adaptations for artikel3 class]
2304 \renewcommand*\thepart{\@tartibi\c@part}
2305 \renewcommand*\appendix{\par
2306 \setcounter{section}{0}%
2307 \setcounter{subsection}{0}%
2308 \gdef\thesection{\@harfi\c@section}}
2309 % \end{macrocode}
2310 % \iffalse
2311 %</artikel3-xepersian.def>
2312 %<*backref-xepersian.def>
2313 %\fi
2314 % \subsection{\textsf{backref-xepersian.def}}
2315 % \begin{macrocode}
2316 \ProvidesFile{backref-xepersian.def}[2010/07/25 v0.1 adaptations for backref package]
2317 \def\backrefpagesname{\if@RTL صفحات\else pages\fi}
2318 \def\BR@Latincitex[#1]#2{%
2319 \BRorg@Latincitex[{#1}]{#2}%
2320 \ifBR@verbose
2321 \PackageInfo{backref}{back Latin cite \string`#2\string'}%
2322 \fi
2323 \Hy@backout{#2}%
2324 }
2325 \AtBeginDocument{%
2326 \@ifundefined{NAT@parse}{%
2327 \global\let\BRorg@Latincitex\@Latincitex
2328 \global\let\@Latincitex\BR@Latincitex
2329 }{%
2330 \@ifpackageloaded{hyperref}{}{%
2331 \def\hyper@natlinkstart#1{\Hy@backout{#1}}%
2332 }%
2333 \PackageInfo{backref}{** backref set up for natbib **}%
2334 }%
2335 }%
2336 % \end{macrocode}
2337 % \iffalse
2338 %</backref-xepersian.def>
2339 %<*bidicode-xepersian.def>
2340 %\fi
2341 % \subsection{\textsf{bidicode-xepersian.def}}
2342 % \begin{macrocode}
2343 \ProvidesFile{bidicode-xepersian.def}[2010/07/25 v0.0 Persian captions for bidicode package]
2344 % \end{macrocode}
2345 % \iffalse
2346 %</bidicode-xepersian.def>
2347 %<*bidituftesidenote-xepersian.def>
2348 %\fi
2349 % \subsection{\textsf{bidituftesidenote-xepersian.def}}
2350 % \begin{macrocode}
2351 \ProvidesFile{bidituftesidenote-xepersian.def}[2011/06/18 v0.1 xepersian changes to bidituftesidenote package]
2352 \long\def\@LTRbidituftesidenote@sidenote[#1][#2]#3{%
2353 \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
2354 \gdef\@bidituftesidenote@citations{}% clear out any old citations
2355 \ifthenelse{\NOT\isempty{#2}}{%
2356 \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{#2}%
2357 }{%
2358 \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{0pt}%
2359 }%
2360 \ifthenelse{\isempty{#1}}{%
2361 % no specific footnote number provided
2362 \stepcounter\@mpfn%
2363 \protected@xdef\@thefnmark{\thempfn}%
2364 \@footnotemark\@LTRfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\latinfont#3}%
2365 }{%
2366 % specific footnote number provided
2367 \begingroup%
2368 \csname c@\@mpfn\endcsname #1\relax%
2369 \unrestored@protected@xdef\@thefnmark{\thempfn}%
2370 \endgroup%
2371 \@footnotemark\@LTRfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\latinfont#3}%
2372 }%
2373 \@bidituftesidenote@print@citations% print any citations
2374 \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
2375 \unskip\ignorespaces% remove extra white space
2376 \kern-\multiplefootnotemarker% remove \kern left behind by sidenote
2377 \kern\multiplefootnotemarker\relax% add new \kern here to replace the one we yanked
2378 }
2379 \long\def\@RTLbidituftesidenote@sidenote[#1][#2]#3{%
2380 \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
2381 \gdef\@bidituftesidenote@citations{}% clear out any old citations
2382 \ifthenelse{\NOT\isempty{#2}}{%
2383 \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{#2}%
2384 }{%
2385 \gsetlength{\@bidituftesidenote@sidenote@vertical@offset}{0pt}%
2386 }%
2387 \ifthenelse{\isempty{#1}}{%
2388 % no specific footnote number provided
2389 \stepcounter\@mpfn%
2390 \protected@xdef\@thefnmark{\thempfn}%
2391 \@footnotemark\@RTLfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\persianfont#3}%
2392 }{%
2393 % specific footnote number provided
2394 \begingroup%
2395 \csname c@\@mpfn\endcsname #1\relax%
2396 \unrestored@protected@xdef\@thefnmark{\thempfn}%
2397 \endgroup%
2398 \@footnotemark\@RTLfootnotetext[\@bidituftesidenote@sidenote@vertical@offset]{\persianfont#3}%
2399 }%
2400 \@bidituftesidenote@print@citations% print any citations
2401 \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
2402 \unskip\ignorespaces% remove extra white space
2403 \kern-\multiplefootnotemarker% remove \kern left behind by sidenote
2404 \kern\multiplefootnotemarker\relax% add new \kern here to replace the one we yanked
2405 }
2406 \renewcommand\LTRmarginnote[2][0pt]{%
2407 \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
2408 \gdef\@bidituftesidenote@citations{}% clear out any old citations
2409 \LTRbidituftesidenotemarginpar{\hbox{}\vspace*{#1}\@bidituftesidenote@marginnote@font\latinfont\@bidituftesidenote@marginnote@justification\@bidituftesidenote@margin@par\vspace*{-1\baselineskip}\noindent #2}%
2410 \@bidituftesidenote@print@citations% print any citations
2411 \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
2412 }
2413 \renewcommand\RTLmarginnote[2][0pt]{%
2414 \let\cite\@bidituftesidenote@infootnote@cite% use the in-sidenote \cite command
2415 \gdef\@bidituftesidenote@citations{}% clear out any old citations
2416 \RTLbidituftesidenotemarginpar{\hbox{}\vspace*{#1}\@bidituftesidenote@marginnote@font\persianfont\@bidituftesidenote@marginnote@justification\@bidituftesidenote@margin@par\vspace*{-1\baselineskip}\noindent #2}%
2417 \@bidituftesidenote@print@citations% print any citations
2418 \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
2419 }
2420 % \end{macrocode}
2421 % \iffalse
2422 %</bidituftesidenote-xepersian.def>
2423 %<*bidimoderncv-xepersian.def>
2424 %\fi
2425 % \subsection{\textsf{bidimoderncv-xepersian.def}}
2426 % \begin{macrocode}
2427 \ProvidesFile{bidimoderncv-xepersian.def}[2010/07/25 v0.1 adaptations for bidimoderncv class]
2428 \def\refname{\if@RTL تألیفات\else Publications\fi}
2429 % \end{macrocode}
2430 % \iffalse
2431 %</bidimoderncv-xepersian.def>
2432 %<*boek3-xepersian.def>
2433 %\fi
2434 % \subsection{\textsf{boek3-xepersian.def}}
2435 % \begin{macrocode}
2436 \ProvidesFile{boek3-xepersian.def}[2010/07/25 v0.1 adaptations for boek3 class]
2437 \renewcommand*\thepart{\@tartibi\c@part}
2438 \renewcommand*\frontmatter{%
2439 \cleardoublepage
2440 \@mainmatterfalse
2441 \pagenumbering{harfi}}
2442 \renewcommand*\appendix{\par
2443 \setcounter{chapter}{0}%
2444 \setcounter{section}{0}%
2445 \gdef\@chapapp{\appendixname}%
2446 \gdef\thechapter{\@harfi\c@chapter}}
2447 % \end{macrocode}
2448 % \iffalse
2449 %</boek3-xepersian.def>
2450 %<*boek-xepersian.def>
2451 %\fi
2452 % \subsection{\textsf{boek-xepersian.def}}
2453 % \begin{macrocode}
2454 \ProvidesFile{boek-xepersian.def}[2010/07/25 v0.1 adaptations for boek class]
2455 \renewcommand*\thepart{\@tartibi\c@part}
2456 \renewcommand*\frontmatter{%
2457 \cleardoublepage
2458 \@mainmatterfalse
2459 \pagenumbering{harfi}}
2460 \renewcommand*\appendix{\par
2461 \setcounter{chapter}{0}%
2462 \setcounter{section}{0}%
2463 \gdef\@chapapp{\appendixname}%
2464 \gdef\thechapter{\@harfi\c@chapter}}
2465 % \end{macrocode}
2466 % \iffalse
2467 %</boek-xepersian.def>
2468 %<*bookest-xepersian.def>
2469 %\fi
2470 % \subsection{\textsf{bookest-xepersian.def}}
2471 % \begin{macrocode}
2472 \ProvidesFile{bookest-xepersian.def}[2010/07/25 v0.1 adaptations for bookest class]
2473 \renewcommand \thepart {\@tartibi\c@part}
2474 \renewcommand\appendix{\par
2475 \setcounter{chapter}{0}%
2476 \setcounter{section}{0}%
2477 \gdef\@chapapp{\appendixname}%
2478 \gdef\thechapter{\@harfi\c@chapter}
2479 }%end appendix
2480 % \end{macrocode}
2481 % \iffalse
2482 %</bookest-xepersian.def>
2483 %<*book-xepersian.def>
2484 %\fi
2485 % \subsection{\textsf{book-xepersian.def}}
2486 % \begin{macrocode}
2487 \ProvidesFile{book-xepersian.def}[2010/07/25 v0.2 adaptations for standard book class]
2488 \renewcommand\frontmatter{%
2489 \cleardoublepage
2490 \@mainmatterfalse
2491 \pagenumbering{harfi}}
2492 \renewcommand \thepart {\@tartibi\c@part}
2493 \renewcommand\appendix{\par
2494 \setcounter{chapter}{0}%
2495 \setcounter{section}{0}%
2496 \gdef\@chapapp{\appendixname}%
2497 \gdef\thechapter{\@harfi\c@chapter}
2498 }%end appendix
2499 % \end{macrocode}
2500 % \iffalse
2501 %</book-xepersian.def>
2502 %<*breqn-xepersian.def>
2503 %\fi
2504 % \subsection{\textsf{breqn-xepersian.def}}
2505 % \begin{macrocode}
2506 \ProvidesFile{breqn-xepersian.def}[2010/07/25 v0.1 adaptations for breqn package]
2507 \def\@dmath[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
2508 \everydisplay\expandafter{\the\everydisplay \display@setup}%
2509 \if@noskipsec \leavevmode \fi
2510 \if@inlabel \leavevmode \global\@inlabelfalse \fi
2511 \if\eq@group\else\eq@prelim\fi
2512 \setkeys{breqn}{#1}%
2513 \the\eqstyle
2514 \eq@setnumber
2515 \begingroup
2516 \eq@setup@a
2517 \eq@startup
2518 }
2519 \def\@dgroup[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
2520 \let\eq@group\@True \global\let\eq@GRP@first@dmath\@True
2521 \global\GRP@queue\@emptytoks \global\setbox\GRP@box\box\voidb@x
2522 \global\let\GRP@label\@empty
2523 \global\grp@wdL\z@\global\grp@wdR\z@\global\grp@wdT\z@
2524 \global\grp@linewidth\z@\global\grp@wdNum\z@
2525 \global\let\grp@eqs@numbered\@False
2526 \global\let\grp@aligned\@True
2527 \global\let\grp@shiftnumber\@False
2528 \eq@prelim
2529 \setkeys{breqn}{#1}%
2530 \if\grp@hasNumber \grp@setnumber \fi
2531 }
2532 \def\@dseries[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
2533 \let\display@setup\dseries@display@setup
2534 % Question: should this be the default for dseries???
2535 \global\eq@wdCond\z@
2536 \@dmath[layout={M},#1]%
2537 \mathsurround\z@\@@math \penalty\@Mi
2538 \let\endmath\ends@math
2539 \def\premath{%
2540 \ifdim\lastskip<.3em \unskip
2541 \else\ifnum\lastpenalty<\@M \dquad\fi\fi
2542 }%
2543 \def\postmath{\unpenalty\eq@addpunct \penalty\intermath@penalty \dquad \@ignoretrue}%
2544 \ignorespaces
2545 }
2546 % \end{macrocode}
2547 % \iffalse
2548 %</breqn-xepersian.def>
2549 %<*commands-ltx.def>
2550 %\fi
2551 % \subsection{\textsf{commands-ltx.def}}
2552 % \begin{macrocode}
2553 \ProvidesFile{commands-ltx.def}[2010/07/25 v0.2 Persian localisation of LaTeX2e commands]
2554 \eqcommand{شمع‌جدول}{@arstrut}
2555 \eqcommand{فوق}{above}
2556 \eqcommand{فاصله‌کوتاه‌بالای‌نمایش}{abovedisplayshortskip}
2557 \eqcommand{فاصله‌بالای‌نمایش}{abovedisplayskip}
2558 \eqcommand{عنوان‌چکیده}{abstractname}
2559 \eqcommand{اکسنت}{accent}
2560 \eqcommand{فعال}{active}
2561 \eqcommand{بیفزاسطرفهرست}{addcontentsline}
2562 \eqcommand{اضافه‌برجریمه}{addpenalty}
2563 \eqcommand{نشانی}{address}
2564 \eqcommand{بیفزابه‌فهرست}{addtocontents}
2565 \eqcommand{اضافه‌برشمارنده}{addtocounter}
2566 \eqcommand{اضافه‌بربعد}{addtolength}
2567 \eqcommand{بیفزافضای‌و}{addvspace}
2568 \eqcommand{تنظیم‌بدنمایی}{adjdemerits}
2569 \eqcommand{بیفزابر}{advance}
2570 \eqcommand{بعدازانتساب}{afterassignment}
2571 \eqcommand{بعدازگروه}{aftergroup}
2572 \eqcommand{الف}{aleph}
2573 \eqcommand{خصیصه‌مستعارقلم}{aliasfontfeature}
2574 \eqcommand{انتخاب‌خصیصه‌مستعارقلم}{aliasfontfeatureoption}
2575 \eqcommand{شکستنی}{allowbreak}
2576 \eqcommand{تخصی@}{alloc@}
2577 \eqcommand{تخصیص‌یافته}{allocationnumber}
2578 \eqcommand{شکست‌نمایش‌مجاز}{allowdisplaybreaks}
2579 \eqcommand{حروف‌بزرگ}{Alph}
2580 \eqcommand{حروف‌کوچک}{alph}
2581 \eqcommand{نام‌همچنین}{alsoname}
2582 \eqcommand{و}{and}
2583 \eqcommand{زاویه}{angle}
2584 \eqcommand{عنوان‌پیوست}{appendixname}
2585 \eqcommand{تقریب}{approx}
2586 \eqcommand{عربی}{arabic}
2587 \eqcommand{آرگ}{arg}
2588 \eqcommand{رنگ‌خط‌جدول}{arrayrulecolor}
2589 \eqcommand{فاصله‌ستونهای‌آرایه}{arraycolsep}
2590 \eqcommand{ضخامت‌خط‌جدول}{arrayrulewidth}
2591 \eqcommand{کشیدگی‌آرایه}{arraystretch}
2592 \eqcommand{درآغازنوشتار}{AtBeginDocument}
2593 \eqcommand{درپایان‌نوشتار}{AtEndDocument}
2594 \eqcommand{درانتهای‌طبقه}{AtEndOfClass}
2595 \eqcommand{درانتهای‌سبک}{AtEndOfPackage}
2596 \eqcommand{نویسنده}{author}
2597 \eqcommand{مطلب‌پشت}{backmatter}
2598 \eqcommand{شکاف‌پشت}{backslash}
2599 \eqcommand{بدنمایی}{badness}
2600 \eqcommand{میله}{bar}
2601 \eqcommand{فاصله‌کرسی}{baselineskip}
2602 \eqcommand{کشش‌فاصله‌کرسی}{baselinestretch}
2603 \eqcommand{پردازش‌دسته‌ای}{batchmode}
2604 \eqcommand{شروع}{begin}
2605 \eqcommand{شروع‌چپ}{beginL}
2606 \eqcommand{شروع‌راست}{beginR}
2607 \eqcommand{شروع‌گروه}{begingroup}
2608 \eqcommand{فاصله‌کوتاه‌پایین‌نمایش}{belowdisplayshortskip}
2609 \eqcommand{فاصله‌پایین‌نمایش}{belowdisplayskip}
2610 \eqcommand{سیاه}{bf}
2611 \eqcommand{پیش‌فرض‌سیاه}{bfdefault}
2612 \eqcommand{شمایل‌سیاه}{bfseries}
2613 \eqcommand{شرگروه}{bgroup}
2614 \eqcommand{مرجوع}{bibitem}
2615 \eqcommand{کتاب‌نامه}{bibliography}
2616 \eqcommand{سبک‌کتاب‌نامه}{bibliographystyle}
2617 \eqcommand{عنوان‌کتاب‌نامه}{bibname}
2618 \eqcommand{پرش‌بلند}{bigskip}
2619 \eqcommand{مقدارپرش‌بلند}{bigskipamount}
2620 \eqcommand{خط‌پایین‌شناور}{botfigrule}
2621 \eqcommand{علامت‌پایین}{botmark}
2622 \eqcommand{کادرتاپایین}{bottompageskip}
2623 \eqcommand{نسبت‌پایین}{bottomfraction}
2624 \eqcommand{کادر}{box}
2625 \eqcommand{حداکثرعمق‌کادر}{boxmaxdepth}
2626 \eqcommand{بشکن}{break}
2627 \eqcommand{گلوله}{bullet}
2628 \eqcommand{دوپن@پنج}{@cclv}
2629 \eqcommand{دوپن@شش}{@cclvi}
2630 \eqcommand{شرح}{caption}
2631 \eqcommand{کدرده}{catcode}
2632 \eqcommand{رونوشت}{cc}
2633 \eqcommand{نام‌رونوشت}{ccname}
2634 \eqcommand{نقطه‌وسط}{cdot}
2635 \eqcommand{نقاط‌وسط}{cdots}
2636 \eqcommand{تنظیم‌ازوسط}{centering}
2637 \eqcommand{خط‌وسط}{centerline}
2638 \eqcommand{چک@ن}{ch@ck}
2639 \eqcommand{فصل}{chapter}
2640 \eqcommand{عنوان‌فصل}{chaptername}
2641 \eqcommand{نویسه}{char}
2642 \eqcommand{تعریف‌نویسه}{chardef}
2643 \eqcommand{برسی‌فرمان}{CheckCommand}
2644 \eqcommand{مرجع}{cite}
2645 \eqcommand{خطای‌طبقه}{ClassError}
2646 \eqcommand{اطلاع‌طبقه}{ClassInfo}
2647 \eqcommand{هشدارطبقه}{ClassWarning}
2648 \eqcommand{هشدارطبقه‌بی‌سطر}{ClassWarningNoLine}
2649 \eqcommand{نشانگرمرکزی}{cleaders}
2650 \eqcommand{دوصفحه‌پاک}{cleardoublepage}
2651 \eqcommand{صفحه‌پاک}{clearpage}
2652 \eqcommand{خط‌ناپر}{cline}
2653 \eqcommand{ببندورودی}{closein}
2654 \eqcommand{ببندخروجی}{closeout}
2655 \eqcommand{بستن}{closing}
2656 \eqcommand{جریمه‌سربند}{clubpenalty}
2657 \eqcommand{خاج}{clubsuit}
2658 \eqcommand{علامت‌پایین‌ستون‌اول}{colbotmark}
2659 \eqcommand{علامت‌اول‌ستون‌اول}{colfirstmark}
2660 \eqcommand{رنگ}{color}
2661 \eqcommand{کادررنگ}{colorbox}
2662 \eqcommand{علامت‌بالای‌ستون‌اول}{coltopmark}
2663 \eqcommand{رنگ‌ستون}{columncolor}
2664 \eqcommand{بین‌ستون}{columnsep}
2665 \eqcommand{پهنای‌ستون}{columnwidth}
2666 \eqcommand{خط‌بین‌ستون}{columnseprule}
2667 \eqcommand{سطرفهرست}{contentsline}
2668 \eqcommand{عنوان‌فهرست‌مطالب}{contentsname}
2669 \eqcommand{کپی}{copy}
2670 \eqcommand{حق‌تالیف}{copyright}
2671 \eqcommand{شمار}{count}
2672 \eqcommand{شمار@}{count@}
2673 \eqcommand{تعریف‌شمار}{countdef}
2674 \eqcommand{سخ}{cr}
2675 \eqcommand{سخ‌سخ}{crcr}
2676 \eqcommand{نام‌فرمان}{csname}
2677 \eqcommand{گزینه‌جاری}{CurrentOption}
2678 \eqcommand{کادربینابین}{dashbox}
2679 \eqcommand{بینابین‌ع}{dashv}
2680 \eqcommand{@تاریخ}{@date}
2681 \eqcommand{تاریخ}{date}
2682 \eqcommand{روز}{day}
2683 \eqcommand{خط‌پایین‌شناورپهن}{dblbotfigrule}
2684 \eqcommand{نسبت‌پهن‌پایین}{dblbottomfraction}
2685 \eqcommand{خط‌بالای‌شناورپهن}{dblfigrule}
2686 \eqcommand{نسبت‌صفحه‌شناورپهن}{dblfloatpagefraction}
2687 \eqcommand{فاصله‌بین‌شناورپهن}{dblfloatsep}
2688 \eqcommand{کدمکان‌غیرهمانطور}{dblfntlocatecode}
2689 \eqcommand{فاصله‌متن‌وشناورپهن}{dbltextfloatsep}
2690 \eqcommand{نسبت‌پهن‌بالا}{dbltopfraction}
2691 \eqcommand{اعلان‌قلم‌ثابت}{DeclareFixedFont}
2692 \eqcommand{اعلان‌پسوندگرافیک}{DeclareGraphicsExtensions}
2693 \eqcommand{اعلان‌دستورگرافیک}{DeclareGraphicsRule}
2694 \eqcommand{اعلان‌فرمان‌قلم‌قدیمی}{DeclareOldFontCommand}
2695 \eqcommand{اعلان‌گزینه}{DeclareOption}
2696 \eqcommand{اعلان‌فرمان‌قوی}{DeclareRobustCommand}
2697 \eqcommand{اعلان‌قلم‌علائم}{DeclareSymbolFont}
2698 \eqcommand{دوربسته}{deadcycles}
2699 \eqcommand{تر}{def}
2700 \eqcommand{تعریف@کلید}{define@key}
2701 \eqcommand{تعریف‌رنگ}{definecolor}
2702 \eqcommand{درجه}{deg}
2703 \eqcommand{کدجداساز}{delcode}
2704 \eqcommand{جداساز}{delimiter}
2705 \eqcommand{ضریب‌جداساز}{delimiterfactor}
2706 \eqcommand{گودی}{depth}
2707 \eqcommand{خشت}{diamondsuit}
2708 \eqcommand{ابعاد}{dim}
2709 \eqcommand{بعد}{dimen}
2710 \eqcommand{بعد@}{dimen@}
2711 \eqcommand{بعد@یک}{dimen@i}
2712 \eqcommand{بعد@دو}{dimen@ii}
2713 \eqcommand{تعریف‌بعد}{dimendef}
2714 \eqcommand{تیره‌گذاری}{discretionary}
2715 \eqcommand{شکست‌نمایش}{displaybreak}
2716 \eqcommand{تورفتگی‌نمایش}{displayindent}
2717 \eqcommand{سبک‌نمایش}{displaystyle}
2718 \eqcommand{عرض‌نمایش}{displaywidth}
2719 \eqcommand{تقسیم}{divide}
2720 \eqcommand{طبقه‌نوشتار}{documentclass}
2721 \eqcommand{کن}{do}
2722 \eqcommand{تعویض‌کدها}{dospecials}
2723 \eqcommand{نقطه}{dot}
2724 \eqcommand{نقطه‌مساوی}{doteq}
2725 \eqcommand{پرنقطه‌ا}{dotfill}
2726 \eqcommand{نقاط}{dots}
2727 \eqcommand{کادردولا}{doublebox}
2728 \eqcommand{رنگ‌فاصله‌دوخط‌جدول}{doublerulesepcolor}
2729 \eqcommand{فاصله‌بین‌دوخط}{doublerulesep}
2730 \eqcommand{فلش‌پایین}{downarrow}
2731 \eqcommand{عمق}{dp}
2732 \eqcommand{تخلیه}{dump}
2733 \eqcommand{ترگ}{edef}
2734 \eqcommand{پاگروه}{egroup}
2735 \eqcommand{انتهای‌فاصله}{eject}
2736 \eqcommand{گرنه}{else}
2737 \eqcommand{تاکید}{em}
2738 \eqcommand{کشش‌لاجرم}{emergencystretch}
2739 \eqcommand{موکد}{emph}
2740 \eqcommand{@پوچ}{@empty}
2741 \eqcommand{پوچ}{empty}
2742 \eqcommand{مجموعه‌پوچ}{emptyset}
2743 \eqcommand{پایان}{end}
2744 \eqcommand{پایان‌چپ}{endL}
2745 \eqcommand{پایان‌راست}{endR}
2746 \eqcommand{پایان‌نام‌فرمان}{endcsname}
2747 \eqcommand{پایان‌اولین‌سر}{endfirsthead}
2748 \eqcommand{پایان‌پا}{endfoot}
2749 \eqcommand{ته‌بند}{endgraf}
2750 \eqcommand{پایان‌گروه}{endgroup}
2751 \eqcommand{پایان‌سر}{endhead}
2752 \eqcommand{پایان‌ورودی}{endinput}
2753 \eqcommand{پایان‌آخرین‌پا}{endlastfoot}
2754 \eqcommand{گسترش‌این‌صفحه}{enlargethispage}
2755 \eqcommand{ته‌سطر}{endline}
2756 \eqcommand{نویسه‌ته‌سطر}{endlinechar}
2757 \eqcommand{ان‌دوری}{enspace}
2758 \eqcommand{ان‌فاصله}{enskip}
2759 \eqcommand{فرمان‌جانشین}{eqcommand}
2760 \eqcommand{محیط‌جانشین}{eqenvironment}
2761 \eqcommand{ارجاع‌فر}{eqref}
2762 \eqcommand{کمک‌خطا}{errhelp}
2763 \eqcommand{پیام‌خطا}{errmessage}
2764 \eqcommand{سطرمتن‌خطا}{errorcontextlines}
2765 \eqcommand{پردازش‌توقف‌خطا}{errorstopmode}
2766 \eqcommand{نویسه‌ویژه}{escapechar}
2767 \eqcommand{یورو}{euro}
2768 \eqcommand{حاشیه‌زوج}{evensidemargin}
2769 \eqcommand{هرسخ}{everycr}
2770 \eqcommand{هرنمایش}{everydisplay}
2771 \eqcommand{هرکادرا}{everyhbox}
2772 \eqcommand{هرکار}{everyjob}
2773 \eqcommand{هرریاضی}{everymath}
2774 \eqcommand{هربند}{everypar}
2775 \eqcommand{هرکادرو}{everyvbox}
2776 \eqcommand{اجرای‌گزینه‌ها}{ExecuteOptions}
2777 \eqcommand{جریمه‌اضافی‌تیره‌بندی}{exhyphenpenalty}
2778 \eqcommand{بگسترپس‌از}{expandafter}
2779 \eqcommand{فاصله‌اضافی‌بین‌ستونها}{extracolsep}
2780 \eqcommand{@اولی‌ازیک}{@firstofone}
2781 \eqcommand{@اولی‌ازدو}{@firstoftwo}
2782 \eqcommand{چ@ار}{f@ur}
2783 \eqcommand{خانواده}{fam}
2784 \eqcommand{صفحه‌تجملی}{fancypage}
2785 \eqcommand{کادربا}{fbox}
2786 \eqcommand{ضخامت‌کادربا}{fboxrule}
2787 \eqcommand{حاشیه‌کادربا}{fboxsep}
2788 \eqcommand{کادربارنگ}{fcolorbox}
2789 \eqcommand{رگ}{fi}
2790 \eqcommand{عنوان‌شکل}{figurename}
2791 \eqcommand{پرشکن}{filbreak}
2792 \eqcommand{پر}{fill}
2793 \eqcommand{علامت‌اول}{firstmark}
2794 \eqcommand{پهن}{flat}
2795 \eqcommand{نسبت‌صفحه‌شناور}{floatpagefraction}
2796 \eqcommand{جریمه‌شناور}{floatingpenalty}
2797 \eqcommand{فاصله‌بین‌شناور}{floatsep}
2798 \eqcommand{تنظیم‌ازپایین}{flushbottom}
2799 \eqcommand{شکلبندی}{fmtname}
2800 \eqcommand{رده‌شکلبندی}{fmtversion}
2801 \eqcommand{نشانه}{fnsymbol}
2802 \eqcommand{قلم}{font}
2803 \eqcommand{بعدقلم}{fontdimen}
2804 \eqcommand{رمزینه‌قلم}{fontencoding}
2805 \eqcommand{فامیل‌قلم}{fontfamily}
2806 \eqcommand{نام‌قلم}{fontname}
2807 \eqcommand{شمایل‌قلم}{fontseries}
2808 \eqcommand{شکل‌قلم}{fontshape}
2809 \eqcommand{اندازه‌قلم}{fontsize}
2810 \eqcommand{بلندای‌پایین‌صفحه}{footheight}
2811 \eqcommand{درج‌زیرنویس}{footins}
2812 \eqcommand{زیرنویس}{footnote}
2813 \eqcommand{علامت‌زیرنویس}{footnotemark}
2814 \eqcommand{خط‌زیرنویس}{footnoterule}
2815 \eqcommand{فاصله‌تازیرنویس}{footnotesep}
2816 \eqcommand{اندازه‌زیرنویس}{footnotesize}
2817 \eqcommand{متن‌زیرنویس}{footnotetext}
2818 \eqcommand{فاصله‌تاپایین‌صفحه}{footskip}
2819 \eqcommand{فریم}{frame}
2820 \eqcommand{کادرباخط}{framebox}
2821 \eqcommand{فواصل‌یکنواخت‌لاتین}{frenchspacing}
2822 \eqcommand{مطلب‌پیش}{frontmatter}
2823 \eqcommand{بعدبگذار}{futurelet}
2824 \eqcommand{@خورحریصانه}{@gobble}
2825 \eqcommand{@خورحریصانه‌دو}{@gobbletwo}
2826 \eqcommand{@خورحریصانه‌چهار}{@gobblefour}
2827 \eqcommand{@عاقت‌آ}{@gtempa}
2828 \eqcommand{@عاقت‌ب}{@gtempb}
2829 \eqcommand{ترع}{gdef}
2830 \eqcommand{الگوی‌اطلاع}{GenericInfo}
2831 \eqcommand{الگوی‌هشدار}{GenericWarning}
2832 \eqcommand{الگوی‌خطا}{GenericError}
2833 \eqcommand{عام}{global}
2834 \eqcommand{تعاریف‌عام}{globaldefs}
2835 \eqcommand{لغت‌نامه}{glossary}
2836 \eqcommand{فقره‌فرهنگ}{glossaryentry}
2837 \eqcommand{خوش‌شکن}{goodbreak}
2838 \eqcommand{کاغذگراف}{graphpaper}
2839 \eqcommand{گیومه‌چپ}{guillemotleft}
2840 \eqcommand{گیومه‌راست}{guillemotright}
2841 \eqcommand{گیومه‌تکی‌چپ}{guilsinglleft}
2842 \eqcommand{گیومه‌تکی‌راست}{guilsinglright}
2843 \eqcommand{ردیف‌ا}{halign}
2844 \eqcommand{بروتو}{hang}
2845 \eqcommand{بعدازسطر}{hangafter}
2846 \eqcommand{تورفتگی‌ثابت}{hangindent}
2847 \eqcommand{بدنمایی‌ا}{hbadness}
2848 \eqcommand{کادرا}{hbox}
2849 \eqcommand{بلندای‌سرصفحه}{headheight}
2850 \eqcommand{فاصله‌ازسرصفحه}{headsep}
2851 \eqcommand{سربه‌نام}{headtoname}
2852 \eqcommand{دل}{heartsuit}
2853 \eqcommand{بلندا}{height}
2854 \eqcommand{پرا}{hfil}
2855 \eqcommand{پررا}{hfill}
2856 \eqcommand{رفع‌پرا}{hfilneg}
2857 \eqcommand{پرزافقی}{hfuzz}
2858 \eqcommand{فاصله‌مخفی}{hideskip}
2859 \eqcommand{عرض‌پنهان}{hidewidth}
2860 \eqcommand{خط‌پر}{hline}
2861 \eqcommand{حاشیه‌ا}{hoffset}
2862 \eqcommand{حفظ‌درج}{holdinginserts}
2863 \eqcommand{فاصله‌اگرد}{hrboxsep}
2864 \eqcommand{خط‌ا}{hrule}
2865 \eqcommand{پرخط‌ا}{hrulefill}
2866 \eqcommand{طول‌سطر}{hsize}
2867 \eqcommand{فاصله‌ا}{hskip}
2868 \eqcommand{فضای‌ا}{hspace}
2869 \eqcommand{هردوا}{hss}
2870 \eqcommand{ارتفاع}{ht}
2871 \eqcommand{بزرگ}{huge}
2872 \eqcommand{بزرگ‌تر}{Huge}
2873 \eqcommand{ابرپیوند}{hyperlink}
2874 \eqcommand{بارگذاری‌ابر}{hypersetup}
2875 \eqcommand{هدف‌ابر}{hypertarget}
2876 \eqcommand{تیره‌بندی}{hyphenation}
2877 \eqcommand{نویسه‌تیره}{hyphenchar}
2878 \eqcommand{جریمه‌تیره‌بندی}{hyphenpenalty}
2879 \eqcommand{@گرکلاس‌فراخوانی‌شده}{@ifclassloaded}
2880 \eqcommand{@گرترشدنی}{@ifdefinable}
2881 \eqcommand{@گرنویسه‌بعدی}{@ifnextchar}
2882 \eqcommand{@گرسبک‌فراخوانی‌شده}{@ifpackageloaded}
2883 \eqcommand{@گرستاره}{@ifstar}
2884 \eqcommand{@گرتعریف‌نشده}{@ifundefined}
2885 \eqcommand{گر}{if}
2886 \eqcommand{گر@سواقت‌آ}{if@tempswa}
2887 \eqcommand{گرانواع}{ifcase}
2888 \eqcommand{گررده}{ifcat}
2889 \eqcommand{گرتعریف‌شده}{ifdefined}
2890 \eqcommand{گربعد}{ifdim}
2891 \eqcommand{گرته‌پرونده}{ifeof}
2892 \eqcommand{گرر}{iff}
2893 \eqcommand{گرنادرست}{iffalse}
2894 \eqcommand{گرپرونده‌موجود}{IfFileExists}
2895 \eqcommand{گرکادرا}{ifhbox}
2896 \eqcommand{گرحالت‌ا}{ifhmode}
2897 \eqcommand{گردرونی}{ifinner}
2898 \eqcommand{گرحالت‌ریاضی}{ifmmode}
2899 \eqcommand{گرعدد}{ifnum}
2900 \eqcommand{گرفرد}{ifodd}
2901 \eqcommand{گرآنگاه‌دیگر}{ifthenelse}
2902 \eqcommand{گردرست}{iftrue}
2903 \eqcommand{گرکادرو}{ifvbox}
2904 \eqcommand{گرحالت‌و}{ifvmode}
2905 \eqcommand{گرتهی}{ifvoid}
2906 \eqcommand{گرتام}{ifx}
2907 \eqcommand{فاصله‌خالی‌راندیده‌بگیر}{ignorespaces}
2908 \eqcommand{فوری}{immediate}
2909 \eqcommand{شامل}{include}
2910 \eqcommand{درج‌تصویر}{includegraphics}
2911 \eqcommand{مشمولین}{includeonly}
2912 \eqcommand{تورفتگی}{indent}
2913 \eqcommand{درنمایه}{index}
2914 \eqcommand{استعلام}{indexentry}
2915 \eqcommand{عنوان‌نمایه}{indexname}
2916 \eqcommand{فاصله‌رهنما}{indexspace}
2917 \eqcommand{ورودی}{input}
2918 \eqcommand{ورودپرونده‌گرموجود}{InputIfFileExists}
2919 \eqcommand{شماره‌سطرورودی}{inputlineno}
2920 \eqcommand{درج}{insert}
2921 \eqcommand{جریمه‌درج}{insertpenalties}
2922 \eqcommand{جریمه‌بین‌سطرهای‌زیرنویس}{interfootnotelinepenalty}
2923 \eqcommand{جریمه‌بین‌سطرهای‌نمایش}{interdisplaylinepenalty}
2924 \eqcommand{جریمه‌بین‌سطرها}{interlinepenalty}
2925 \eqcommand{متن‌داخلی}{intertext}
2926 \eqcommand{فاصله‌شناوردرمتن}{intertextsep}
2927 \eqcommand{مخفی}{invisible}
2928 \eqcommand{پیش‌فرض‌ای}{itdefault}
2929 \eqcommand{شکل‌ایتالیک}{itshape}
2930 \eqcommand{فقره}{item}
2931 \eqcommand{تورفتگی‌فقره}{itemindent}
2932 \eqcommand{فاصله‌فقره}{itemsep}
2933 \eqcommand{تکرارکن}{iterate}
2934 \eqcommand{شکل‌ای}{itshape}
2935 \eqcommand{نام‌کار}{jobname}
2936 \eqcommand{قلپ}{jot}
2937 \eqcommand{دوری}{kern}
2938 \eqcommand{الگو}{kill}
2939 \eqcommand{برچسب}{label}
2940 \eqcommand{برچسب‌شمارش‌یک}{labelenumi}
2941 \eqcommand{برچسب‌شمارش‌دو}{labelenumii}
2942 \eqcommand{برچسب‌شمارش‌سه}{labelenumiii}
2943 \eqcommand{برچسب‌شمارش‌چهار}{labelenumiv}
2944 \eqcommand{برچسب‌فقره‌یک}{labelitemi}
2945 \eqcommand{برچسب‌فقره‌دو}{labelitemii}
2946 \eqcommand{برچسب‌فقره‌سه}{labelitemiii}
2947 \eqcommand{برچسب‌فقره‌چهار}{labelitemiv}
2948 \eqcommand{فاصله‌ازبرچسب}{labelsep}
2949 \eqcommand{پهنای‌برچسب}{labelwidth}
2950 \eqcommand{زبان}{language}
2951 \eqcommand{درشت}{large}
2952 \eqcommand{درشت‌تر}{Large}
2953 \eqcommand{درشت‌درشت}{LARGE}
2954 \eqcommand{آخرین‌کادر}{lastbox}
2955 \eqcommand{آخرین‌دوری}{lastkern}
2956 \eqcommand{آخرین‌جریمه}{lastpenalty}
2957 \eqcommand{آخرین‌فاصله}{lastskip}
2958 \eqcommand{لاتک}{LaTeX}
2959 \eqcommand{لاتک‌ای}{LaTeXe}
2960 \eqcommand{کدکوچک}{lccode}
2961 \eqcommand{نقاط‌خ}{ldots}
2962 \eqcommand{نشانگر}{leaders}
2963 \eqcommand{ترک‌و}{leavevmode}
2964 \eqcommand{چپ}{left}
2965 \eqcommand{حاشیه‌چپ}{leftmargin}
2966 \eqcommand{حاشیه‌چپ‌یک}{leftmargini}
2967 \eqcommand{حاشیه‌چپ‌دو}{leftmarginii}
2968 \eqcommand{حاشیه‌چپ‌سه}{leftmarginiii}
2969 \eqcommand{حاشیه‌چپ‌چهار}{leftmarginiv}
2970 \eqcommand{حاشیه‌چپ‌پنج}{leftmarginv}
2971 \eqcommand{حاشیه‌چپ‌شش}{leftmarginvi}
2972 \eqcommand{علامت‌چپ}{leftmark}
2973 \eqcommand{کادرتاچپ}{leftpageskip}
2974 \eqcommand{فاصله‌ابتدای‌سطر}{leftskip}
2975 \eqcommand{بگذار}{let}
2976 \eqcommand{سطر}{line}
2977 \eqcommand{سطرشکن}{linebreak}
2978 \eqcommand{جریمه‌سطر}{linepenalty}
2979 \eqcommand{فاصله‌سطرها}{lineskip}
2980 \eqcommand{حدفاصله‌سطر}{lineskiplimit}
2981 \eqcommand{کشش‌فاصله‌سطر}{linespread}
2982 \eqcommand{ضخامت‌خط}{linethickness}
2983 \eqcommand{پهنای‌سطر}{linewidth}
2984 \eqcommand{عنوان‌فهرست‌اشکال}{listfigurename}
2985 \eqcommand{لیست‌پرونده‌ها}{listfiles}
2986 \eqcommand{فهرست‌اشکال}{listoffigures}
2987 \eqcommand{فهرست‌جداول}{listoftables}
2988 \eqcommand{تورفتگی‌بندلیست}{listparindent}
2989 \eqcommand{عنوان‌فهرست‌جداول}{listtablename}
2990 \eqcommand{بارکن‌طبقه}{LoadClass}
2991 \eqcommand{بارکن‌طبقه‌باگزینه}{LoadClassWithOptions}
2992 \eqcommand{مکان}{location}
2993 \eqcommand{بلند}{long}
2994 \eqcommand{گسیختگی}{looseness}
2995 \eqcommand{انتقال‌بپایین}{lower}
2996 \eqcommand{@دیگر}{@makeother}
2997 \eqcommand{@زار}{@m}
2998 \eqcommand{ده@زار}{@M}
2999 \eqcommand{ده@زاریک}{@Mi}
3000 \eqcommand{ده@زاردو}{@Mii}
3001 \eqcommand{ده@زارسه}{@Miii}
3002 \eqcommand{ده@زارچهار}{@Miv}
3003 \eqcommand{بیس@زار}{@MM}
3004 \eqcommand{من@ا}{m@ne}
3005 \eqcommand{بزرگ‌نمایی}{mag}
3006 \eqcommand{گام}{magstep}
3007 \eqcommand{نیم‌گام}{magstephalf}
3008 \eqcommand{مطلب‌اصلی}{mainmatter}
3009 \eqcommand{ات‌حرف}{makeatletter}
3010 \eqcommand{ات‌دیگر}{makeatother}
3011 \eqcommand{کادربی‌خط}{makebox}
3012 \eqcommand{ساخت‌فرهنگ}{makeglossary}
3013 \eqcommand{تهیه‌نمایه}{makeindex}
3014 \eqcommand{ساخت‌برچسب}{makelabel}
3015 \eqcommand{ساخت‌برچسب‌ها}{makelabels}
3016 \eqcommand{ساخت‌حروف‌کوچک}{MakeLowercase}
3017 \eqcommand{عنوان‌ساز}{maketitle}
3018 \eqcommand{ساخت‌حروف‌بزرگ}{MakeUppercase}
3019 \eqcommand{درحاشیه}{marginpar}
3020 \eqcommand{فاصله‌دوحاشیه}{marginparpush}
3021 \eqcommand{فاصله‌تاحاشیه}{marginparsep}
3022 \eqcommand{پهنای‌حاشیه}{marginparwidth}
3023 \eqcommand{علامت}{mark}
3024 \eqcommand{علامت‌دردوطرف}{markboth}
3025 \eqcommand{علامت‌درراست}{markright}
3026 \eqcommand{اعراب‌ریاضی}{mathaccent}
3027 \eqcommand{نویسه‌ریاضی}{mathchar}
3028 \eqcommand{تعریف‌نویسه‌ریاضی}{mathchardef}
3029 \eqcommand{کدریاضی}{mathcode}
3030 \eqcommand{ریاضی‌رومن}{mathrm}
3031 \eqcommand{حداکثرتکرار}{maxdeadcycles}
3032 \eqcommand{حداکثرعمق‌صفحه}{maxdepth}
3033 \eqcommand{بعدبیشین}{maxdimen}
3034 \eqcommand{کادربی}{mbox}
3035 \eqcommand{شمایل‌نازک}{mdseries}
3036 \eqcommand{معنا}{meaning}
3037 \eqcommand{نازک}{mediumseries}
3038 \eqcommand{فاصله‌متوسط‌ریاضی}{medmuskip}
3039 \eqcommand{پرش‌متوسط}{medskip}
3040 \eqcommand{مقدارپرش‌متوسط}{medskipamount}
3041 \eqcommand{فضای‌متوسط}{medspace}
3042 \eqcommand{پیام}{message}
3043 \eqcommand{پیام‌شکن}{MessageBreak}
3044 \eqcommand{حداقل‌فاصله‌ردیف}{minrowclearance}
3045 \eqcommand{دوری‌ریاضی}{mkern}
3046 \eqcommand{ماه}{month}
3047 \eqcommand{انتقال‌بچپ}{moveleft}
3048 \eqcommand{انتقال‌براست}{moveright}
3049 \eqcommand{فاصله‌ریاضی}{mskip}
3050 \eqcommand{ری@ضی}{m@th}
3051 \eqcommand{چندستونی}{multicolumn}
3052 \eqcommand{ضرب}{multiply}
3053 \eqcommand{چندادغام}{multispan}
3054 \eqcommand{میوفاصله}{muskip}
3055 \eqcommand{تعریف‌میوفاصله}{muskipdef}
3056 \eqcommand{@ترنام}{@namedef}
3057 \eqcommand{@کاربردنام}{@nameuse}
3058 \eqcommand{یک@}{@ne}
3059 \eqcommand{نام}{name}
3060 \eqcommand{طبیعی}{natural}
3061 \eqcommand{باریک}{nearrow}
3062 \eqcommand{باریکتر}{nearrower}
3063 \eqcommand{شکلبندی‌موردنیاز}{NeedsTeXFormat}
3064 \eqcommand{منفی}{neg}
3065 \eqcommand{فضای‌متوسط‌منفی}{negmedspace}
3066 \eqcommand{فضای‌ضخیم‌منفی}{negthickspace}
3067 \eqcommand{دوری‌کوچک‌منفی}{negthinspace}
3068 \eqcommand{بولی‌نو}{newboolean}
3069 \eqcommand{کادرجدید}{newbox}
3070 \eqcommand{فرمان‌نو}{newcommand}
3071 \eqcommand{شمارجدید}{newcount}
3072 \eqcommand{شمارنده‌جدید}{newcounter}
3073 \eqcommand{بعدجدید}{newdimen}
3074 \eqcommand{محیط‌نو}{newenvironment}
3075 \eqcommand{خانواده‌جدید}{newfam}
3076 \eqcommand{قلم‌نو}{newfont}
3077 \eqcommand{کمک‌جدید}{newhelp}
3078 \eqcommand{درج‌جدید}{newinsert}
3079 \eqcommand{برچسب‌جدید}{newlabel}
3080 \eqcommand{تعریف‌بعدجدید}{newlength}
3081 \eqcommand{سطرجدید}{newline}
3082 \eqcommand{نویسه‌سطرجدید}{newlinechar}
3083 \eqcommand{میوفاصله‌جدید}{newmuskip}
3084 \eqcommand{صفحه‌جدید}{newpage}
3085 \eqcommand{بخوان‌جدید}{newread}
3086 \eqcommand{تعریف‌کادرجدید}{newsavebox}
3087 \eqcommand{فاصله‌جدید}{newskip}
3088 \eqcommand{قضیه‌جدید}{newtheorem}
3089 \eqcommand{جزءجدید}{newtoks}
3090 \eqcommand{بنویس‌جدید}{newwrite}
3091 \eqcommand{بی‌ردیف}{noalign}
3092 \eqcommand{نشکن}{nobreak}
3093 \eqcommand{فاصله‌نشکستنی}{nobreakspace}
3094 \eqcommand{بدون‌سند}{nocite}
3095 \eqcommand{نگستر}{noexpand}
3096 \eqcommand{بدون‌پرونده}{nofiles}
3097 \eqcommand{بدون‌تورفتگی}{noindent}
3098 \eqcommand{بی‌فاصله‌سطر}{nointerlineskip}
3099 \eqcommand{بدون‌حد}{nolimits}
3100 \eqcommand{سطرنشکن}{nolinebreak}
3101 \eqcommand{پردازش‌بدون‌توقف}{nonstopmode}
3102 \eqcommand{فواصل‌متعارف‌لاتین}{nonfrenchspacing}
3103 \eqcommand{بدون‌شماره}{nonumber}
3104 \eqcommand{صفحه‌نشکن}{nopagebreak}
3105 \eqcommand{کرسیهای‌متعارف}{normalbaselines}
3106 \eqcommand{فاصله‌کرسی‌متعارف}{normalbaselineskip}
3107 \eqcommand{رنگ‌عادی}{normalcolor}
3108 \eqcommand{قلم‌عادی}{normalfont}
3109 \eqcommand{فاصله‌سطرمتعارف}{normallineskip}
3110 \eqcommand{حدفاصله‌سطرمتعارف}{normallineskiplimit}
3111 \eqcommand{درحاشیه‌عادی}{normalmarginpar}
3112 \eqcommand{اندازه‌عادی}{normalsize}
3113 \eqcommand{بدون‌اتیکت}{notag}
3114 \eqcommand{نول}{null}
3115 \eqcommand{قلم‌تهی}{nullfont}
3116 \eqcommand{عدد}{number}
3117 \eqcommand{سطرعددی}{numberline}
3118 \eqcommand{شماره‌مطابق}{numberwithin}
3119 \eqcommand{پایین‌صفحه‌زوج}{@evenfoot}
3120 \eqcommand{بالای‌صفحه‌زوج}{@evenhead}
3121 \eqcommand{پایین‌صفحه‌فرد}{@oddfoot}
3122 \eqcommand{بالای‌صفحه‌فرد}{@oddhead}
3123 \eqcommand{شماره‌بیرون‌درست}{@outeqntrue}
3124 \eqcommand{شماره‌بیرون‌نادرست}{@outeqnfalse}
3125 \eqcommand{سطربه‌سطر}{obeylines}
3126 \eqcommand{فضافعال}{obeyspaces}
3127 \eqcommand{حاشیه‌فرد}{oddsidemargin}
3128 \eqcommand{سطوربی‌فاصله}{offinterlineskip}
3129 \eqcommand{حذف}{omit}
3130 \eqcommand{@تنهادرپیش‌درآمد}{@onlypreamble}
3131 \eqcommand{یک‌ستون}{onecolumn}
3132 \eqcommand{تنها‌یادداشت‌ها}{onlynotes}
3133 \eqcommand{تنهااسلایدها}{onlyslides}
3134 \eqcommand{بازکن‌ورودی}{openin}
3135 \eqcommand{بازکن‌خروجی}{openout}
3136 \eqcommand{گزینه‌مصرف‌نشده}{OptionNotUsed}
3137 \eqcommand{یا}{or}
3138 \eqcommand{برونی}{outer}
3139 \eqcommand{صفحه‌بندی}{output}
3140 \eqcommand{جریمه‌صفحه‌بندی}{outputpenalty}
3141 \eqcommand{علامت‌سرریز}{overfullrule}
3142 \eqcommand{@فرمان‌های‌پیش‌درآمد}{@preamblecmds}
3143 \eqcommand{@پو}{p@}
3144 \eqcommand{خطای‌سبک}{PackageError}
3145 \eqcommand{اطلاع‌سبک}{PackageInfo}
3146 \eqcommand{هشدارسبک}{PackageWarning}
3147 \eqcommand{هشدارسبک‌بی‌سطر}{PackageWarningNoLine}
3148 \eqcommand{صفحه‌شکن}{pagebreak}
3149 \eqcommand{رنگ‌صفحه}{pagecolor}
3150 \eqcommand{عمق‌صفحه}{pagedepth}
3151 \eqcommand{کشش‌پرررصفحه}{pagefilllstretch}
3152 \eqcommand{کشش‌پررصفحه}{pagefillstretch}
3153 \eqcommand{کشش‌پرصفحه}{pagefilstretch}
3154 \eqcommand{غایت‌صفحه}{pagegoal}
3155 \eqcommand{نام‌صفحه}{pagename}
3156 \eqcommand{شماره‌گذاری‌صفحه}{pagenumbering}
3157 \eqcommand{رجوع‌صفحه}{pageref}
3158 \eqcommand{ضخامت‌خط‌صفحه}{pagerulewidth}
3159 \eqcommand{فشردگی‌صفحه}{pageshrink}
3160 \eqcommand{کشش‌صفحه}{pagestretch}
3161 \eqcommand{سبک‌صفحه}{pagestyle}
3162 \eqcommand{جمع‌صفحه}{pagetotal}
3163 \eqcommand{بلندای‌کاغذ}{paperheight}
3164 \eqcommand{پهنای‌کاغذ}{paperwidth}
3165 \bidi@csdefcs{بند}{par}% this is an exception since \par is redefined only in some circumstances
3166 \eqcommand{پاراگراف}{paragraph}
3167 \eqcommand{موازی}{parallel}
3168 \eqcommand{کادرپار}{parbox}
3169 \eqcommand{فاصله‌ته‌بند}{parfillskip}
3170 \eqcommand{تورفتگی‌سربند}{parindent}
3171 \eqcommand{فاصله‌بندلیست}{parsep}
3172 \eqcommand{شکل‌بند}{parshape}
3173 \eqcommand{فاصله‌بند}{parskip}
3174 \eqcommand{بخش}{part}
3175 \eqcommand{عنوان‌بخش}{partname}
3176 \eqcommand{فاصله‌بالای‌لیست‌بند}{partopsep}
3177 \eqcommand{ارسال‌گزینه‌به‌کلاس}{PassOptionToClass}
3178 \eqcommand{ارسال‌گزینه‌به‌پکیج}{PassOptionToPackage}
3179 \eqcommand{مسیر}{path}
3180 \eqcommand{الگوها}{patterns}
3181 \eqcommand{مکث}{pausing}
3182 \eqcommand{جریمه}{penalty}
3183 \eqcommand{غیب}{phantom}
3184 \eqcommand{الگوی‌قبلی}{poptabs}
3185 \eqcommand{جریمه‌پس‌نمایش}{postdisplaypenalty}
3186 \eqcommand{جهت‌پیش‌نمایش}{predisplaydirection}
3187 \eqcommand{جریمه‌پیش‌نمایش}{predisplaypenalty}
3188 \eqcommand{اندازه‌پیش‌نمایش}{predisplaysize}
3189 \eqcommand{پیش‌حدبدنمایی}{pretolerance}
3190 \eqcommand{عمق‌قبلی}{prevdepth}
3191 \eqcommand{بندقبلی}{prevgraf}
3192 \eqcommand{نمایه‌دراینجا}{printindex}
3193 \eqcommand{پردازش‌گزینه‌ها}{ProcessOptions}
3194 \eqcommand{تامین}{protect}
3195 \eqcommand{تهیه‌فرمان}{providecommand}
3196 \eqcommand{آماده‌سازی‌طبقه}{ProvidesClass}
3197 \eqcommand{آماده‌سازی‌پرونده}{ProvidesFile}
3198 \eqcommand{آماده‌سازی‌سبک}{ProvidesPackage}
3199 \eqcommand{ثبت‌الگو}{pushtabs}
3200 \eqcommand{کواد}{quad}
3201 \eqcommand{کوکواد}{qquad}
3202 \eqcommand{@بازآیی‌خروج‌صفحه}{@outputpagerestore}
3203 \eqcommand{رادیکال}{radical}
3204 \eqcommand{پایین‌بی‌تنظیم}{raggedbottom}
3205 \eqcommand{تنظیم‌ازراست}{raggedleft}
3206 \eqcommand{تنظیم‌ازچپ}{raggedright}
3207 \eqcommand{انتقال‌ببالا}{raise}
3208 \eqcommand{بالابر}{raisebox}
3209 \eqcommand{ترفیع‌اتیکت}{raisetag}
3210 \eqcommand{زاویه‌ر}{rangle}
3211 \eqcommand{سقف‌ر}{rceil}
3212 \eqcommand{بخوان}{read}
3213 \eqcommand{رجوع}{ref}
3214 \eqcommand{کادرقرینه}{reflectbox}
3215 \eqcommand{عنوان‌مراجع}{refname}
3216 \eqcommand{گام‌شمارنده‌مرجع}{refstepcounter}
3217 \eqcommand{راحت}{relax}
3218 \eqcommand{رفع‌آخرین‌فاصله}{removelastskip}
3219 \eqcommand{فرمان‌ازنو}{renewcommand}
3220 \eqcommand{محیط‌ازنو}{renewenvironment}
3221 \eqcommand{سبک‌موردنیاز}{RequirePackage}
3222 \eqcommand{سبک‌موردنیازباگزینه}{RequirePackageWithOptions}
3223 \eqcommand{کادرکشیده}{resizebox}
3224 \eqcommand{درحاشیه‌معکوس}{reversemarginpar}
3225 \eqcommand{کف‌ر}{rfloor}
3226 \eqcommand{راست}{right}
3227 \eqcommand{حاشیه‌راست}{rightmargin}
3228 \eqcommand{علامت‌راست}{rightmark}
3229 \eqcommand{کادرتاراست}{rightpageskip}
3230 \eqcommand{فاصله‌انتهای‌سطر}{rightskip}
3231 \eqcommand{رومن‌عادی}{rmdefault}
3232 \eqcommand{فامیل‌رومن}{rmfamily}
3233 \eqcommand{رومن‌بزرگ}{Roman}
3234 \eqcommand{رومن‌کوچک}{roman}
3235 \eqcommand{عددرومی}{romannumeral}
3236 \eqcommand{کادرچرخان}{rotatebox}
3237 \eqcommand{رنگ‌ردیف}{rowcolor}
3238 \eqcommand{خط}{rule}
3239 \eqcommand{@دومی‌ازدو}{@secondoftwo}
3240 \eqcommand{@فضاها}{@spaces}
3241 \eqcommand{همین‌صفحه}{samepage}
3242 \eqcommand{مقدارکادر}{savebox}
3243 \eqcommand{مقکادر}{sbox}
3244 \eqcommand{کادراندازه}{scalebox}
3245 \eqcommand{پیش‌فرض‌تمام‌بزرگ}{scdefault}
3246 \eqcommand{شکل‌تمام‌بزرگ}{scshape}
3247 \eqcommand{مقدارکلیدها}{setkeys}
3248 \eqcommand{قلم‌توان}{scriptfont}
3249 \eqcommand{قلم‌توان‌توان}{scriptscriptfont}
3250 \eqcommand{سبک‌ته‌نوشت‌ته‌نوشت}{scriptscriptstyle}
3251 \eqcommand{اندازه‌پانویس}{scriptsize}
3252 \eqcommand{سبک‌ته‌نوشت}{scripstyle}
3253 \eqcommand{پردازش‌گذری}{scrollmode}
3254 \eqcommand{قسمت}{section}
3255 \eqcommand{تعریف‌قسمت}{secdef}
3256 \eqcommand{ببینید}{see}
3257 \eqcommand{نیزببینید}{seealso}
3258 \eqcommand{نام‌ببینید}{seename}
3259 \eqcommand{قلم‌بردار}{selectfont}
3260 \eqcommand{تنظیم‌بولی}{setboolean}
3261 \eqcommand{درکادر}{setbox}
3262 \eqcommand{مقدارشمارنده}{setcounter}
3263 \eqcommand{مقداربعد}{setlength}
3264 \eqcommand{تنظیم‌منها}{setminus}
3265 \eqcommand{تعریف‌قلم‌علائم}{SetSymbolFont}
3266 \eqcommand{تنظیم‌به‌عمق}{settodepth}
3267 \eqcommand{تنظیم‌به‌ارتفاع}{settoheight}
3268 \eqcommand{مقداربعدبه‌اندازه}{settowidth}
3269 \eqcommand{کدضریب‌فاصله}{sfcode}
3270 \eqcommand{پیش‌فرض‌س‌ف}{sfdefault}
3271 \eqcommand{فامیل‌سن‌سریف}{sffamily}
3272 \eqcommand{کادرسایه‌دار}{shadowbox}
3273 \eqcommand{تیز}{sharp}
3274 \eqcommand{بفرست}{shipout}
3275 \eqcommand{پشته‌کوتاه}{shortstack}
3276 \eqcommand{نمایش‌بده}{show}
3277 \eqcommand{نمایش‌بده‌کادر}{showbox}
3278 \eqcommand{میزان‌نمایش‌کادر}{showboxbreadth}
3279 \eqcommand{عمق‌نمایش‌کادر}{showboxdepth}
3280 \eqcommand{نمایش‌بده‌لیستها}{showlists}
3281 \eqcommand{نمایش‌بده‌محتوای}{showthe}
3282 \eqcommand{حالت‌ساده‌قلم}{simplefontmode}
3283 \eqcommand{شانزد@}{sixt@@n}
3284 \eqcommand{نویسه‌اریب}{skewchar}
3285 \eqcommand{فاصله}{skip}
3286 \eqcommand{فاصل@}{skip@}
3287 \eqcommand{تعریف‌فاصله}{skipdef}
3288 \eqcommand{خوابیده}{sl}
3289 \eqcommand{پیش‌فرض‌خو}{sldefault}
3290 \eqcommand{شکل‌خوابیده}{slshape}
3291 \eqcommand{راحت‌چین}{sloppy}
3292 \eqcommand{شمایل‌خو}{slshape}
3293 \eqcommand{کوچک}{small}
3294 \eqcommand{پرش‌کوتاه}{smallskip}
3295 \eqcommand{مقدارپرش‌کوتاه}{smallskipamount}
3296 \eqcommand{کوب}{smash}
3297 \eqcommand{لبخند}{smile}
3298 \eqcommand{کدمکان‌همانطور}{snglfntlocatecode}
3299 \eqcommand{فضا}{space}
3300 \eqcommand{ضریب‌فاصله}{spacefactor}
3301 \eqcommand{فاصله‌کلمات}{spaceskip}
3302 \eqcommand{پیک}{spadesuit}
3303 \eqcommand{ادغام}{span}
3304 \eqcommand{ویژه}{special}
3305 \eqcommand{حداکثرعمق‌ستون}{splitmaxdepth}
3306 \eqcommand{فاصله‌بالای‌ستون}{splittopskip}
3307 \eqcommand{ستاره}{star}
3308 \eqcommand{گام‌شمارنده}{stepcounter}
3309 \eqcommand{کشی}{stretch}
3310 \eqcommand{رشته}{string}
3311 \eqcommand{شمع}{strut}
3312 \eqcommand{کادرشمع}{strutbox}
3313 \eqcommand{زیربند}{subitem}
3314 \eqcommand{زیرپاراگراف}{subparagraph}
3315 \eqcommand{زیرقسمت}{subsection}
3316 \eqcommand{زیرپشته}{substack}
3317 \eqcommand{زیرزیربند}{subsubitem}
3318 \eqcommand{زیرزیرقسمت}{subsubsection}
3319 \eqcommand{زیرمجموعه}{subset}
3320 \eqcommand{زیرمجموعه‌مس}{subseteq}
3321 \eqcommand{منتهای‌صفحه}{supereject}
3322 \eqcommand{حذف‌مکان‌شناور}{suppressfloats}
3323 \eqcommand{@موقت‌آ}{@tempa}
3324 \eqcommand{@موقت‌ب}{@tempb}
3325 \eqcommand{@موقت‌پ}{@tempc}
3326 \eqcommand{@موقت‌ت}{@tempd}
3327 \eqcommand{@موقت‌ث}{@tempe}
3328 \eqcommand{@کادرقت‌آ}{@tempboxa}
3329 \eqcommand{@شماقت‌آ}{@tempcnta}
3330 \eqcommand{@شماقت‌ب}{@tempcntb}
3331 \eqcommand{@بعدقت‌آ}{@tempdima}
3332 \eqcommand{@بعدقت‌ب}{@tempdimb}
3333 \eqcommand{@بعدقت‌پ}{@tempdimc}
3334 \eqcommand{@فاقت‌آ}{@tempskipa}
3335 \eqcommand{@فاقت‌ب}{@tempskipb}
3336 \eqcommand{@سواقت‌آنادرست}{@tempswafalse}
3337 \eqcommand{@سواقت‌آدرست}{@tempswatrue}
3338 \eqcommand{@جزقت‌آ}{@temptokena}
3339 \eqcommand{انگ‌زیرنویس}{@thefnmark}
3340 \eqcommand{@سومی‌ازسه}{@thirdofthree}
3341 \eqcommand{فاصله‌جاگذاری}{tabbingsep}
3342 \eqcommand{فاصله‌بین‌ستونها}{tabcolsep}
3343 \eqcommand{فهرست‌مطالب}{tableofcontents}
3344 \eqcommand{عنوان‌جدول}{tablename}
3345 \eqcommand{فاصله‌ستونها}{tabskip}
3346 \eqcommand{ته‌سطرجدول}{tabularnewline}
3347 \eqcommand{اتیکت}{tag}
3348 \eqcommand{تلفن}{telephone}
3349 \eqcommand{تک}{TeX}
3350 \eqcommand{متن}{text}
3351 \eqcommand{گلوله‌متنی}{textbullet}
3352 \eqcommand{قلم‌متن}{textfont}
3353 \eqcommand{ام‌دش‌متنی}{textemdash}
3354 \eqcommand{ان‌دش‌متنی}{textendash}
3355 \eqcommand{تعجب‌وارونه‌متنی}{textexclamdown}
3356 \eqcommand{نقطه‌وسط‌متنی}{textperiodcentered}
3357 \eqcommand{سوال‌وارونه‌متنی}{textquestiondown}
3358 \eqcommand{نقل‌چپ‌متنی‌دولا}{textquotedblleft}
3359 \eqcommand{نقل‌راست‌متنی‌دولا}{textquotedblright}
3360 \eqcommand{نقل‌متنی‌چپ}{textquoteleft}
3361 \eqcommand{نقل‌متنی‌راست}{textquoteright}
3362 \eqcommand{فضای‌نمایان‌متنی‌}{textvisiblespace}
3363 \eqcommand{شکافت‌پشت‌متنی}{textbackslash}
3364 \eqcommand{میله‌متنی}{textbar}
3365 \eqcommand{بزرگ‌تر‌متنی}{textgreater}
3366 \eqcommand{کمتر‌متنی}{textless}
3367 \eqcommand{متن‌سیاه}{textbf}
3368 \eqcommand{مدور‌متنی}{textcircled}
3369 \eqcommand{رنگ‌متن}{textcolor}
3370 \eqcommand{نشان‌کلمه‌مرکب‌متن}{textcompwordmark}
3371 \eqcommand{فاصله‌متن‌وشناور}{textfloatsep}
3372 \eqcommand{نسبت‌متن}{textfraction}
3373 \eqcommand{بلندای‌متن}{textheight}
3374 \eqcommand{متن‌تورفته}{textindent}
3375 \eqcommand{متن‌ایتالیک}{textit}
3376 \eqcommand{متن‌نازک}{textmd}
3377 \eqcommand{متن‌نرمال}{textnormal}
3378 \eqcommand{ثبتی‌متنی}{textregistered}
3379 \eqcommand{متن‌رومن}{textrm}
3380 \eqcommand{متن‌تمام‌بزرگ}{textsc}
3381 \eqcommand{متن‌سن‌سریف}{textsf}
3382 \eqcommand{متن‌خوابیده}{textsl}
3383 \eqcommand{سبک‌متنی}{textstyle}
3384 \eqcommand{بالانویس‌متنی}{textsuperscript}
3385 \eqcommand{علامت‌تجاری‌متنی}{texttrademark}
3386 \eqcommand{متن‌تایپ}{texttt}
3387 \eqcommand{متن‌ایستاده}{textup}
3388 \eqcommand{پهنای‌متن}{textwidth}
3389 \eqcommand{زیر‌نویس‌عنوان}{thanks}
3390 \eqcommand{محتوای}{the}
3391 \eqcommand{این‌زیرنویس}{thempfn}
3392 \eqcommand{خط‌هاضخیم}{thicklines}
3393 \eqcommand{فاصله‌زیادریاضی}{thickmuskip}
3394 \eqcommand{فاصله‌کم‌ریاضی}{thinmuskip}
3395 \eqcommand{فضاضخیم}{thickspace}
3396 \eqcommand{خط‌هانازک}{thinlines}
3397 \eqcommand{دوری‌کوچک}{thinspace}
3398 \eqcommand{این‌صفحه‌تجملی}{thisfancypage}
3399 \eqcommand{سبک‌این‌صفحه}{thispagestyle}
3400 \eqcommand{سه@}{thr@@}
3401 \eqcommand{مد}{tilde}
3402 \eqcommand{ظریف}{tiny}
3403 \eqcommand{زمان}{time}
3404 \eqcommand{ضرب‌در}{times}
3405 \eqcommand{عنوان}{title}
3406 \eqcommand{به}{to}
3407 \eqcommand{امروز}{today}
3408 \eqcommand{جزء}{toks}
3409 \eqcommand{تعریف‌جزء}{toksdef}
3410 \eqcommand{حدبدنمایی}{tolerance}
3411 \eqcommand{بالا}{top}
3412 \eqcommand{خط‌بالای‌شناور}{topfigrule}
3413 \eqcommand{نسبت‌بالا}{topfraction}
3414 \eqcommand{حاشیه‌بالا}{topmargin}
3415 \eqcommand{علامت‌بالا}{topmark}
3416 \eqcommand{کادرتابالا}{toppageskip}
3417 \eqcommand{فاصله‌بالای‌لیست}{topsep}
3418 \eqcommand{فاصله‌بالا}{topskip}
3419 \eqcommand{بلندای‌کل}{totalheight}
3420 \eqcommand{ردگیری‌کل}{tracingall}
3421 \eqcommand{ردگیری‌فرامین}{tracingcommands}
3422 \eqcommand{ردگیری‌حروف}{tracinglostchars}
3423 \eqcommand{ردگیری‌ماکروها}{tracingmacros}
3424 \eqcommand{ردگیری‌نمایشی}{tracingonline}
3425 \eqcommand{ردگیری‌صفحه‌بندی}{tracingoutput}
3426 \eqcommand{ردگیری‌صفحات}{tracingpages}
3427 \eqcommand{ردگیری‌بندها}{tracingparagraphs}
3428 \eqcommand{ردگیری‌بازگردانی}{tracingrestores}
3429 \eqcommand{ردگیری‌آمارها}{tracingstats}
3430 \eqcommand{مثلث}{triangle}
3431 \eqcommand{پیش‌فرض‌تایپ}{ttdefault}
3432 \eqcommand{فامیل‌تایپ}{ttfamily}
3433 \eqcommand{دو@}{tw@}
3434 \eqcommand{دوستون}{twocolumn}
3435 \eqcommand{درنویس}{typein}
3436 \eqcommand{برنویس}{typeout}
3437 \eqcommand{کدبزرگ}{uccode}
3438 \eqcommand{تیره‌بندی‌بزرگ}{uchyph}
3439 \eqcommand{زیرخط}{underline}
3440 \eqcommand{بی‌کادرا}{unhbox}
3441 \eqcommand{بی‌کپی‌ا}{unhcopy}
3442 \eqcommand{واحدطول}{unitlength}
3443 \eqcommand{برگشت‌دوری}{unkern}
3444 \eqcommand{برگشت‌جریمه}{unpenalty}
3445 \eqcommand{برگشت‌فاصله}{unskip}
3446 \eqcommand{بی‌کادرو}{unvbox}
3447 \eqcommand{بی‌کپی‌و}{unvcopy}
3448 \eqcommand{پیش‌فرض‌ایستاده}{updefault}
3449 \eqcommand{شکل‌ایستاده}{upshape}
3450 \eqcommand{ازکادر}{usebox}
3451 \eqcommand{باشمارشگر}{usecounter}
3452 \eqcommand{گزینش‌قلم}{usefont}
3453 \eqcommand{سبک‌لازم}{usepackage}
3454 \eqcommand{@فضاهای‌فعال}{@vobeyspaces}
3455 \eqcommand{@تهی}{@void}
3456 \eqcommand{تنظیم‌و}{vadjust}
3457 \eqcommand{ردیف‌و}{valign}
3458 \eqcommand{محتوای‌شمارنده}{value}
3459 \eqcommand{بدنمایی‌و}{vbadness}
3460 \eqcommand{کادرو}{vbox}
3461 \eqcommand{کادروسط}{vcenter}
3462 \eqcommand{همانطور}{verb}
3463 \eqcommand{پرو}{vfil}
3464 \eqcommand{پررو}{vfill}
3465 \eqcommand{رفع‌پرو}{vfilneg}
3466 \eqcommand{پرزعمودی}{vfuzz}
3467 \eqcommand{نمایان}{visible}
3468 \eqcommand{خط‌عمود}{vline}
3469 \eqcommand{حاشیه‌و}{voffset}
3470 \eqcommand{ک@درتهی}{voidb@x}
3471 \eqcommand{ارجاع‌صفحه‌ع}{vpageref}
3472 \eqcommand{فاصله‌وگرد}{vrboxsep}
3473 \eqcommand{ارجاع‌ع}{vref}
3474 \eqcommand{خط‌و}{vrule}
3475 \eqcommand{طول‌صفحه}{vsize}
3476 \eqcommand{فاصله‌و}{vskip}
3477 \eqcommand{فضای‌و}{vspace}
3478 \eqcommand{شکست‌و}{vsplit}
3479 \eqcommand{هردوو}{vss}
3480 \eqcommand{کادرگود}{vtop}
3481 \eqcommand{عرض}{wd}
3482 \eqcommand{مادام‌بکن}{whiledo}
3483 \eqcommand{کلاه‌پهن}{widehat}
3484 \eqcommand{مدپهن}{widetilde}
3485 \eqcommand{جریمه‌ته‌بند}{widowpenalty}
3486 \eqcommand{پهنا}{width}
3487 \eqcommand{درکارنامه}{wlog}
3488 \eqcommand{بنویس}{write}
3489 \eqcommand{@فضای‌لاتین}{@xobeysp}
3490 \eqcommand{سی@دو}{@xxxii}
3491 \eqcommand{ترگع}{xdef}
3492 \eqcommand{نشانگرگسترشی}{xleaders}
3493 \eqcommand{فاصله‌اضافی‌کلمات}{xspaceskip}
3494 \eqcommand{سال}{year}
3495 \eqcommand{@فر}{z@}
3496 \eqcommand{@فرفاصله}{z@skip}
3497 % \end{macrocode}
3498 % \iffalse
3499 %</commands-ltx.def>
3500 %<*color-localise.def>
3501 %\fi
3502 % \subsection{\textsf{color-localise.def}}
3503 % \begin{macrocode}
3504 \آماده‌سازی‌پرونده{color-localise.def}[2011/03/01 v0.1 localising color package]
3505 \تعریف‌رنگ{سیاه}{rgb}{0,0,0}
3506 \تعریف‌رنگ{سفید}{rgb}{1,1,1}
3507 \تعریف‌رنگ{قرمز}{rgb}{1,0,0}
3508 \تعریف‌رنگ{سبز}{rgb}{0,1,0}
3509 \تعریف‌رنگ{آبی}{rgb}{0,0,1}
3510 \تعریف‌رنگ{آسمانی}{cmyk}{1,0,0,0}
3511 \تعریف‌رنگ{بنفش}{cmyk}{0,1,0,0}
3512 \تعریف‌رنگ{زرد}{cmyk}{0,0,1,0}
3513 % \end{macrocode}
3514 % \iffalse
3515 %</color-localise.def>
3516 %<*commands-xepersian.def>
3517 %\fi
3518 % \subsection{\textsf{commands-xepersian.def}}
3519 % \begin{macrocode}
3520 \ProvidesFile{commands-xepersian.def}[2010/07/25 v0.1 Persian localisation of XePersian commands]
3521 \eqcommand{خط‌زیرنویس‌خودکار}{autofootnoterule}
3522 \eqcommand{اعدادفرمولهاخودکار}{AutoMathsDigits}
3523 \eqcommand{اعدادفرمولهالاتین}{DefaultMathsDigits}
3524 \eqcommand{معادل@کلید}{keyval@eq@alias@key}
3525 \eqcommand{تعریف‌قلم‌لاتین}{deflatinfont}
3526 \eqcommand{تعریف‌قلم‌پارسی}{defpersianfont}
3527 \eqcommand{کادراچپ}{hboxL}
3528 \eqcommand{کادراست}{hboxR}
3529 \eqcommand{مرجع‌لاتین}{Latincite}
3530 \eqcommand{قلم‌لاتین}{latinfont}
3531 \eqcommand{امروزلاتین}{latintoday}
3532 \eqcommand{خط‌زیرنویس‌چپ}{leftfootnoterule}
3533 \eqcommand{متن‌لاتین}{lr}
3534 \eqcommand{چپ‌براست}{LRE}
3535 \eqcommand{دوستونی‌چپ}{LTRdblcol}
3536 \eqcommand{پانویس}{LTRfootnote}
3537 \eqcommand{متن‌پانویس}{LTRfootnotetext}
3538 \eqcommand{پانویس‌عنوان}{LTRthanks}
3539 \eqcommand{قلم‌پارسی}{persianfont}
3540 \eqcommand{اعدادفرمولهاپارسی}{PersianMathsDigits}
3541 \eqcommand{علامت‌چپ‌نقل‌قول‌پارسی}{plq}
3542 \eqcommand{علامت‌راست‌نقل‌قول‌پارسی}{prq}
3543 \eqcommand{خط‌زیرنویس‌راست}{rightfootnoterule}
3544 \eqcommand{متن‌پارسی}{rl}
3545 \eqcommand{راست‌بچپ}{RLE}
3546 \eqcommand{دوستونی‌راست}{RTLdblcol}
3547 \eqcommand{پانوشت}{RTLfootnote}
3548 \eqcommand{متن‌پانوشت}{RTLfootnotetext}
3549 \eqcommand{پانوشت‌عنوان}{RTLthanks}
3550 \eqcommand{@علامت‌بین}{@SepMark}
3551 \eqcommand{علامت‌بین}{SepMark}
3552 \eqcommand{بگذارمرجوعات‌عادی}{setdefaultbibitems}
3553 \eqcommand{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
3554 \eqcommand{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
3555 \eqcommand{بگذارزیرنویس‌چپ}{setfootnoteLR}
3556 \eqcommand{بگذارزیرنویس‌راست}{setfootnoteRL}
3557 \eqcommand{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
3558 \eqcommand{بگذارمتن‌چپ}{setLTR}
3559 \eqcommand{بگذارمرجوعات‌چپ}{setLTRbibitems}
3560 \eqcommand{بگذاردرحاشیه‌چپ}{setLTRmarginpar}
3561 \eqcommand{بگذارمتن‌راست}{setRTL}
3562 \eqcommand{بگذارمرجوعات‌راست}{setRTLbibitems}
3563 \eqcommand{بگذاردرحاشیه‌راست}{setRTLmarginpar}
3564 \eqcommand{گزینش‌قلم‌متن}{settextfont}
3565 \eqcommand{خط‌زیرنویس‌پهنای‌متن}{textwidthfootnoterule}
3566 \eqcommand{فهرست‌مطالب‌دوستونی}{twocolumnstableofcontents}
3567 \eqcommand{نگذارزیرنویس‌راست}{unsetfootnoteRL}
3568 \eqcommand{نگذارمتن‌چپ}{unsetLTR}
3569 \eqcommand{نگذارمتن‌راست}{unsetRTL}
3570 \eqcommand{کادروازچپ}{vboxL}
3571 \eqcommand{کادروازراست}{vboxR}
3572 \eqcommand{زی‌لاتک}{XeLaTeX}
3573 \eqcommand{زی‌پرشین}{XePersian}
3574 \eqcommand{گونه‌زی‌پرشین}{xepersianversion}
3575 \eqcommand{تاریخ‌گونه‌زی‌پرشین}{xepersiandate}
3576 \eqcommand{زی‌تک}{XeTeX}
3577 % \end{macrocode}
3578 % \iffalse
3579 %</commands-xepersian.def>
3580 %<*empheq-xepersian.def>
3581 %\fi
3582 % \subsection{\textsf{empheq-xepersian.def}}
3583 % \begin{macrocode}
3584 \ProvidesFile{empheq-xepersian.def}[2011/03/01 v0.1 adaptations for empheq package]
3585 \def\tagform@#1{\maketag@@@{\if@Latin\else\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@Latin\else\endR\fi}}
3586 \def\text#1{\@@text{\if@Latin\else\beginR\fi#1\if@Latin\else\endR\fi}}
3587 % \end{macrocode}
3588 % \iffalse
3589 %</empheq-xepersian.def>
3590 %<*enumerate-xepersian.def>
3591 %\fi
3592 % \subsection{\textsf{enumerate-xepersian.def}}
3593 % \begin{macrocode}
3594 \ProvidesFile{enumerate-xepersian.def}[2010/07/25 v0.1 adaptations for enumerate package]
3595 \def\@enloop@{%
3596 \ifx ا\@entemp \def\@tempa{\@enLabel\harfi }\else
3597 \ifx ی\@entemp \def\@tempa{\@enLabel\adadi }\else
3598 \ifx ت\@entemp \def\@tempa{\@enLabel\tartibi }\else
3599 \ifx A\@entemp \def\@tempa{\@enLabel\Alph }\else
3600 \ifx a\@entemp \def\@tempa{\@enLabel\alph }\else
3601 \ifx i\@entemp \def\@tempa{\@enLabel\roman }\else
3602 \ifx I\@entemp \def\@tempa{\@enLabel\Roman }\else
3603 \ifx 1\@entemp \def\@tempa{\@enLabel\arabic}\else
3604 \ifx \@sptoken\@entemp \let\@tempa\@enSpace \else
3605 \ifx \bgroup\@entemp \let\@tempa\@enGroup \else
3606 \ifx \@enum@\@entemp \let\@tempa\@gobble \else
3607 \let\@tempa\@enOther
3608 \@enhook
3609 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
3610 \@tempa}
3611 % \end{macrocode}
3612 % \iffalse
3613 %</enumerate-xepersian.def>
3614 %<*environments-ltx.def>
3615 %\fi
3616 % \subsection{\textsf{environments-ltx.def}}
3617 % \begin{macrocode}
3618 \ProvidesFile{environments-ltx.def}[2010/07/25 v0.2 Persian localisation of LaTeX2e environments]
3619 \eqenvironment{چکیده}{abstract}
3620 \eqenvironment{پیوست}{appendix}
3621 \eqenvironment{آرایه}{array}
3622 \eqenvironment{وسط‌چین}{center}
3623 \eqenvironment{توضیح}{description}
3624 \eqenvironment{ریاضی‌نمایشی}{displaymath}
3625 \eqenvironment{نوشتار}{document}
3626 \eqenvironment{شمارش}{enumerate}
3627 \eqenvironment{شکل}{figure}
3628 \eqenvironment{شکل*}{figure*}
3629 \eqenvironment{محتوای‌پرونده}{filecontents}
3630 \eqenvironment{محتوای‌پرونده*}{filecontents*}
3631 \eqenvironment{چپ‌چین}{flushleft}
3632 \eqenvironment{راست‌چین}{flushright}
3633 \eqenvironment{فقرات}{itemize}
3634 \eqenvironment{نامه}{letter}
3635 \eqenvironment{لیست}{list}
3636 \eqenvironment{جدول‌دراز}{longtable}
3637 \eqenvironment{کادررچ}{lrbox}
3638 \eqenvironment{ریاضی}{math}
3639 \eqenvironment{ماتریس}{matrix}
3640 \eqenvironment{صفحه‌کوچک}{minipage}
3641 \eqenvironment{چندخطی}{multline}
3642 \eqenvironment{یادداشت}{note}
3643 \eqenvironment{انباشتن}{overlay}
3644 \eqenvironment{تصویر}{picture}
3645 \eqenvironment{اقتباس}{quotation}
3646 \eqenvironment{نقل}{quote}
3647 \eqenvironment{اسلاید}{slide}
3648 \eqenvironment{پارنامرتب}{sloppypar}
3649 \eqenvironment{شکافتن}{split}
3650 \eqenvironment{زیرآرایه}{subarray}
3651 \eqenvironment{جاگذاری}{tabbing}
3652 \eqenvironment{لوح}{table}
3653 \eqenvironment{لوح*}{table*}
3654 \eqenvironment{جدول}{tabular}
3655 \eqenvironment{جدول*}{tabular*}
3656 \eqenvironment{مراجع}{thebibliography}
3657 \eqenvironment{محتوای‌نمایه}{theindex}
3658 \eqenvironment{صفحه‌عنوان}{titlepage}
3659 \eqenvironment{لیست‌بدوی}{trivlist}
3660 \eqenvironment{شعر}{verse}
3661 % \end{macrocode}
3662 % \iffalse
3663 %</environments-ltx.def>
3664 %<*environments-xepersian.def>
3665 %\fi
3666 % \subsection{\textsf{environments-xepersian.def}}
3667 % \begin{macrocode}
3668 \ProvidesFile{environments-xepersian.def}[2010/07/25 v0.1 Persian localisation of XePersian and bidi environments]
3669 \eqenvironment{لاتین}{latin}
3670 \eqenvironment{متن‌چپ}{LTR}
3671 \eqenvironment{دسته‌بندی‌چپ}{LTRitems}
3672 \eqenvironment{شعرنو}{modernpoem}
3673 \eqenvironment{شعرنو*}{modernpoem*}
3674 \eqenvironment{پارسی}{persian}
3675 \eqenvironment{متن‌راست}{RTL}
3676 \eqenvironment{دسته‌بندی‌راست}{RTLitems}
3677 \eqenvironment{شعرسنتی}{traditionalpoem}
3678 \eqenvironment{شعرسنتی*}{traditionalpoem*}
3679 % \end{macrocode}
3680 % \iffalse
3681 %</environments-xepersian.def>
3682 %<*extarticle-xepersian.def>
3683 %\fi
3684 % \subsection{\textsf{extarticle-xepersian.def}}
3685 % \begin{macrocode}
3686 \ProvidesFile{extarticle-xepersian.def}[2010/07/25 v0.1 adaptations for extarticle class]
3687 \renewcommand\thepart {\@tartibi\c@part}
3688 \renewcommand\appendix{\par
3689 \setcounter{section}{0}%
3690 \setcounter{subsection}{0}%
3691 \gdef\thesection{\@harfi\c@section}}
3692 % \end{macrocode}
3693 % \iffalse
3694 %</extarticle-xepersian.def>
3695 %<*extbook-xepersian.def>
3696 %\fi
3697 % \subsection{\textsf{extbook-xepersian.def}}
3698 % \begin{macrocode}
3699 \ProvidesFile{extbook-xepersian.def}[2010/07/25 v0.1 adaptations for extbook class]
3700 \renewcommand\frontmatter{%
3701 \cleardoublepage
3702 \@mainmatterfalse
3703 \pagenumbering{harfi}}
3704 \renewcommand \thepart {\@tartibi\c@part}
3705 \renewcommand\appendix{\par
3706 \setcounter{chapter}{0}%
3707 \setcounter{section}{0}%
3708 \gdef\@chapapp{\appendixname}%
3709 \gdef\thechapter{\@harfi\c@chapter}
3710 }%end appendix
3711 % \end{macrocode}
3712 % \iffalse
3713 %</extbook-xepersian.def>
3714 %<*extrafootnotefeatures-xepersian.def>
3715 %\fi
3716 % \subsection{\textsf{extrafootnotefeatures-xepersian.def}}
3717 % \begin{macrocode}
3718 \ProvidesFile{extrafootnotefeatures-xepersian.def}[2012/01/01 v0.2 footnote macros for extrafootnotefeatures option of xepersian package]
3719 \renewcommand{\foottextfont}{\footnotesize\if@RTL@footnote\else\latinfont\fi}
3720 \renewcommand{\LTRfoottextfont}{\footnotesize\latinfont}
3721 \renewcommand{\RTLfoottextfont}{\footnotesize\persianfont}
3722 % \end{macrocode}
3723 % \iffalse
3724 %</extrafootnotefeatures-xepersian.def>
3725 %<*extreport-xepersian.def>
3726 %\fi
3727 % \subsection{\textsf{extreport-xepersian.def}}
3728 % \begin{macrocode}
3729 \ProvidesFile{extreport-xepersian.def}[2010/07/25 v0.1 adaptations for extreport class]
3730 \renewcommand\thepart {\@tartibi\c@part}
3731 \renewcommand\appendix{\par
3732 \setcounter{chapter}{0}%
3733 \setcounter{section}{0}%
3734 \gdef\@chapapp{\appendixname}%
3735 \gdef\thechapter{\@harfi\c@chapter}}
3736 % \end{macrocode}
3737 % \iffalse
3738 %</extreport-xepersian.def>
3739 %<*flowfram-xepersian.def>
3740 %\fi
3741 % \subsection{\textsf{flowfram-xepersian.def}}
3742 % \begin{macrocode}
3743 \ProvidesFile{flowfram-xepersian.def}[2010/07/25 v0.1 adaptations for flowfram package]
3744 \def\@outputpage{%
3745 \begingroup
3746 \let\protect\noexpand
3747 \@resetactivechars
3748 \global\let\@@if@newlist\if@newlist
3749 \global\@newlistfalse\@parboxrestore
3750 \shipout\vbox{\set@typeset@protect
3751 \aftergroup
3752 \endgroup
3753 \aftergroup
3754 \set@typeset@protect
3755 \reset@font\normalsize\normalsfcodes
3756 \let\label\@gobble
3757 \let\index\@gobble
3758 \let\glossary\@gobble
3759 \baselineskip\z@skip
3760 \lineskip\z@skip
3761 \lineskiplimit\z@
3762 \vskip\topmargin\moveright\@themargin
3763 \vbox{%
3764 \vskip\headheight
3765 \vskip\headsep
3766 \box\@outputbox
3767 }}%
3768 \global\let\if@newlist\@@if@newlist
3769 \stepcounter{page}%
3770 \setcounter{displayedframe}{0}%
3771 \let\firstmark\botmark}
3772 % \end{macrocode}
3773 % \iffalse
3774 %</flowfram-xepersian.def>
3775 %<*footnote-bidi-xepersian.def>
3776 %\fi
3777 % \subsection{\textsf{footnote-bidi-xepersian.def}}
3778 % \begin{macrocode}
3779 \ProvidesFile{footnote-bidi-xepersian.def}[2010/07/25 v0.2 footnote macros for xepersian package]
3780 \long\def\@footnotetext#1{%
3781 \begingroup
3782 \setbox\footins
3783 \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
3784 \interlinepenalty\interfootnotelinepenalty
3785 \splittopskip\footnotesep
3786 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
3787 \hsize\columnwidth \@parboxrestore
3788 \bidi@footnotetext@dir{#1}%
3789 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
3790 {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\strut}}%
3791 \bidi@footnotetext@after
3792 \insert\footins{\unvbox\footins}%
3793 \endgroup}
3794 \long\def\@RTLfootnotetext#1{%
3795 \begingroup
3796 \setbox\footins
3797 \vbox{\@RTLtrue\reset@font\footnotesize
3798 \interlinepenalty\interfootnotelinepenalty
3799 \splittopskip\footnotesep
3800 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
3801 \hsize\columnwidth \@parboxrestore
3802 \bidi@footnotetext@dir{#1}%
3803 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
3804 {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\strut}}%
3805 \bidi@footnotetext@after
3806 \insert\footins{\unvbox\footins}%
3807 \endgroup}
3808 \long\def\@LTRfootnotetext#1{%
3809 \begingroup
3810 \setbox\footins
3811 \vbox{\@RTLfalse\reset@font\footnotesize
3812 \interlinepenalty\interfootnotelinepenalty
3813 \splittopskip\footnotesep
3814 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
3815 \hsize\columnwidth \@parboxrestore
3816 \bidi@footnotetext@dir{#1}%
3817 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
3818 {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\strut}}%
3819 \bidi@footnotetext@after
3820 \insert\footins{\unvbox\footins}%
3821 \endgroup}
3822 \long\def\@mpfootnotetext#1{%
3823 \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
3824 \unvbox\@mpfootins
3825 \reset@font\footnotesize
3826 \hsize\columnwidth
3827 \@parboxrestore
3828 \protected@edef\@currentlabel
3829 {\csname p@mpfootnote\endcsname\@thefnmark}%
3830 \color@begingroup
3831 \bidi@footnotetext@dir{#1}
3832 \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
3833 \@makefntext{%
3834 \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
3835 \color@endgroup}}
3836 \long\def\@mpRTLfootnotetext#1{%
3837 \global\setbox\@mpfootins\vbox{\@RTLtrue%
3838 \unvbox\@mpfootins
3839 \reset@font\footnotesize
3840 \hsize\columnwidth
3841 \@parboxrestore
3842 \protected@edef\@currentlabel
3843 {\csname p@mpfootnote\endcsname\@thefnmark}%
3844 \color@begingroup
3845 \bidi@footnotetext@dir{#1}
3846 \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
3847 \@makefntext{%
3848 \rule\z@\footnotesep\ignorespaces\persianfont#1\@finalstrut\strutbox}%
3849 \color@endgroup}}
3850 \long\def\@mpLTRfootnotetext#1{%
3851 \global\setbox\@mpfootins\vbox{\@RTLfalse%
3852 \unvbox\@mpfootins
3853 \reset@font\footnotesize
3854 \hsize\columnwidth
3855 \@parboxrestore
3856 \protected@edef\@currentlabel
3857 {\csname p@mpfootnote\endcsname\@thefnmark}%
3858 \color@begingroup
3859 \bidi@footnotetext@dir{#1}
3860 \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
3861 \@makefntext{%
3862 \rule\z@\footnotesep\ignorespaces\latinfont#1\@finalstrut\strutbox}%
3863 \color@endgroup}}
3864 % \end{macrocode}
3865 % \iffalse
3866 %</footnote-bidi-xepersian.def>
3867 %<*hyperref-xepersian.def>
3868 %\fi
3869 % \subsection{\textsf{hyperref-xepersian.def}}
3870 % \begin{macrocode}
3871 \ProvidesFile{hyperref-xepersian.def}[2010/07/25 v0.3 bilingual captions for hyperref package]
3872 \def\equationautorefname{\if@RTL معادله\else Equation\fi}%
3873 \def\footnoteautorefname{\if@RTL زیرنویس\else footnote\fi}%
3874 \def\itemautorefname{\if@RTL فقره\else item\fi}%
3875 \def\figureautorefname{\if@RTL شکل\else Figure\fi}%
3876 \def\tableautorefname{\if@RTL جدول\else Table\fi}%
3877 \def\partautorefname{\if@RTL بخش\else Part\fi}%
3878 \def\appendixautorefname{\if@RTL ضمیمه\else Appendix\fi}%
3879 \def\chapterautorefname{\if@RTL فصل\else chapter\fi}%
3880 \def\sectionautorefname{\if@RTL قسمت\else section\fi}%
3881 \def\subsectionautorefname{\if@RTL زیرقسمت\else subsection\fi}%
3882 \def\subsubsectionautorefname{\if@RTL زیرزیرقسمت\else subsubsection\fi}%
3883 \def\paragraphautorefname{\if@RTL پاراگراف\else paragraph\fi}%
3884 \def\subparagraphautorefname{\if@RTL زیرپاراگراف\else subparagraph\fi}%
3885 \def\FancyVerbLineautorefname{\if@RTL سطر\else line\fi}%
3886 \def\theoremautorefname{\if@RTL قضیه\else Theorem\fi}%
3887 \def\pageautorefname{\if@RTL صفحه\else page\fi}%
3888 \AtBeginDocument{%
3889 \let\HyOrg@appendix\appendix
3890 \def\appendix{%
3891 \ltx@IfUndefined{chapter}%
3892 {\gdef\theHsection{\Alph{section}}}%
3893 {\gdef\theHchapter{\Alph{chapter}}}%
3894 \xdef\Hy@chapapp{\Hy@appendixstring}%
3895 \HyOrg@appendix
3896 }
3897 }
3898 % \end{macrocode}
3899 % \iffalse
3900 %</hyperref-xepersian.def>
3901 %<*kashida-xepersian.def>
3902 %\fi
3903 % \subsection{\textsf{kashida-xepersian.def}}
3904 % \begin{macrocode}
3905 \ProvidesFile{kashida-xepersian.def}[2010/07/25 v0.2 implementation of Kashida for xepersian package]
3906 \chardef\xepersian@zwj="200D % zero-width joiner
3907 \chardef\xepersian@ksh="0640 % kashida
3908
3909 \chardef\xepersian@D=10 % dual-joiner class
3910 \chardef\xepersian@L=11 % lam
3911 \chardef\xepersian@R=12 % right-joiner
3912 \chardef\xepersian@A=13 % alef
3913 \chardef\xepersian@V=256 % vowel or other combining mark (to be ignored)
3914
3915 \def\xepersian@kashida{\xepersian@zwj\nobreak \setbox0=\hbox{\xepersian@ksh}%
3916 \leaders\hrule height\ht0 \hskip0pt plus 0.5em \xepersian@zwj}
3917
3918 \def\setclass#1#2{\def\theclass{#1}\def\charlist{#2}%
3919 \expandafter\dosetclass\charlist,\end}
3920 \def\dosetclass#1,#2\end{%
3921 \def\test{#1}\def\charlist{#2}%
3922 \ifx\test\empty\let\next\finishsetclass
3923 \else \XeTeXcharclass "\test = \theclass
3924 \let\next\dosetclass \fi
3925 \expandafter\next\charlist,,\end}
3926 \def\finishsetclass#1,,\end{}
3927
3928 \setclass \xepersian@A {0622,0623,0625,0627}
3929 \setclass \xepersian@R {0624,0629,062F,0630,0631,0632,0648,0698}
3930 \setclass \xepersian@D {0626,0628,062A,062B,062C,062D,062E}
3931 \setclass \xepersian@D {0633,0634,0635,0636,0637,0638,0639,063A}
3932 \setclass \xepersian@D {0640,0641,0642,0643,0645,0646,0647,0649,064A}
3933 \setclass \xepersian@D {067E,0686,06A9,06AF,06CC}
3934 \setclass \xepersian@L {0644}
3935 \setclass \xepersian@V {064B,064C,064D,064E,064F,0650,0651,0652}
3936
3937 \XeTeXinterchartoks \xepersian@D \xepersian@D = {\xepersian@kashida}
3938 \XeTeXinterchartoks \xepersian@L \xepersian@D = {\xepersian@kashida}
3939 \XeTeXinterchartoks \xepersian@D \xepersian@L = {\xepersian@kashida}
3940 \XeTeXinterchartoks \xepersian@L \xepersian@L = {\xepersian@kashida}
3941 \XeTeXinterchartoks \xepersian@D \xepersian@R = {\xepersian@kashida}
3942 \XeTeXinterchartoks \xepersian@D \xepersian@A = {\xepersian@kashida}
3943 \XeTeXinterchartoks \xepersian@L \xepersian@R = {\xepersian@kashida}
3944 \XeTeXinterchartoks \xepersian@L \xepersian@A = {}
3945
3946 \newcommand{\KashidaOn}{\XeTeXinterchartokenstate=1}
3947 \newcommand{\KashidaOff}{\XeTeXinterchartokenstate=0}
3948 \KashidaOn
3949 % \end{macrocode}
3950 % \iffalse
3951 %</kashida-xepersian.def>
3952 %<*listings-xepersian.def>
3953 %\fi
3954 % \subsection{\textsf{listings-xepersian.def}}
3955 % \begin{macrocode}
3956 \ProvidesFile{listings-xepersian.def}[2010/07/25 v0.2 bilingual captions for listings package]
3957 \def\lstlistingname{\if@RT برنامهٔ\else Listing\fi}
3958 \def\lstlistlistingname{\if@RTL فهرست برنامه‌ها\else Listings\fi}
3959 % \end{macrocode}
3960 % \iffalse
3961 %</listings-xepersian.def>
3962 %<*loadingorder-bidi-xepersian.def>
3963 %\fi
3964 % \subsection{\textsf{loadingorder-bidi-xepersian.def}}
3965 % \begin{macrocode}
3966 \ProvidesFile{loadingorder-bidi-xepersian.def}[2012/01/01 v0.3 making sure that xepersian is the last package loaded]
3967 \bidi@isloaded{algorithmic}
3968 \bidi@isloaded{algorithm}
3969 \bidi@isloaded{backref}
3970 \bidi@isloaded{enumerate}
3971 \bidi@isloaded{tocloft}
3972 \bidi@isloaded{url}
3973 \AtBeginDocument{
3974 \if@bidi@algorithmicloaded@\else
3975 \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithmic after xepersian package. Please load package algorithmic before xepersian package, and then try to run xelatex on your document again}{}]{algorithmic}
3976 \fi%
3977 \if@bidi@algorithmloaded@\else
3978 \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithm after xepersian package. Please load package algorithm before xepersian package, and then try to run xelatex on your document again}{}]{algorithm}
3979 \fi%
3980 \if@bidi@backrefloaded@\else
3981 \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package backref after xepersian package. Please load package backref before xepersian package, and then try to run xelatex on your document again}{}]{backref}
3982 \fi%
3983 \if@bidi@enumerateloaded@\else
3984 \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package enumerate after xepersian package. Please load package enumerate before xepersian package, and then try to run xelatex on your document again}{}]{enumerate}
3985 \fi%
3986 \if@bidi@tocloftloaded@\else
3987 \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package tocloft after xepersian package. Please load package tocloft before xepersian package, and then try to run xelatex on your document again}{}]{tocloft}
3988 \fi%
3989 \if@bidi@urlloaded@\else
3990 \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package url after xepersian package. Please load package url before xepersian package, and then try to run xelatex on your document again}{}]{url}
3991 \fi%
3992 }
3993 % \end{macrocode}
3994 % \iffalse
3995 %</loadingorder-bidi-xepersian.def>
3996 %<*localise-xepersian.def>
3997 %\fi
3998 % \subsection{\textsf{localise-xepersian.def}}
3999 % \begin{macrocode}
4000 \ProvidesFile{localise-xepersian.def}[2010/07/25 v0.2a Persian localisation of LaTeX2e]
4001 \newcommand{\makezwnjletter}{\catcode`‌=11\relax}
4002 \makezwnjletter
4003 \newcommand*{\eqcommand}[2]{\if@bidi@csprimitive{#2}{\bidi@csletcs{#1}{#2}}{\bidi@csdefcs{#1}{#2}}}
4004 \newcommand*{\eqenvironment}[2]{\newenvironment{#1}{\csname#2\endcsname}{\csname end#2\endcsname}}
4005 \@ifpackageloaded{keyval}{%
4006 \newcommand*\keyval@eq@alias@key[4][KV]{%
4007 \bidi@csletcs{#1@#2@#3}{#1@#2@#4}%
4008 \bidi@csletcs{#1@#2@#3@default}{#1@#2@#4@default}}%
4009 }{\@ifpackageloaded{xkeyval}{%
4010 \newcommand*\keyval@eq@alias@key[4][KV]{%
4011 \bidi@csletcs{#1@#2@#3}{#1@#2@#4}%
4012 \bidi@csletcs{#1@#2@#3@default}{#1@#2@#4@default}}%
4013 }{}}
4014 \input{commands-ltx.def}
4015 \input{commands-xepersian.def}
4016 \input{environments-ltx.def}
4017 \input{environments-xepersian.def}
4018 \input{messages-localise.def}
4019 \input{misc-localise-xepersian.def}
4020 \input{packages-localise-xepersian.def}
4021 \aliasfontfeature{ExternalLocation}{مکان‌خارجی}
4022 \aliasfontfeature{ExternalLocation}{مسیر}
4023 \aliasfontfeature{Renderer}{تحویل‌دهنده}
4024 \aliasfontfeature{BoldFont}{قلم‌سیاه}
4025 \aliasfontfeature{Language}{زبان}
4026 \aliasfontfeature{Script}{خط}
4027 \aliasfontfeature{UprightFont}{قلم‌عمودی}
4028 \aliasfontfeature{ItalicFont}{قلم‌ایتالیک}
4029 \aliasfontfeature{BoldItalicFont}{قلم‌ایتالیک‌سیاه}
4030 \aliasfontfeature{SlantedFont}{قلم‌خوابیده}
4031 \aliasfontfeature{BoldSlantedFont}{قلم‌خوابیده‌سیاه}
4032 \aliasfontfeature{SmallCapsFont}{قلم‌کلاه‌کوچک}
4033 \aliasfontfeature{UprightFeatures}{ویژگی‌های‌قلم‌عمودی}
4034 \aliasfontfeature{BoldFeatures}{ویژگی‌های‌قلم‌سیاه}
4035 \aliasfontfeature{ItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک}
4036 \aliasfontfeature{BoldItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک‌سیاه}
4037 \aliasfontfeature{SlantedFeatures}{ویژگی‌های‌قلم‌خوابیده}
4038 \aliasfontfeature{BoldSlantedFeatures}{ویژگی‌های‌قلم‌خوابیده‌سیاه}
4039 \aliasfontfeature{SmallCapsFeatures}{ویژگی‌های‌قلم‌کلاه‌کوچک}
4040 \aliasfontfeature{SizeFeatures}{ویژگی‌های‌اندازه}
4041 \aliasfontfeature{Scale}{ضریب}
4042 \aliasfontfeature{WordSpace}{فضای‌کلمه}
4043 \aliasfontfeature{PunctuationSpace}{فضای‌نقطه‌گذاری}
4044 \aliasfontfeature{FontAdjustment}{تنظیم‌قلم}
4045 \aliasfontfeature{LetterSpace}{فضای‌حرف}
4046 \aliasfontfeature{HyphenChar}{نویسه‌تیره}
4047 \aliasfontfeature{Color}{رنگ}
4048 \aliasfontfeature{Opacity}{کدری}
4049 \aliasfontfeature{Mapping}{نگاشت}
4050 \aliasfontfeature{Weight}{سنگینی}
4051 \aliasfontfeature{Width}{پهنا}
4052 \aliasfontfeature{OpticalSize}{اندازه‌چشمی}
4053 \aliasfontfeature{FakeSlant}{خوابیده‌تقلبی}
4054 \aliasfontfeature{FakeStretch}{کشش‌تقلبی}
4055 \aliasfontfeature{FakeBold}{سیاه‌تقلبی}
4056 \aliasfontfeature{AutoFakeSlant}{خوابیده‌تقلبی‌خودکار}
4057 \aliasfontfeature{AutoFakeBold}{سیاه‌تقلبی‌خودکار}
4058 \aliasfontfeature{Ligatures}{دویاچندحرف‌متصل‌به‌هم}
4059 \aliasfontfeature{Alternate}{متناوب}
4060 \aliasfontfeature{Variant}{گوناگون}
4061 \aliasfontfeature{Variant}{مجموعه‌سبکی}
4062 \aliasfontfeature{CharacterVariant}{گوناگونی‌نویسه}
4063 \aliasfontfeature{ScriptStyle}{سبک‌اسکریپت}
4064 \aliasfontfeature{ScriptScriptStyle}{سبک‌اسکریپت‌اسکریپت}
4065 \aliasfontfeature{Style}{سبک}
4066 \aliasfontfeature{Annotation}{یادداشت}
4067 \aliasfontfeature{RawFeature}{ویژگی‌های‌کال}
4068 \aliasfontfeature{CharacterWidth}{پهنای‌نویسه}
4069 \aliasfontfeature{Numbers}{ارقام}
4070 \aliasfontfeature{Contextuals}{متنی}
4071 \aliasfontfeature{Diacritics}{تفکیک‌کننده‌ها}
4072 \aliasfontfeature{Letters}{حروف}
4073 \aliasfontfeature{Kerning}{دوری}
4074 \aliasfontfeature{VerticalPosition}{موقعیت‌عمودی}
4075 \aliasfontfeature{Fractions}{کسر}
4076 \aliasfontfeatureoption{Language}{Default}{پیش‌فرض}
4077 \aliasfontfeatureoption{Language}{Parsi}{پارسی}
4078 \aliasfontfeatureoption{Script}{Parsi}{پارسی}
4079 \aliasfontfeatureoption{Script}{Latin}{لاتین}
4080 % \end{macrocode}
4081 % \iffalse
4082 %</localise-xepersian.def>
4083 %<*memoir-xepersian.def>
4084 %\fi
4085 % \subsection{\textsf{memoir-xepersian.def}}
4086 % \begin{macrocode}
4087 \ProvidesFile{memoir-xepersian.def}[2010/07/25 v0.1 adaptations for memoir class]
4088 \renewcommand{\@memfront}{%
4089 \@smemfront\pagenumbering{harfi}}
4090 \renewcommand{\setthesection}{\thechapter\@SepMark\harfi{section}}
4091 \renewcommand*{\thebook}{\@tartibi\c@book}
4092 \renewcommand*{\thepart}{\@tartibi\c@part}
4093 \renewcommand{\appendix}{\par
4094 \setcounter{chapter}{0}%
4095 \setcounter{section}{0}%
4096 \gdef\@chapapp{\appendixname}%
4097 \gdef\thechapter{\@harfi\c@chapter}%
4098 \anappendixtrue}
4099 % \end{macrocode}
4100 % \iffalse
4101 %</memoir-xepersian.def>
4102 %<*messages-localise.def>
4103 %\fi
4104 % \subsection{\textsf{messages-localise.def}}
4105 % \begin{macrocode}
4106 \آماده‌سازی‌پرونده{messages-localise.def}[2011/03/01 v0.1 localising LaTeX2e messages]
4107 % \end{macrocode}
4108 % \iffalse
4109 %</messages-localise.def>
4110 %<*minitoc-xepersian.def>
4111 %\fi
4112 % \subsection{\textsf{minitoc-xepersian.def}}
4113 % \begin{macrocode}
4114 \ProvidesFile{minitoc-xepersian.def}[2010/07/25 v0.1 bilingual captions for minitoc package]
4115 \def\ptctitle{\if@RTL فهرست مطالب\else Table of Contents\fi}%
4116 \def\plftitle{\if@RTL لیست تصاویر\else List of Figures\fi}%
4117 \def\plttitle{\if@RTL لیست جداول\else List of Tables\fi}%
4118 \def\mtctitle{\if@RTL عناوین\else Contents\fi}%
4119 \def\mlftitle{\if@RTL اشکال\else Figures\fi}%
4120 \def\mlttitle{\if@RTL جداول\else Tables\fi}%
4121 \def\stctitle{\if@RTL عناوین\else Contents\fi}%
4122 \def\slftitle{\if@RTL اشکال\else Figures\fi}%
4123 \def\slttitle{\if@RTL جداول\else Tables\fi}%
4124 % \end{macrocode}
4125 % \iffalse
4126 %</minitoc-xepersian.def>
4127 %<*misc-localise-xepersian.def>
4128 %\fi
4129 % \subsection{\textsf{misc-localise-xepersian.def}}
4130 % \begin{macrocode}
4131 \ProvidesFile{misc-localise-xepersian.def}[2012/01/01 v0.2 miscellaneous Persian localisation of LaTeX2e]
4132 \تر\گرجدید#1{%
4133 \شمار@\نویسه‌ویژه \نویسه‌ویژه\من@ا
4134 \بگذار#1\گرنادرست
4135 \@گر#1\گردرست
4136 \@گر#1\گرنادرست
4137 \نویسه‌ویژه\شمار@}
4138 \تر\@گر#1#2{%
4139 \بگسترپس‌از\تر\نام‌فرمان\بگسترپس‌از\@خورحریصانه‌دو\رشته#1%
4140 \بگسترپس‌از\@خورحریصانه‌دو\رشته#2\پایان‌نام‌فرمان
4141 {\بگذار#1#2}}
4142 \بگذار\تعریف‌نشده\undefined
4143
4144 \تر\حلقه#1\ازنو{\تر\تکرارکن{#1\راحت\بگسترپس‌از\تکرارکن\رگ}%
4145 \تکرارکن \بگذار\تکرارکن\راحت}
4146 \بگذار\ازنو\رگ
4147
4148
4149 \بلند\تر \حلقه #1\ازنو{%
4150 \تر\تکرارکن{#1\راحت % \راحت اضافی
4151 \بگسترپس‌از\تکرارکن\رگ
4152 }%
4153 \تکرارکن
4154 \بگذار\تکرارکن\راحت
4155 }
4156 \بگذار\ازنو=\رگ
4157
4158
4159 \@ifdefinitionfileloaded{xetex-bidi}{%
4160 \def\@xfloat #1[#2]{%
4161 \@nodocument
4162 \def \@captype {#1}%
4163 \def \@fps {#2}%
4164 \@onelevel@sanitize \@fps
4165 \def \reserved@b {!}%
4166 \ifx \reserved@b \@fps
4167 \@fpsadddefault
4168 \else
4169 \ifx \@fps \@empty
4170 \@fpsadddefault
4171 \fi
4172 \fi
4173 \ifhmode
4174 \@bsphack
4175 \@floatpenalty -\@Mii
4176 \else
4177 \@floatpenalty-\@Miii
4178 \fi
4179 \ifinner
4180 \@parmoderr\@floatpenalty\z@
4181 \else
4182 \@next\@currbox\@freelist
4183 {%
4184 \@tempcnta \sixt@@n
4185 \expandafter \@tfor \expandafter \reserved@a
4186 \expandafter :\expandafter =\@fps
4187 \do
4188 {%
4189 \if \reserved@a h%
4190 \ifodd \@tempcnta
4191 \else
4192 \advance \@tempcnta \@ne
4193 \fi
4194 \fi
4195 \if \reserved@a ا%
4196 \ifodd \@tempcnta
4197 \else
4198 \advance \@tempcnta \@ne
4199 \fi
4200 \fi
4201 \if \reserved@a t%
4202 \@setfpsbit \tw@
4203 \fi
4204 \if \reserved@a ب%
4205 \@setfpsbit \tw@
4206 \fi
4207 \if \reserved@a b%
4208 \@setfpsbit 4%
4209 \fi
4210 \if \reserved@a ز%
4211 \@setfpsbit 4%
4212 \fi
4213 \if \reserved@a p%
4214 \@setfpsbit 8%
4215 \fi
4216 \if \reserved@a ص%
4217 \@setfpsbit 8%
4218 \fi
4219 \if \reserved@a !%
4220 \ifnum \@tempcnta>15
4221 \advance\@tempcnta -\sixt@@n\relax
4222 \fi
4223 \fi
4224 }%
4225 \@tempcntb \csname ftype@\@captype \endcsname
4226 \multiply \@tempcntb \@xxxii
4227 \advance \@tempcnta \@tempcntb
4228 \global \count\@currbox \@tempcnta
4229 }%
4230 \@fltovf
4231 \fi
4232 \global \setbox\@currbox
4233 \color@vbox
4234 \normalcolor
4235 \vbox \bgroup
4236 \hsize\columnwidth
4237 \@parboxrestore
4238 \@floatboxreset
4239 }
4240 \let\bm@و\bm@c
4241 \let\bm@چ\bm@l
4242 \let\bm@ر\bm@r
4243 \let\bm@ز\bm@b
4244 \let\bm@ب\bm@t
4245 \let\bm@ک\bm@s
4246 \long\def\@iiiparbox#1#2[#3]#4#5{%
4247 \leavevmode
4248 \@pboxswfalse
4249 \if@RTLtab\@bidi@list@minipage@parbox@not@nobtrue\fi
4250 \if@RTL\if#1t\@bidi@list@minipage@parboxtrue\else\if#1b\@bidi@list@minipage@parboxtrue\else\if#1ز\@bidi@list@minipage@parboxtrue\else\if#1ب\@bidi@list@minipage@parboxtrue\fi\fi\fi\fi\fi
4251 \setlength\@tempdima{#4}%
4252 \@begin@tempboxa\vbox{\hsize\@tempdima\@parboxrestore#5\@@par}%
4253 \ifx\relax#2\else
4254 \setlength\@tempdimb{#2}%
4255 \edef\@parboxto{to\the\@tempdimb}%
4256 \fi
4257 \if#1b\vbox
4258 \else\if#1ز\vbox
4259 \else\if #1t\vtop
4260 \else\if #1ب\vtop
4261 \else\ifmmode\vcenter
4262 \else\@pboxswtrue $\vcenter
4263 \fi\fi\fi\fi\fi
4264 \@parboxto{\let\hss\vss\let\unhbox\unvbox
4265 \csname bm@#3\endcsname}%
4266 \if@pboxsw \m@th$\fi
4267 \@end@tempboxa}
4268 \def\@iiiminipage#1#2[#3]#4{%
4269 \leavevmode
4270 \@pboxswfalse
4271 \if@RTLtab\@bidi@list@minipage@parbox@not@nobtrue\fi
4272 \if@RTL\if#1t\@bidi@list@minipage@parboxtrue\else\if#1b\@bidi@list@minipage@parboxtrue\else\if#1ز\@bidi@list@minipage@parboxtrue\else\if#1ب\@bidi@list@minipage@parboxtrue\fi\fi\fi\fi\fi
4273 \setlength\@tempdima{#4}%
4274 \def\@mpargs{{#1}{#2}[#3]{#4}}%
4275 \setbox\@tempboxa\vbox\bgroup
4276 \color@begingroup
4277 \hsize\@tempdima
4278 \textwidth\hsize \columnwidth\hsize
4279 \@parboxrestore
4280 \def\@mpfn{mpfootnote}\def\thempfn{\thempfootnote}\c@mpfootnote\z@
4281 \let\@footnotetext\@mpfootnotetext
4282 \let\@LTRfootnotetext\@mpLTRfootnotetext
4283 \let\@RTLfootnotetext\@mpRTLfootnotetext
4284 \let\@listdepth\@mplistdepth \@mplistdepth\z@
4285 \@minipagerestore
4286 \@setminipage}
4287 \def\@testpach#1{\@chclass \ifnum \@lastchclass=\tw@ 4 \else
4288 \ifnum \@lastchclass=3 5 \else
4289 \z@ \if #1c\@chnum \z@ \else
4290 \if #1و\@chnum \z@ \else
4291 \if \if@RTLtab#1r\else#1l\fi\@chnum \@ne \else
4292 \if \if@RTLtab#1ر\else#1چ\fi\@chnum \@ne \else
4293 \if \if@RTLtab#1l\else#1r\fi\@chnum \tw@ \else
4294 \if \if@RTLtab#1چ\else#1ر\fi\@chnum \tw@ \else
4295 \@chclass \if #1|\@ne \else
4296 \if #1@\tw@ \else
4297 \if #1p3 \else
4298 \if #1پ3 \else \z@ \@preamerr 0\fi
4299 \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi
4300 \fi}%
4301 }{}
4302 \@ifdefinitionfileloaded{array-xetex-bidi}{%
4303 \def\@testpach{\@chclass
4304 \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
4305 \ifnum \@lastchclass=7 5 \else
4306 \ifnum \@lastchclass=8 \tw@ \else
4307 \ifnum \@lastchclass=9 \thr@@
4308 \else \z@
4309 \ifnum \@lastchclass = 10 \else
4310 \edef\@nextchar{\expandafter\string\@nextchar}%
4311 \@chnum
4312 \if \@nextchar c\z@ \else
4313 \if \@nextchar و\z@ \else
4314 \if \@nextchar \if@RTLtab r\else l\fi\@ne \else
4315 \if \@nextchar \if@RTLtab ر\else چ\fi\@ne \else
4316 \if \@nextchar \if@RTLtab l\else r\fi\tw@ \else
4317 \if \@nextchar \if@RTLtab چ\else ر\fi\tw@ \else
4318 \z@ \@chclass
4319 \if\@nextchar |\@ne \else
4320 \if \@nextchar !6 \else
4321 \if \@nextchar @7 \else
4322 \if \@nextchar <8 \else
4323 \if \@nextchar >9 \else
4324 10
4325 \@chnum
4326 \if \@nextchar m\thr@@\else
4327 \if \@nextchar م\thr@@\else
4328 \if \@nextchar p4 \else
4329 \if \@nextchar پ4 \else
4330 \if \@nextchar b5 \else
4331 \if \@nextchar ز5 \else
4332 \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi \fi \fi \fi
4333 \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}%
4334 }{}
4335 \@ifdefinitionfileloaded{arydshln-xetex-bidi}{
4336 \ifadl@usingarypkg
4337 \def\@testpach{\@chclass
4338 \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
4339 \ifnum \@lastchclass=7 5 \else
4340 \ifnum \@lastchclass=8 \tw@ \else
4341 \ifnum \@lastchclass=9 \thr@@
4342 \else \z@
4343 \ifnum \@lastchclass = 10 \else
4344 \edef\@nextchar{\expandafter\string\@nextchar}%
4345 \@chnum
4346 \if \@nextchar c\z@ \else
4347 \if \@nextchar و\z@ \else
4348 \if \@nextchar \if@RTLtab r\else l\fi\@ne \else
4349 \if \@nextchar \if@RTLtab ر\else چ\fi\@ne \else
4350 \if \@nextchar \if@RTLtab l\else r\fi\tw@ \else
4351 \if \@nextchar \if@RTLtab چ\else ر\fi\tw@ \else
4352 \z@ \@chclass
4353 \if\@nextchar |\@ne \let\@arrayrule\adl@arrayrule \else
4354 \if\@nextchar :\@ne \let\@arrayrule\adl@arraydashrule \else
4355 \if\@nextchar ;\@ne \let\@arrayrule\adl@argarraydashrule \else
4356 \if \@nextchar !6 \else
4357 \if \@nextchar @7 \else
4358 \if \@nextchar <8 \else
4359 \if \@nextchar >9 \else
4360 10
4361 \@chnum
4362 \if \@nextchar m\thr@@\else
4363 \if \@nextchar م\thr@@\else
4364 \if \@nextchar p4 \else
4365 \if \@nextchar پ4 \else
4366 \if \@nextchar b5 \else
4367 \if \@nextchar ز5 \else
4368 \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi \fi \fi \fi \fi \fi
4369 \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}
4370
4371 \def\@classz{\@classx
4372 \@tempcnta \count@
4373 \prepnext@tok
4374 \@addtopreamble{\ifcase \@chnum
4375 \hfil
4376 \adl@putlrc{\d@llarbegin \insert@column \d@llarend}\hfil \or
4377 \hskip1sp\adl@putlrc{\d@llarbegin \insert@column \d@llarend}\hfil \or
4378 \hfil\hskip1sp\adl@putlrc{\d@llarbegin \insert@column \d@llarend}\or
4379 \setbox\adl@box\hbox \adl@startmbox{\@nextchar}\insert@column
4380 \adl@endmbox\or
4381 \setbox\adl@box\vtop \@startpbox{\@nextchar}\insert@column \@endpbox \or
4382 \setbox\adl@box\vbox \@startpbox{\@nextchar}\insert@column \@endpbox
4383 \fi}\prepnext@tok}
4384 \def\adl@class@start{4}
4385 \def\adl@class@iiiorvii{7}
4386
4387 \else
4388 \def\@testpach#1{\@chclass \ifnum \@lastchclass=\tw@ 4\relax \else
4389 \ifnum \@lastchclass=\thr@@ 5\relax \else
4390 \z@ \if #1c\@chnum \z@ \else
4391 \if #1و\@chnum\z@ \else
4392 \if \if@RTLtab#1r\else#1l\fi\@chnum \@ne \else
4393 \if \if@RTLtab#1ر\else#1چ\fi\@chnum \@ne \else
4394 \if \if@RTLtab#1l\else#1r\fi\@chnum \tw@ \else
4395 \if \if@RTLtab#1چ\else#1ر\fi\@chnum \tw@ \else
4396 \@chclass
4397 \if #1|\@ne \let\@arrayrule\adl@arrayrule \else
4398 \if #1:\@ne \let\@arrayrule\adl@arraydashrule \else
4399 \if #1;\@ne \let\@arrayrule\adl@argarraydashrule \else
4400 \if #1@\tw@ \else
4401 \if #1p\thr@@ \else
4402 \if #1پ\thr@@ \else\z@ \@preamerr 0\fi
4403 \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}
4404
4405 \def\@arrayclassz{\ifcase \@lastchclass \@acolampacol \or \@ampacol \or
4406 \or \or \@addamp \or
4407 \@acolampacol \or \@firstampfalse \@acol \fi
4408 \edef\@preamble{\@preamble
4409 \ifcase \@chnum
4410 \hfil\adl@putlrc{$\relax\@sharp$}\hfil
4411 \or \adl@putlrc{$\relax\@sharp$}\hfil
4412 \or \hfil\adl@putlrc{$\relax\@sharp$}\fi}}
4413 \def\@tabclassz{\ifcase \@lastchclass \@acolampacol \or \@ampacol \or
4414 \or \or \@addamp \or
4415 \@acolampacol \or \@firstampfalse \@acol \fi
4416 \edef\@preamble{\@preamble
4417 \ifcase \@chnum
4418 \hfil\adl@putlrc{\@sharp\unskip}\hfil
4419 \or \adl@putlrc{\@sharp\unskip}\hfil
4420 \or \hfil\hskip\z@ \adl@putlrc{\@sharp\unskip}\fi}}
4421 \def\adl@class@start{6}
4422 \def\adl@class@iiiorvii{3}
4423 \fi
4424 }{}
4425 \@ifdefinitionfileloaded{tabulary-xetex-bidi}{%
4426 \def\@testpach{\@chclass
4427 \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
4428 \ifnum \@lastchclass=7 5 \else
4429 \ifnum \@lastchclass=8 \tw@ \else
4430 \ifnum \@lastchclass=9 \thr@@
4431 \else \z@
4432 \ifnum \@lastchclass = 10 \else
4433 \edef\@nextchar{\expandafter\string\@nextchar}%
4434 \@chnum
4435 \if \@nextchar c\z@ \else
4436 \if \@nextchar و\z@ \else
4437 \if \@nextchar \if@RTLtab r\else l\fi\@ne \else
4438 \if \@nextchar \if@RTLtab ر\else چ\fi\@ne \else
4439 \if \@nextchar \if@RTLtab l\else r\fi\tw@ \else
4440 \if \@nextchar \if@RTLtab چ\else ر\fi\tw@ \else
4441 \if \@nextchar C7 \else
4442 \if \@nextchar س7 \else
4443 \if \@nextchar L8 \else
4444 \if \@nextchar ف8 \else
4445 \if \@nextchar R9 \else
4446 \if \@nextchar ا9 \else
4447 \if \@nextchar J10 \else
4448 \if \@nextchar ت10 \else
4449 \z@ \@chclass
4450 \if\@nextchar |\@ne \else
4451 \if \@nextchar !6 \else
4452 \if \@nextchar @7 \else
4453 \if \@nextchar <8 \else
4454 \if \@nextchar >9 \else
4455 10
4456 \@chnum
4457 \if \@nextchar m\thr@@\else
4458 \if \@nextchar م\thr@@\else
4459 \if \@nextchar p4 \else
4460 \if \@nextcharپ4 \else
4461 \if \@nextchar b5 \else
4462 \if \@nextchar ز5 \else
4463 \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi\fi \fi \fi\fi \fi \fi \fi \fi \fi \fi \fi \fi
4464 \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi}%
4465 }{}
4466 \@ifdefinitionfileloaded{float-xetex-bidi}{%
4467 \let\@float@Hx\@xfloat
4468 \def\@xfloat#1[{\@ifnextchar{H}{\@float@HH{#1}[}{\@ifnextchar{آ}{\@float@آآ{#1}[}{\@float@Hx{#1}[}}}
4469 \def\@float@HH#1[H]{%
4470 \expandafter\let\csname end#1\endcsname\float@endH
4471 \let\@currbox\float@box
4472 \def\@captype{#1}\setbox\@floatcapt=\vbox{}%
4473 \expandafter\ifx\csname fst@#1\endcsname\relax
4474 \@flstylefalse\else\@flstyletrue\fi
4475 \setbox\@currbox\color@vbox\normalcolor
4476 \vbox\bgroup \hsize\columnwidth \@parboxrestore
4477 \@floatboxreset \@setnobreak
4478 \ignorespaces}
4479 \def\@float@آآ#1[آ]{%
4480 \expandafter\let\csname end#1\endcsname\float@endH
4481 \let\@currbox\float@box
4482 \def\@captype{#1}\setbox\@floatcapt=\vbox{}%
4483 \expandafter\ifx\csname fst@#1\endcsname\relax
4484 \@flstylefalse\else\@flstyletrue\fi
4485 \setbox\@currbox\color@vbox\normalcolor
4486 \vbox\bgroup \hsize\columnwidth \@parboxrestore
4487 \@floatboxreset \@setnobreak
4488 \ignorespaces}
4489 }{}
4490 \begingroup \catcode `|=0 \catcode `[= 1
4491 \catcode`]=2 \catcode `\{=12 \catcode `\}=12
4492 \catcode`\\=12 |gdef|@x@xepersian@localize@verbatim#1\پایان{همانطورکه‌هست}[#1|پایان[همانطورکه‌هست]]
4493 |gdef|@sx@xepersian@localize@verbatim#1\پایان{همانطورکه‌هست*}[#1|پایان[همانطورکه‌هست*]]
4494 |endgroup
4495 \def\همانطورکه‌هست{\@verbatim \frenchspacing\@vobeyspaces \@x@xepersian@localize@verbatim}
4496 \def\endهمانطورکه‌هست{\if@newlist \leavevmode\fi\endtrivlist}
4497 \ExplSyntaxOn
4498 \AtBeginDocument{\@namedef{همانطورکه‌هست*}{\@verbatim \fontspec_print_visible_spaces: \@sx@xepersian@localize@verbatim}}
4499 \ExplSyntaxOff
4500 \expandafter\let\csname endهمانطورکه‌هست*\endcsname =\endهمانطورکه‌هست
4501 % \end{macrocode}
4502 % \iffalse
4503 %</misc-localise-xepersian.def>
4504 %<*multicol-xepersian.def>
4505 %\fi
4506 % \subsection{\textsf{multicol-xepersian.def}}
4507 % \begin{macrocode}
4508 \ProvidesFile{multicol-xepersian.def}[2010/07/25 v0.1 adaptations for multicol package]
4509 \long\def\@footnotetext#1{%
4510 \begingroup
4511 \setbox\footins
4512 \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
4513 \interlinepenalty\interfootnotelinepenalty
4514 \splittopskip\footnotesep
4515 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
4516 \hsize\textwidth \@parboxrestore
4517 \bidi@footnotetext@dir{#1}%
4518 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
4519 {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\strut}}%
4520 \bidi@footnotetext@after
4521 \insert\footins{\unvbox\footins}%
4522 \endgroup}
4523 \long\def\@RTLfootnotetext#1{%
4524 \begingroup
4525 \setbox\footins
4526 \vbox{\@RTLtrue\reset@font\footnotesize
4527 \interlinepenalty\interfootnotelinepenalty
4528 \splittopskip\footnotesep
4529 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
4530 \hsize\textwidth \@parboxrestore
4531 \bidi@footnotetext@dir{#1}%
4532 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
4533 {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\strut}}%
4534 \bidi@footnotetext@after
4535 \insert\footins{\unvbox\footins}%
4536 \endgroup}
4537 \long\def\@LTRfootnotetext#1{%
4538 \begingroup
4539 \setbox\footins
4540 \vbox{\@RTLfalse\reset@font\footnotesize
4541 \interlinepenalty\interfootnotelinepenalty
4542 \splittopskip\footnotesep
4543 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
4544 \hsize\textwidth \@parboxrestore
4545 \bidi@footnotetext@dir{#1}%
4546 \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
4547 {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\strut}}%
4548 \bidi@footnotetext@after
4549 \insert\footins{\unvbox\footins}%
4550 \endgroup}
4551 \long\def\@mpfootnotetext#1{%
4552 \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
4553 \unvbox\@mpfootins
4554 \reset@font\footnotesize
4555 \hsize\textwidth
4556 \@parboxrestore
4557 \protected@edef\@currentlabel
4558 {\csname p@mpfootnote\endcsname\@thefnmark}%
4559 \color@begingroup
4560 \bidi@footnotetext@dir{#1}
4561 \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
4562 \@makefntext{%
4563 \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
4564 \color@endgroup}}
4565 \long\def\@mpRTLfootnotetext#1{%
4566 \global\setbox\@mpfootins\vbox{\@RTLtrue%
4567 \unvbox\@mpfootins
4568 \reset@font\footnotesize
4569 \hsize\textwidth
4570 \@parboxrestore
4571 \protected@edef\@currentlabel
4572 {\csname p@mpfootnote\endcsname\@thefnmark}%
4573 \color@begingroup
4574 \bidi@footnotetext@dir{#1}
4575 \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
4576 \@makefntext{%
4577 \rule\z@\footnotesep\ignorespaces\persianfont#1\@finalstrut\strutbox}%
4578 \color@endgroup}}
4579 \long\def\@mpLTRfootnotetext#1{%
4580 \global\setbox\@mpfootins\vbox{\@RTLfalse%
4581 \unvbox\@mpfootins
4582 \reset@font\footnotesize
4583 \hsize\textwidth
4584 \@parboxrestore
4585 \protected@edef\@currentlabel
4586 {\csname p@mpfootnote\endcsname\@thefnmark}%
4587 \color@begingroup
4588 \bidi@footnotetext@dir{#1}
4589 \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
4590 \@makefntext{%
4591 \rule\z@\footnotesep\ignorespaces\latinfont#1\@finalstrut\strutbox}%
4592 \color@endgroup}}
4593 % \end{macrocode}
4594 % \iffalse
4595 %</multicol-xepersian.def>
4596 %<*natbib-xepersian.def>
4597 %\fi
4598 % \subsection{\textsf{natbib-xepersian.def}}
4599 % \begin{macrocode}
4600 \ProvidesFile{natbib-xepersian.def}[2011/08/01 v0.1 adaptations for natbib package]
4601 \renewcommand\NAT@set@cites{%
4602 \ifNAT@numbers
4603 \ifNAT@super \let\@cite\NAT@citesuper
4604 \def\NAT@mbox##1{\unskip\nobreak\textsuperscript{##1}}%
4605 \let\citeyearpar=\citeyear
4606 \let\NAT@space\relax
4607 \def\NAT@super@kern{\kern\p@}%
4608 \else
4609 \let\NAT@mbox=\mbox
4610 \let\@cite\NAT@citenum
4611 \let\NAT@space\NAT@spacechar
4612 \let\NAT@super@kern\relax
4613 \fi
4614 \let\@citex\NAT@citexnum
4615 \let\@Latincitex\NAT@Latin@citexnum
4616 \let\@biblabel\NAT@biblabelnum
4617 \let\@bibsetup\NAT@bibsetnum
4618 \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@num\NAT@close}%
4619 \def\natexlab##1{}%
4620 \def\NAT@penalty{\penalty\@m}%
4621 \else
4622 \let\@cite\NAT@cite
4623 \let\@citex\NAT@citex
4624 \let\@Latincitex\NAT@Latin@citex
4625 \let\@biblabel\NAT@biblabel
4626 \let\@bibsetup\NAT@bibsetup
4627 \let\NAT@space\NAT@spacechar
4628 \let\NAT@penalty\@empty
4629 \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@date\NAT@close}%
4630 \def\natexlab##1{##1}%
4631 \fi}
4632 \newcommand\NAT@Latin@citex{}
4633 \def\NAT@Latin@citex%
4634 [#1][#2]#3{%
4635 \NAT@reset@parser
4636 \NAT@sort@cites{#3}%
4637 \NAT@reset@citea
4638 \@cite{\lr{\let\NAT@nm\@empty\let\NAT@year\@empty
4639 \@for\@citeb:=\NAT@cite@list\do
4640 {\@safe@activestrue
4641 \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
4642 \@safe@activesfalse
4643 \@ifundefined{b@\@citeb\@extra@b@citeb}{\@citea%
4644 {\reset@font\bfseries ?}\NAT@citeundefined
4645 \PackageWarning{natbib}%
4646 {Citation `\@citeb' on page \thepage \space undefined}\def\NAT@date{}}%
4647 {\let\NAT@last@nm=\NAT@nm\let\NAT@last@yr=\NAT@year
4648 \NAT@parse{\@citeb}%
4649 \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{%
4650 \let\NAT@name=\NAT@all@names
4651 \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}%
4652 \fi
4653 \ifNAT@full\let\NAT@nm\NAT@all@names\else
4654 \let\NAT@nm\NAT@name\fi
4655 \ifNAT@swa\ifcase\NAT@ctype
4656 \if\relax\NAT@date\relax
4657 \@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}\NAT@date}%
4658 \else
4659 \ifx\NAT@last@nm\NAT@nm\NAT@yrsep
4660 \ifx\NAT@last@yr\NAT@year
4661 \def\NAT@temp{{?}}%
4662 \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}%
4663 {Multiple citation on page \thepage: same authors and
4664 year\MessageBreak without distinguishing extra
4665 letter,\MessageBreak appears as question mark}\fi
4666 \NAT@hyper@{\NAT@exlab}%
4667 \else\unskip\NAT@spacechar
4668 \NAT@hyper@{\NAT@date}%
4669 \fi
4670 \else
4671 \@citea\NAT@hyper@{%
4672 \NAT@nmfmt{\NAT@nm}%
4673 \hyper@natlinkbreak{%
4674 \NAT@aysep\NAT@spacechar}{\@citeb\@extra@b@citeb
4675 }%
4676 \NAT@date
4677 }%
4678 \fi
4679 \fi
4680 \or\@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}%
4681 \or\@citea\NAT@hyper@{\NAT@date}%
4682 \or\@citea\NAT@hyper@{\NAT@alias}%
4683 \fi \NAT@def@citea
4684 \else
4685 \ifcase\NAT@ctype
4686 \if\relax\NAT@date\relax
4687 \@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}%
4688 \else
4689 \ifx\NAT@last@nm\NAT@nm\NAT@yrsep
4690 \ifx\NAT@last@yr\NAT@year
4691 \def\NAT@temp{{?}}%
4692 \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}%
4693 {Multiple citation on page \thepage: same authors and
4694 year\MessageBreak without distinguishing extra
4695 letter,\MessageBreak appears as question mark}\fi
4696 \NAT@hyper@{\NAT@exlab}%
4697 \else
4698 \unskip\NAT@spacechar
4699 \NAT@hyper@{\NAT@date}%
4700 \fi
4701 \else
4702 \@citea\NAT@hyper@{%
4703 \NAT@nmfmt{\NAT@nm}%
4704 \hyper@natlinkbreak{\NAT@spacechar\NAT@@open\if*#1*\else#1\NAT@spacechar\fi}%
4705 {\@citeb\@extra@b@citeb}%
4706 \NAT@date
4707 }%
4708 \fi
4709 \fi
4710 \or\@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}%
4711 \or\@citea\NAT@hyper@{\NAT@date}%
4712 \or\@citea\NAT@hyper@{\NAT@alias}%
4713 \fi
4714 \if\relax\NAT@date\relax
4715 \NAT@def@citea
4716 \else
4717 \NAT@def@citea@close
4718 \fi
4719 \fi
4720 }}\ifNAT@swa\else\if*#2*\else\NAT@cmt#2\fi
4721 \if\relax\NAT@date\relax\else\NAT@@close\fi\fi}}{#1}{#2}}
4722 \newcommand\NAT@Latin@citexnum{}
4723 \def\NAT@Latin@citexnum[#1][#2]#3{%
4724 \NAT@reset@parser
4725 \NAT@sort@cites{#3}%
4726 \NAT@reset@citea
4727 \@cite{\lr{\def\NAT@num{-1}\let\NAT@last@yr\relax\let\NAT@nm\@empty
4728 \@for\@citeb:=\NAT@cite@list\do
4729 {\@safe@activestrue
4730 \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
4731 \@safe@activesfalse
4732 \@ifundefined{b@\@citeb\@extra@b@citeb}{%
4733 {\reset@font\bfseries?}
4734 \NAT@citeundefined\PackageWarning{natbib}%
4735 {Citation `\@citeb' on page \thepage \space undefined}}%
4736 {\let\NAT@last@num\NAT@num\let\NAT@last@nm\NAT@nm
4737 \NAT@parse{\@citeb}%
4738 \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{%
4739 \let\NAT@name=\NAT@all@names
4740 \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}%
4741 \fi
4742 \ifNAT@full\let\NAT@nm\NAT@all@names\else
4743 \let\NAT@nm\NAT@name\fi
4744 \ifNAT@swa
4745 \@ifnum{\NAT@ctype>\@ne}{%
4746 \@citea
4747 \NAT@hyper@{\@ifnum{\NAT@ctype=\tw@}{\NAT@test{\NAT@ctype}}{\NAT@alias}}%
4748 }{%
4749 \@ifnum{\NAT@cmprs>\z@}{%
4750 \NAT@ifcat@num\NAT@num
4751 {\let\NAT@nm=\NAT@num}%
4752 {\def\NAT@nm{-2}}%
4753 \NAT@ifcat@num\NAT@last@num
4754 {\@tempcnta=\NAT@last@num\relax}%
4755 {\@tempcnta\m@ne}%
4756 \@ifnum{\NAT@nm=\@tempcnta}{%
4757 \@ifnum{\NAT@merge>\@ne}{}{\NAT@last@yr@mbox}%
4758 }{%
4759 \advance\@tempcnta by\@ne
4760 \@ifnum{\NAT@nm=\@tempcnta}{%
4761 \ifx\NAT@last@yr\relax
4762 \def@NAT@last@yr{\@citea}%
4763 \else
4764 \def@NAT@last@yr{--\NAT@penalty}%
4765 \fi
4766 }{%
4767 \NAT@last@yr@mbox
4768 }%
4769 }%
4770 }{%
4771 \@tempswatrue
4772 \@ifnum{\NAT@merge>\@ne}{\@ifnum{\NAT@last@num=\NAT@num\relax}{\@tempswafalse}{}}{}%
4773 \if@tempswa\NAT@citea@mbox\fi
4774 }%
4775 }%
4776 \NAT@def@citea
4777 \else
4778 \ifcase\NAT@ctype
4779 \ifx\NAT@last@nm\NAT@nm \NAT@yrsep\NAT@penalty\NAT@space\else
4780 \@citea \NAT@test{\@ne}\NAT@spacechar\NAT@mbox{\NAT@super@kern\NAT@@open}%
4781 \fi
4782 \if*#1*\else#1\NAT@spacechar\fi
4783 \NAT@mbox{\NAT@hyper@{{\citenumfont{\NAT@num}}}}%
4784 \NAT@def@citea@box
4785 \or
4786 \NAT@hyper@citea@space{\NAT@test{\NAT@ctype}}%
4787 \or
4788 \NAT@hyper@citea@space{\NAT@test{\NAT@ctype}}%
4789 \or
4790 \NAT@hyper@citea@space\NAT@alias
4791 \fi
4792 \fi
4793 }%
4794 }%
4795 \@ifnum{\NAT@cmprs>\z@}{\NAT@last@yr}{}%
4796 \ifNAT@swa\else
4797 \@ifnum{\NAT@ctype=\z@}{%
4798 \if*#2*\else\NAT@cmt#2\fi
4799 }{}%
4800 \NAT@mbox{\NAT@@close}%
4801 \fi
4802 }}{#1}{#2}%
4803 }%
4804 \AtBeginDocument{\NAT@set@cites}
4805 \DeclareRobustCommand\Latincite
4806 {\begingroup\let\NAT@ctype\z@\NAT@partrue\NAT@swatrue
4807 \@ifstar{\NAT@fulltrue\NAT@Latin@cites}{\NAT@fullfalse\NAT@Latin@cites}}
4808 \newcommand\NAT@Latin@cites{\@ifnextchar [{\NAT@@Latin@@citetp}{%
4809 \ifNAT@numbers\else
4810 \NAT@swafalse
4811 \fi
4812 \NAT@@Latin@@citetp[]}}
4813 \newcommand\NAT@@Latin@@citetp{}
4814 \def\NAT@@Latin@@citetp[#1]{\@ifnextchar[{\@Latincitex[#1]}{\@Latincitex[][#1]}}
4815 % \end{macrocode}
4816 % \iffalse
4817 %</natbib-xepersian.def>
4818 %<*packages-localise-xepersian.def>
4819 %\fi
4820 % \subsection{\textsf{packages-localise-xepersian.def}}
4821 % \begin{macrocode}
4822 \آماده‌سازی‌پرونده{packages-localise-xepersian.def}[2011/03/01 v0.1 localising LaTeX2e Packages]
4823 \@گرسبک‌فراخوانی‌شده{color}{\ورودی{color-localise.def}}{}
4824 \@ifpackageloaded{multicol}{%
4825 \newenvironment{چندستونی‌ها}{\begin{multicols}}{\end{multicols}}%
4826 \newenvironment{چندستونی‌ها*}{\begin{multicols*}}{\end{multicols*}}%
4827 }{}
4828 \@ifpackageloaded{verbatim}{%
4829 \begingroup
4830 \vrb@catcodes
4831 \lccode`\!=`\\ \lccode`\[=`\{ \lccode`\]=`\}
4832 \catcode`\~=\active \lccode`\~=`\^^M
4833 \lccode`\C=`\C
4834 \lowercase{\endgroup
4835 \def\xepersian@localize@verbatim@start#1{%
4836 \verbatim@startline
4837 \if\noexpand#1\noexpand~%
4838 \let\next\xepersian@localize@verbatim@
4839 \else \def\next{\xepersian@localize@verbatim@#1}\fi
4840 \next}%
4841 \def\xepersian@localize@verbatim@#1~{\xepersian@localize@verbatim@@#1!پایان\@nil}%
4842 \def\xepersian@localize@verbatim@@#1!پایان{%
4843 \verbatim@addtoline{#1}%
4844 \futurelet\next\xepersian@localize@verbatim@@@}%
4845 \def\xepersian@localize@verbatim@@@#1\@nil{%
4846 \ifx\next\@nil
4847 \verbatim@processline
4848 \verbatim@startline
4849 \let\next\xepersian@localize@verbatim@
4850 \else
4851 \def\@tempa##1!پایان\@nil{##1}%
4852 \@temptokena{!پایان}%
4853 \def\next{\expandafter\verbatim@test\@tempa#1\@nil~}%
4854 \fi \next}%
4855 \def\verbatim@test#1{%
4856 \let\next\verbatim@test
4857 \if\noexpand#1\noexpand~%
4858 \expandafter\verbatim@addtoline
4859 \expandafter{\the\@temptokena}%
4860 \verbatim@processline
4861 \verbatim@startline
4862 \let\next\xepersian@localize@verbatim@
4863 \else \if\noexpand#1
4864 \@temptokena\expandafter{\the\@temptokena#1}%
4865 \else \if\noexpand#1\noexpand[%
4866 \let\@tempc\@empty
4867 \let\next\verbatim@testend
4868 \else
4869 \expandafter\verbatim@addtoline
4870 \expandafter{\the\@temptokena}%
4871 \def\next{\xepersian@localize@verbatim@#1}%
4872 \fi\fi\fi
4873 \next}%
4874 \def\verbatim@testend#1{%
4875 \if\noexpand#1\noexpand~%
4876 \expandafter\verbatim@addtoline
4877 \expandafter{\the\@temptokena[}%
4878 \expandafter\verbatim@addtoline
4879 \expandafter{\@tempc}%
4880 \verbatim@processline
4881 \verbatim@startline
4882 \let\next\xepersian@localize@verbatim@
4883 \else\if\noexpand#1\noexpand]%
4884 \let\next\verbatim@@testend
4885 \else\if\noexpand#1\noexpand!%
4886 \expandafter\verbatim@addtoline
4887 \expandafter{\the\@temptokena[}%
4888 \expandafter\verbatim@addtoline
4889 \expandafter{\@tempc}%
4890 \def\next{\xepersian@localize@verbatim@!}%
4891 \else \expandafter\def\expandafter\@tempc\expandafter
4892 {\@tempc#1}\fi\fi\fi
4893 \next}%
4894 \def\verbatim@@testend{%
4895 \ifx\@tempc\@currenvir
4896 \verbatim@finish
4897 \edef\next{\noexpand\end{\@currenvir}%
4898 \noexpand\verbatim@rescan{\@currenvir}}%
4899 \else
4900 \expandafter\verbatim@addtoline
4901 \expandafter{\the\@temptokena[}%
4902 \expandafter\verbatim@addtoline
4903 \expandafter{\@tempc]}%
4904 \let\next\xepersian@localize@verbatim@
4905 \fi
4906 \next}%
4907 \def\verbatim@rescan#1#2~{\if\noexpand~\noexpand#2~\else
4908 \@warning{Characters dropped after `\string\end{#1}'}\fi}}%
4909 \def\همانطورکه‌هست{\begingroup\@verbatim \frenchspacing\@vobeyspaces
4910 \xepersian@localize@verbatim@start}
4911 \@namedef{همانطورکه‌هست*}{\begingroup\@verbatim\xepersian@localize@verbatim@start}
4912 \def\endهمانطورکه‌هست{\endtrivlist\endgroup\@doendpe}
4913 \expandafter\let\csname endهمانطورکه‌هست*\endcsname =\endهمانطورکه‌هست
4914 }{}
4915 \ExplSyntaxOn
4916 \AtBeginDocument{
4917 \xepersian_localize_patch_verbatim:
4918 }
4919 \cs_set:Npn \xepersian_localize_patch_verbatim: {
4920 \@ifpackageloaded{verbatim}{
4921 \cs_set:cpn {همانطورکه‌هست*} {
4922 \group_begin: \@verbatim \fontspec_print_visible_spaces: \xepersian@localize@verbatim@start
4923 }
4924 }{
4925 }
4926 }
4927 \ExplSyntaxOff
4928 \@ifpackageloaded{graphicx}{%
4929 \def\Gin@boolkey#1#2{%
4930 \expandafter\@ifdefinable \csname Gin@#2درست\endcsname{%
4931 \expandafter\let\csname Gin@#2درست\expandafter\endcsname\csname Gin@#2true\endcsname}%
4932 \expandafter\@ifdefinable \csname Gin@#2نادرست\endcsname{%
4933 \expandafter\let\csname Gin@#2نادرست\expandafter\endcsname\csname Gin@#2false\endcsname}%
4934 \csname Gin@#2\ifx\relax#1\relax true\else#1\fi\endcsname}
4935 \define@key{Grot}{origin}[c]{%
4936 \@tfor\@tempa:=#1\do{%
4937 \if l\@tempa \Grot@x\z@\else
4938 \if چ\@tempa \Grot@x\z@\else
4939 \if r\@tempa \Grot@x\width\else
4940 \if ر\@tempa \Grot@x\width\else
4941 \if t\@tempa \Grot@y\height\else
4942 \if ب\@tempa \Grot@y\height\else
4943 \if b\@tempa \Grot@y-\depth\else
4944 \if ز\@tempa \Grot@y-\depth\else
4945 \if B\@tempa \Grot@y\z@\else
4946 \if ک\@tempa \Grot@y\z@\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}}
4947 \معادل@کلید{Gin}{پیش‌نویس}{draft}
4948 \معادل@کلید{Gin}{مبدا}{origin}
4949 \معادل@کلید{Grot}{مبدا}{origin}
4950 \معادل@کلید{Gin}{بی‌اضافه}{clip}
4951 \معادل@کلید{Gin}{حفظ‌تناسب}{keepaspectratio}
4952 \معادل@کلید{Gin}{پهنای‌طبیعی}{natwidth}
4953 \معادل@کلید{Gin}{بلندای‌طبیعی}{natheight}
4954 \معادل@کلید{Gin}{مختصات}{bb}
4955 \معادل@کلید{Gin}{محدوده‌نمایش}{viewport}
4956 \معادل@کلید{Gin}{حذف‌اطراف}{trim}
4957 \معادل@کلید{Gin}{زاویه}{angle}
4958 \معادل@کلید{Gin}{پهنا}{width}
4959 \معادل@کلید{Gin}{بلندا}{height}
4960 \معادل@کلید{Gin}{بلندای‌کل}{totalheight}
4961 \معادل@کلید{Gin}{ضریب}{scale}
4962 \معادل@کلید{Gin}{نوع}{type}
4963 \معادل@کلید{Gin}{پسوند}{ext}
4964 \معادل@کلید{Gin}{خواندنی}{read}
4965 \معادل@کلید{Gin}{فرمان}{command}
4966 \معادل@کلید{Grot}{طول}{x}
4967 \معادل@کلید{Grot}{عرض}{y}
4968 \معادل@کلید{Grot}{واحد}{units}
4969 }{}
4970 % \end{macrocode}
4971 % \iffalse
4972 %</packages-localise-xepersian.def>
4973 %<*parsidigits.map>
4974 %\fi
4975 % \subsection{\textsf{parsidigits.map}}
4976 % \begin{macrocode}
4977 LHSName "Digits"
4978 RHSName "ParsiDigits"
4979
4980 pass(Unicode)
4981 U+0030 <> U+06F0 ;
4982 U+0031 <> U+06F1 ;
4983 U+0032 <> U+06F2 ;
4984 U+0033 <> U+06F3 ;
4985 U+0034 <> U+06F4 ;
4986 U+0035 <> U+06F5 ;
4987 U+0036 <> U+06F6 ;
4988 U+0037 <> U+06F7 ;
4989 U+0038 <> U+06F8 ;
4990 U+0039 <> U+06F9 ;
4991
4992 U+0644 U+0651 U+064E U+0627 <> U+0644 U+0627 U+0651 U+064E ; lam shadda fatha alif -> lam alif shadda fatha
4993 U+0644 U+0651 U+0627 <> U+0644 U+0627 U+0651 ; lam shadda alif -> lam alif shadda
4994 U+0644 U+0652 U+0622 <> U+0644 U+0622 U+0652 ; lam sukun alifmadda -> lam alifmadda sukun
4995 U+0644 U+0652 U+0623 <> U+0644 U+0623 U+0652 ; lam sukun alifhamzaabove -> lam alifhamzaabove sukun
4996 U+0644 U+0652 U+0625 <> U+0644 U+0625 U+0652 ; lam sukun alifhamzabelow -> lam alifhamzabelow sukun
4997 U+0644 U+0651 U+064B U+0627 <> U+0644 U+0627 U+0651 U+064b ; lam shadda fathatan alif -> lam alif shadda fathatan
4998 U+0644 U+064B U+0627 <> U+0644 U+0627 U+064B ; lam fathatan alif -> lam alif fathatan
4999
5000 U+002C <> U+060C ; comma ­> arabic comma
5001 U+003F <> U+061F ; question mark -> arabic qm
5002 U+003B <> U+061B ; semicolon -> arabic semicolon
5003
5004 ; ligatures from Knuth's original CMR fonts
5005 U+002D U+002D <> U+2013 ; -- -> en dash
5006 U+002D U+002D U+002D <> U+2014 ; --- -> em dash
5007
5008 U+0027 <> U+2019 ; ' -> right single quote
5009 U+0027 U+0027 <> U+201D ; '' -> right double quote
5010 U+0022 > U+201D ; " -> right double quote
5011
5012 U+0060 <> U+2018 ; ` -> left single quote
5013 U+0060 U+0060 <> U+201C ; `` -> left double quote
5014
5015 U+0021 U+0060 <> U+00A1 ; !` -> inverted exclam
5016 U+003F U+0060 <> U+00BF ; ?` -> inverted question
5017
5018 ; additions supported in T1 encoding
5019 U+002C U+002C <> U+201E ; ,, -> DOUBLE LOW-9 QUOTATION MARK
5020 U+003C U+003C <> U+00AB ; << -> LEFT POINTING GUILLEMET
5021 U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
5022 % \end{macrocode}
5023 % \iffalse
5024 %</parsidigits.map>
5025 %<*rapport1-xepersian.def>
5026 %\fi
5027 % \subsection{\textsf{rapport1-xepersian.def}}
5028 % \begin{macrocode}
5029 \ProvidesFile{rapport1-xepersian.def}[2010/07/25 v0.1 adaptations for rapport1 class]
5030 \renewcommand*\thepart{\@tartibi\c@part}
5031 \renewcommand*\appendix{\par
5032 \setcounter{chapter}{0}%
5033 \setcounter{section}{0}%
5034 \gdef\@chapapp{\appendixname}%
5035 \gdef\thechapter{\@harfi\c@chapter}}
5036 % \end{macrocode}
5037 % \iffalse
5038 %</rapport1-xepersian.def>
5039 %<*rapport3-xepersian.def>
5040 %\fi
5041 % \subsection{\textsf{rapport3-xepersian.def}}
5042 % \begin{macrocode}
5043 \ProvidesFile{rapport3-xepersian.def}[2010/07/25 v0.2 adaptations for rapport3 class]
5044 \renewcommand*\thepart{\@tartibi\c@part}
5045 \renewcommand*\appendix{\par
5046 \setcounter{chapter}{0}%
5047 \setcounter{section}{0}%
5048 \gdef\@chapapp{\appendixname}%
5049 \gdef\thechapter{\@harfi\c@chapter}}
5050 % \end{macrocode}
5051 % \iffalse
5052 %</rapport3-xepersian.def>
5053 %<*refrep-xepersian.def>
5054 %\fi
5055 % \subsection{\textsf{refrep-xepersian.def}}
5056 % \begin{macrocode}
5057 \ProvidesFile{refrep-xepersian.def}[2010/07/25 v0.2 adaptations for refrep class]
5058 \renewcommand \thepart {\@tartibi\c@part}
5059 \renewcommand\appendix{\par
5060 \setcounter{chapter}{0}%
5061 \setcounter{section}{0}%
5062 \gdef\@chapapp{\appendixname}%
5063 \gdef\thechapter{\@harfi\c@chapter}
5064 }%end appendix
5065 % \end{macrocode}
5066 % \iffalse
5067 %</refrep-xepersian.def>
5068 %<*report-xepersian.def>
5069 %\fi
5070 % \subsection{\textsf{report-xepersian.def}}
5071 % \begin{macrocode}
5072 \ProvidesFile{report-xepersian.def}[2010/07/25 v0.2 adaptations for standard report class]
5073 \renewcommand \thepart {\@tartibi\c@part}
5074 \renewcommand\appendix{\par
5075 \setcounter{chapter}{0}%
5076 \setcounter{section}{0}%
5077 \gdef\@chapapp{\appendixname}%
5078 \gdef\thechapter{\@harfi\c@chapter}
5079 }%end appendix
5080 % \end{macrocode}
5081 % \iffalse
5082 %</report-xepersian.def>
5083 %<*scrartcl-xepersian.def>
5084 %\fi
5085 % \subsection{\textsf{scrartcl-xepersian.def}}
5086 % \begin{macrocode}
5087 \ProvidesFile{scrartcl-xepersian.def}[2010/07/25 v0.2 adaptations for scrartcl class]
5088 \renewcommand*{\thepart}{\@tartibi\c@part}
5089 \renewcommand*\appendix{\par%
5090 \setcounter{section}{0}%
5091 \setcounter{subsection}{0}%
5092 \gdef\thesection{\@harfi\c@section}%
5093 \csname appendixmore\endcsname
5094 }
5095 \renewcommand*{\@@maybeautodot}[1]{%
5096 \ifx #1\@stop\let\@@maybeautodot\relax
5097 \else
5098 \ifx #1\harfi \@autodottrue\fi
5099 \ifx #1\adadi \@autodottrue\fi
5100 \ifx #1\tartibi \@autodottrue\fi
5101 \ifx #1\Alph \@autodottrue\fi
5102 \ifx #1\alph \@autodottrue\fi
5103 \ifx #1\Roman \@autodottrue\fi
5104 \ifx #1\roman \@autodottrue\fi
5105 \ifx #1\@harfi \@autodottrue\fi
5106 \ifx #1\@adadi \@autodottrue\fi
5107 \ifx #1\@tartibi \@autodottrue\fi
5108 \ifx #1\@Alph \@autodottrue\fi
5109 \ifx #1\@alph \@autodottrue\fi
5110 \ifx #1\@Roman \@autodottrue\fi
5111 \ifx #1\@roman \@autodottrue\fi
5112 \ifx #1\romannumeral \@autodottrue\fi
5113 \fi
5114 \@@maybeautodot
5115 }
5116 % \end{macrocode}
5117 % \iffalse
5118 %</scrartcl-xepersian.def>
5119 %<*scrbook-xepersian.def>
5120 %\fi
5121 % \subsection{\textsf{scrbook-xepersian.def}}
5122 % \begin{macrocode}
5123 \ProvidesFile{scrbook-xepersian.def}[2010/07/25 v0.2 adaptations for scrbook class]
5124 \renewcommand*\frontmatter{%
5125 \if@twoside\cleardoubleoddpage\else\clearpage\fi
5126 \@mainmatterfalse\pagenumbering{harfi}%
5127 }
5128 \renewcommand*{\thepart}{\@tartibi\c@part}
5129 \renewcommand*\appendix{\par%
5130 \setcounter{chapter}{0}%
5131 \setcounter{section}{0}%
5132 \gdef\@chapapp{\appendixname}%
5133 \gdef\thechapter{\@harfi\c@chapter}%
5134 \csname appendixmore\endcsname
5135 }
5136 \renewcommand*{\@@maybeautodot}[1]{%
5137 \ifx #1\@stop\let\@@maybeautodot\relax
5138 \else
5139 \ifx #1\harfi \@autodottrue\fi
5140 \ifx #1\adadi \@autodottrue\fi
5141 \ifx #1\tartibi \@autodottrue\fi
5142 \ifx #1\Alph \@autodottrue\fi
5143 \ifx #1\alph \@autodottrue\fi
5144 \ifx #1\Roman \@autodottrue\fi
5145 \ifx #1\roman \@autodottrue\fi
5146 \ifx #1\@harfi \@autodottrue\fi
5147 \ifx #1\@adadi \@autodottrue\fi
5148 \ifx #1\@tartibi \@autodottrue\fi
5149 \ifx #1\@Alph \@autodottrue\fi
5150 \ifx #1\@alph \@autodottrue\fi
5151 \ifx #1\@Roman \@autodottrue\fi
5152 \ifx #1\@roman \@autodottrue\fi
5153 \ifx #1\romannumeral \@autodottrue\fi
5154 \fi
5155 \@@maybeautodot
5156 }
5157 % \end{macrocode}
5158 % \iffalse
5159 %</scrbook-xepersian.def>
5160 %<*scrreprt-xepersian.def>
5161 %\fi
5162 % \subsection{\textsf{scrreprt-xepersian.def}}
5163 % \begin{macrocode}
5164 \ProvidesFile{scrreprt-xepersian.def}[2010/07/25 v0.2 adaptations for scrreprt class]
5165 \renewcommand*{\thepart}{\@tartibi\c@part}
5166 \renewcommand*\appendix{\par%
5167 \setcounter{chapter}{0}%
5168 \setcounter{section}{0}%
5169 \gdef\@chapapp{\appendixname}%
5170 \gdef\thechapter{\@harfi\c@chapter}%
5171 \csname appendixmore\endcsname
5172 }
5173 \renewcommand*{\@@maybeautodot}[1]{%
5174 \ifx #1\@stop\let\@@maybeautodot\relax
5175 \else
5176 \ifx #1\harfi \@autodottrue\fi
5177 \ifx #1\adadi \@autodottrue\fi
5178 \ifx #1\tartibi \@autodottrue\fi
5179 \ifx #1\Alph \@autodottrue\fi
5180 \ifx #1\alph \@autodottrue\fi
5181 \ifx #1\Roman \@autodottrue\fi
5182 \ifx #1\roman \@autodottrue\fi
5183 \ifx #1\@harfi \@autodottrue\fi
5184 \ifx #1\@adadi \@autodottrue\fi
5185 \ifx #1\@tartibi \@autodottrue\fi
5186 \ifx #1\@Alph \@autodottrue\fi
5187 \ifx #1\@alph \@autodottrue\fi
5188 \ifx #1\@Roman \@autodottrue\fi
5189 \ifx #1\@roman \@autodottrue\fi
5190 \ifx #1\romannumeral \@autodottrue\fi
5191 \fi
5192 \@@maybeautodot
5193 }
5194 % \end{macrocode}
5195 % \iffalse
5196 %</scrreprt-xepersian.def>
5197 %<*tocloft-xepersian.def>
5198 %\fi
5199 % \subsection{\textsf{tocloft-xepersian.def}}
5200 % \begin{macrocode}
5201 \ProvidesFile{tocloft-xepersian.def}[2010/07/25 v0.1 bilingual captions for tocloft package]
5202 \renewcommand*{\cftchapname}{\if@RTL فصل\else chapter\fi}
5203 \renewcommand*{\cftsecname}{\if@RTL قسمت\else section\fi}
5204 \renewcommand*{\cftsubsecname}{\if@RTL زیرقسمت\else subsection\fi}
5205 \renewcommand*{\cftsubsubsecname}{\if@RTL زیرزیرقسمت\else subsubsection\fi}
5206 \renewcommand*{\cftparaname}{\if@RTL پاراگراف\else paragraph\fi}
5207 \renewcommand*{\cftsubparaname}{\if@RTL زیرپاراگراف\else subparagraph\fi}
5208 \renewcommand*{\cftfigname}{\if@RTL شکل\else figure\fi}
5209 \renewcommand*{\cftsubfigname}{\if@RTL زیرشکل\else subfigure\fi}
5210 \renewcommand*{\cfttabname}{\if@RTL جدول\else table\fi}
5211 \renewcommand*{\cftsubtabname}{\if@RTL زیرجدول\else subtable\fi}
5212 % \end{macrocode}
5213 % \iffalse
5214 %</tocloft-xepersian.def>
5215 %<*xepersian.sty>
5216 %\fi
5217 % \subsection{\textsf{xepersian.sty}}
5218 % \begin{macrocode}
5219 \NeedsTeXFormat{LaTeX2e}
5220 \def\xepersianversion{v1.3.4}
5221 \def\xepersiandate{2012/01/01}
5222 \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
5223 Persian typesetting in XeLaTeX]
5224 \RequirePackage{fontspec}
5225 \RequirePackage{xepersian-persiancal}
5226 \RequirePackage{xepersian-mathsdigitspec}
5227 \RequirePackage[RTLdocument]{bidi}
5228 \edef\xepersianinfo{%
5229 xepersian package (Persian for LaTeX over XeTeX)^^J
5230 Description: The package supports Persian^^J
5231 typesetting, using fonts provided in the distribution.^^J
5232 Copyright © 2008–2012 Vafa Khalighi^^J
5233 \xepersianversion, \xepersiandate^^J
5234 License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J
5235 Location on CTAN: /macros/xetex/latex/xepersian}
5236 \typeout{\xepersianinfo}
5237 \edef\xepersian@everyjob{\the\everyjob}
5238 \everyjob{\xepersian@everyjob\typeout{\xepersianinfo}}
5239 \def\prq{«}
5240 \def\plq{»}
5241 \def\xepersian@cmds@temp#1{%
5242 \begingroup\expandafter\expandafter\expandafter\endgroup
5243 \expandafter\ifx\csname xepersian@#1\endcsname\relax
5244 \begingroup
5245 \escapechar=-1 %
5246 \edef\x{\expandafter\meaning\csname#1\endcsname}%
5247 \def\y{#1}%
5248 \def\z##1->{}%
5249 \edef\y{\expandafter\z\meaning\y}%
5250 \expandafter\endgroup
5251 \ifx\x\y
5252 \expandafter\def\csname xepersian@#1\expandafter\endcsname
5253 \expandafter{%
5254 \csname#1\endcsname
5255 }%
5256 \fi
5257 \fi
5258 }%
5259 \xepersian@cmds@temp{shellescape}
5260 \newif\ifwritexviii
5261 \ifnum\xepersian@shellescape=1\relax
5262 \writexviiitrue
5263 \else
5264 \writexviiifalse
5265 \fi
5266 \newfontscript{Parsi}{arab}
5267 \newfontlanguage{Parsi}{FAR}
5268 \ExplSyntaxOn
5269 \DeclareDocumentCommand \settextfont { O{} m } {
5270 \fontspec_select:nn{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
5271 \use:x {
5272 \exp_not:N \DeclareRobustCommand \exp_not:N \persianfont {
5273 \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
5274 \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
5275 }
5276 }
5277 \cs_set_eq:NN \rmdefault \l_fontspec_family_tl
5278 \normalfont
5279 }
5280 \settextfont[ExternalLocation,BoldFont={persian-modern-bold},BoldItalicFont={persian-modern-bolditalic},ItalicFont={persian-modern-italic},SlantedFont={persian-modern-oblique},BoldSlantedFont={persian-modern-boldoblique}]{persian-modern-regular}
5281 \setdigitfont[ExternalLocation,BoldFont={persian-modern-bold},BoldItalicFont={persian-modern-bolditalic},ItalicFont={persian-modern-italic},SlantedFont={persian-modern-oblique},BoldSlantedFont={persian-modern-boldoblique}]{persian-modern-regular}
5282 \DeclareDocumentCommand \setlatintextfont { O{} m } {
5283 \fontspec_select:nn{Mapping=tex-text,#1}{#2}
5284 \use:x {
5285 \exp_not:N \DeclareRobustCommand \exp_not:N \latinfont {
5286 \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
5287 \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
5288 }
5289 }
5290 }
5291 \setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic},ItalicFont={lmroman10-italic},SmallCapsFont={lmromancaps10-regular},SlantedFont={lmromanslant10-regular},BoldSlantedFont={lmromanslant10-bold}]{lmroman10-regular}
5292 \cs_set_eq:NN \setlatinsansfont \setsansfont
5293 \cs_set_eq:NN \setlatinmonofont \setmonofont
5294 \DeclareDocumentCommand \defpersianfont { m O{} m } {
5295 \fontspec_select:nn{Script=Parsi,Language=Parsi,Mapping=parsidigits,#2}{#3}
5296 \use:x {
5297 \exp_not:N \DeclareRobustCommand \exp_not:N #1 {
5298 \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
5299 \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
5300 }
5301 }
5302 }
5303 \DeclareDocumentCommand \deflatinfont { m O{} m } {
5304 \fontspec_select:nn{Mapping=tex-text,#2}{#3}
5305 \use:x {
5306 \exp_not:N \DeclareRobustCommand \exp_not:N #1 {
5307 \exp_not:N \fontencoding {\g_fontspec_encoding_tl}
5308 \exp_not:N \fontfamily {\l_fontspec_family_tl} \exp_not:N \selectfont
5309 }
5310 }
5311 }
5312 \newcommand\persiansfdefault{}
5313 \newcommand\persianttdefault{}
5314 \newcommand\iranicdefault{}
5315 \newcommand\navardefault{}
5316 \newcommand\pookdefault{}
5317 \newcommand\sayehdefault{}
5318 \DeclareRobustCommand\persiansffamily
5319 {\not@math@alphabet\persiansffamily\mathpersiansf
5320 \fontfamily\persiansfdefault\selectfont}
5321 \DeclareRobustCommand\persianttfamily
5322 {\not@math@alphabet\persianttfamily\mathpersiantt
5323 \fontfamily\persianttdefault\selectfont}
5324 \DeclareRobustCommand\iranicfamily
5325 {\not@math@alphabet\iranicfamily\mathiranic
5326 \fontfamily\iranicdefault\selectfont}
5327 \DeclareRobustCommand\navarfamily
5328 {\not@math@alphabet\navarfamily\mathnavar
5329 \fontfamily\navardefault\selectfont}
5330 \DeclareRobustCommand\pookfamily
5331 {\not@math@alphabet\pookfamily\mathpook
5332 \fontfamily\pookdefault\selectfont}
5333 \DeclareRobustCommand\sayehfamily
5334 {\not@math@alphabet\sayehfamily\mathsayeh
5335 \fontfamily\sayehdefault\selectfont}
5336 \DeclareTextFontCommand{\textpersiansf}{\persiansffamily}
5337 \DeclareTextFontCommand{\textpersiantt}{\persianttfamily}
5338 \DeclareTextFontCommand{\textiranic}{\iranicfamily}
5339 \DeclareTextFontCommand{\textnavar}{\navarfamily}
5340 \DeclareTextFontCommand{\textpook}{\pookfamily}
5341 \DeclareTextFontCommand{\textsayeh}{\sayehfamily}
5342 \DeclareDocumentCommand \setpersiansansfont { O{} m } {
5343 \fontspec_set_family:Nnn \persiansfdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
5344 \normalfont
5345 }
5346 \DeclareDocumentCommand \setpersianmonofont { O{} m } {
5347 \fontspec_set_family:Nnn \persianttdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
5348 \normalfont
5349 }
5350 \DeclareDocumentCommand \setnavarfont { O{} m } {
5351 \fontspec_set_family:Nnn \navardefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
5352 \normalfont
5353 }
5354 \DeclareDocumentCommand \setpookfont { O{} m } {
5355 \fontspec_set_family:Nnn \pookdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
5356 \normalfont
5357 }
5358 \setpookfont[ExternalLocation,ItalicFont={persian-modern-italicoutline},SlantedFont={persian-modern-obliqueoutline}]{persian-modern-outline}
5359 \DeclareDocumentCommand \setsayehfont { O{} m } {
5360 \fontspec_set_family:Nnn \sayehdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
5361 \normalfont
5362 }
5363 \setsayehfont[ExternalLocation,ItalicFont={persian-modern-italicshadow},SlantedFont={persian-modern-obliqueshadow}]{persian-modern-shadow}
5364 \DeclareDocumentCommand \setiranicfont { O{} m } {
5365 \fontspec_set_family:Nnn \iranicdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}
5366 \normalfont
5367 }
5368 \ExplSyntaxOff
5369 \setiranicfont[ExternalLocation,BoldFont={persian-modern-boldoblique}]{persian-modern-oblique}
5370 \def\resetlatinfont{%
5371 \let\normalfont\latinfont%
5372 \latinfont}
5373 \def\setpersianfont{%
5374 \let\normalfont\persianfont%
5375 \persianfont}
5376 \def\lr#1{\LRE{\latinfont#1}}
5377 \def\rl#1{\RLE{\persianfont#1}}
5378 \def\latin{\LTR\LatinAlphs\@Latintrue\@RTL@footnotefalse\resetlatinfont}
5379 \def\endlatin{\endLTR}
5380 \def\persian{\RTL\PersianAlphs\@RTL@footnotetrue\setpersianfont}
5381 \def\endpersian{\endRTL}
5382 \let\originaltoday=\today
5383 \def\today{\lr{\originaltoday}}
5384 \let\latintoday\today
5385 \def\today{\rl{\persiantoday}}
5386 \def \@LTRmarginparreset {%
5387 \reset@font
5388 \latinfont
5389 \normalsize
5390 \@minipagetrue
5391 \everypar{\@minipagefalse\everypar{}\beginL}%
5392 }
5393 \DeclareRobustCommand\Latincite{%
5394 \@ifnextchar [{\@tempswatrue\@Latincitex}{\@tempswafalse\@Latincitex[]}}
5395 \def\@Latincitex[#1]#2{\leavevmode
5396 \let\@citea\@empty
5397 \@cite{\lr{\@for\@citeb:=#2\do
5398 {\@citea\def\@citea{,\penalty\@m\ }%
5399 \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
5400 \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
5401 \@ifundefined{b@\@citeb}{\hbox{\reset@font\bfseries ?}%
5402 \G@refundefinedtrue
5403 \@latex@warning
5404 {Citation `\@citeb' on page \thepage \space undefined}}%
5405 {\@cite@ofmt{\csname b@\@citeb\endcsname}}}}}{#1}}
5406 \def\@outputpage{%
5407 \begingroup % the \endgroup is put in by \aftergroup
5408 \let \protect \noexpand
5409 \@resetactivechars
5410 \global\let\@@if@newlist\if@newlist
5411 \global\@newlistfalse
5412 \@parboxrestore
5413 \shipout \vbox{%
5414 \set@typeset@protect
5415 \aftergroup \endgroup
5416 \aftergroup \set@typeset@protect
5417 % correct? or just restore by ending
5418 % the group?
5419 \if@specialpage
5420 \global\@specialpagefalse\@nameuse{ps@\@specialstyle}%
5421 \fi
5422 \if@twoside
5423 \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
5424 \let\@themargin\oddsidemargin
5425 \else \let\@thehead\@evenhead
5426 \let\@thefoot\@evenfoot \let\@themargin\evensidemargin
5427 \fi
5428 \ifx\@thehead\@empty \let\@thehead\hfil \fi
5429 \ifx\@thefoot\@empty \let\@thefoot\hfil \fi
5430 \else %% not @twoside
5431 \ifx\@oddhead\@empty \let\@thehead\hfil \fi
5432 \ifx\@oddfoot\@empty \let\@thefoot\hfil \fi
5433 \fi
5434 \reset@font
5435 \normalsize
5436 \if@RTLmain\setpersianfont\else\resetlatinfont\fi
5437 \normalsfcodes
5438 \let\label\@gobble
5439 \let\index\@gobble
5440 \let\glossary\@gobble
5441 \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
5442 \@begindvi
5443 \vskip \topmargin
5444 \moveright\@themargin \vbox {%
5445 \setbox\@tempboxa \vbox to\headheight{%
5446 \vfil
5447 \color@hbox
5448 \normalcolor
5449 \hb@xt@\textwidth{\if@RTLmain\beginR\fi\@thehead\if@RTLmain\endR\fi}%
5450 \color@endbox
5451 }% %% 22 Feb 87
5452 \dp\@tempboxa \z@
5453 \box\@tempboxa
5454 \vskip \headsep
5455 \box\@outputbox
5456 \baselineskip \footskip
5457 \color@hbox
5458 \normalcolor
5459 \hb@xt@\textwidth{\if@RTLmain\beginR\fi\@thefoot\if@RTLmain\endR\fi}%
5460 \color@endbox
5461 }%
5462 }%
5463 \global\let\if@newlist\@@if@newlist
5464 \global \@colht \textheight
5465 \stepcounter{page}%
5466 \let\firstmark\botmark
5467 }
5468 \newcommand\twocolumnstableofcontents{%
5469 \@ifpackageloaded{multicol}{%
5470 \begin{multicols}{2}[\section*{\contentsname}]%
5471 \small
5472 \@starttoc{toc}%
5473 \end{multicols}}
5474 {\PackageError{xepersian}{Oops! you should load multicol package before xepersian package for being able to use this command}{}}}
5475 \def\XePersian{\leavevmode$\smash{\hbox{X\lower.5ex
5476 \hbox{\kern-.125em\reflect{E}}Persian}}$}
5477 \def\figurename{\if@RTL شکل\else Figure\fi}
5478 \def\tablename{\if@RTL جدول\else Table\fi}
5479 \def\contentsname{\if@RTL فهرست مطالب\else Contents\fi}
5480 \def\listfigurename{\if@RTL لیست تصاویر\else List of Figures\fi}
5481 \def\listtablename{\if@RTL لیست جداول\else List of Tables\fi}
5482 \def\appendixname{\if@RTL پیوست\else Appendix\fi}
5483 \def\indexname{\if@RTL نمایه\else Index\fi}
5484 \def\refname{\if@RTL مراجع\else References\fi}
5485 \def\abstractname{\if@RTL چکیده\else Abstract\fi}
5486 \def\partname{\if@RTL بخش\else Part\fi}
5487 \def\datename{\if@RTL تاریخ:\else Date:\fi}
5488 \def\@@and{\if@RTL و\else and\fi}
5489 \def\bibname{\if@RTL کتاب‌نامه\else Bibliography\fi}
5490 \def\chaptername{\if@RTL فصل\else Chapter\fi}
5491 \def\ccname{\if@RTL رونوشت\else cc\fi}
5492 \def\enclname{\if@RTL پیوست\else encl\fi}
5493 \def\pagename{\if@RTL صفحه\else Page\fi}
5494 \def\headtoname{\if@RTL به\else To\fi}
5495 \def\proofname{\if@RTL اثبات\else Proof\fi}
5496 \def\@harfi#1{\ifcase#1\or آ‍\or ب\or پ\or ت\or ث\or
5497 ج\or چ\or ح\or خ\or د\or ذ\or ر\or ز\or ژ\or س\or ش\or ص\or ض\or ط\or ظ\or ع\or غ\or
5498 ف\or ق\or ک\or گ\or ل\or م\or ن\or و\or ه\or ی\else\@ctrerr\fi}
5499 \def\harfi#1{\expandafter\@harfi\csname c@#1\endcsname}
5500 \let\harfinumeral\@harfi
5501 \newcommand{\adadi}[1]{%
5502 \expandafter\@adadi\csname c@#1\endcsname%
5503 }
5504 \newcommand{\@adadi}[1]{%
5505 \xepersian@numberstring{#1}\xepersian@yekanii{صفر}{}%
5506 }
5507 \let\adadinumeral\@adadi%
5508 \def\xepersian@numberoutofrange#1#2{%
5509 \PackageError{xepersian}{The number `#1' is too large %
5510 to be formatted using xepersian}{The largest possible %
5511 number is 999,999,999.}%
5512 }
5513 \def\xepersian@numberstring#1#2#3#4{%
5514 \ifnum\number#1<\@ne%
5515 #3%
5516 \else\ifnum\number#1<1000000000 %
5517 \expandafter\xepersian@adadi\expandafter{\number#1}#2%
5518 \else%
5519 \xepersian@numberoutofrange{#1}{#4}%
5520 \fi\fi%
5521 }
5522 \def\xepersian@adadi#1#2{%
5523 \expandafter\xepersian@@adadi%
5524 \ifcase%
5525 \ifnum#1<10 1%
5526 \else\ifnum#1<100 2%
5527 \else\ifnum#1<\@m 3%
5528 \else\ifnum#1<\@M 4%
5529 \else\ifnum#1<100000 5%
5530 \else\ifnum#1<1000000 6%
5531 \else\ifnum#1<10000000 7%
5532 \else\ifnum#1<100000000 8%
5533 \else9%
5534 \fi\fi\fi\fi\fi\fi\fi\fi %
5535 \or00000000#1% case 1: Add 8 leading zeros
5536 \or0000000#1% case 2: Add 7 leading zeros
5537 \or000000#1% case 3: Add 6 leading zeros
5538 \or00000#1% case 4: Add 5 leading zeros
5539 \or0000#1% case 5: Add 4 leading zeros
5540 \or000#1% case 6: Add 3 leading zeros
5541 \or00#1% case 7: Add 2 leading zeros
5542 \or0#1% case 8: Add 1 leading zero
5543 \or#1% case 9: Add no leading zeros
5544 \or%
5545 \@nil#2%
5546 \fi%
5547 }
5548 \def\xepersian@@adadi#1#2#3#4#5#6#7\or#8\@nil#9{%
5549 \ifnum#1#2#3>\z@
5550 \xepersian@milyoongan#1#2#3%
5551 \ifnum#7>\z@\ifnum#4#5#6>\z@\ و \else\ و \fi\else\ifnum#4#5#6>\z@\ و \fi\fi%
5552 \fi%
5553 \ifnum#4#5#6>\z@%
5554 \xepersian@sadgan#4#5#6{#1#2#3}{#4#5}\xepersian@yekani%
5555 \ifnum#4#5#6>\@ne‌\fi%
5556 هزار%
5557 \ifnum#7>\z@\ و \fi%
5558 \fi%
5559 \xepersian@sadgan#7{#4#5#6}1#9%
5560 }
5561 \def\xepersian@milyoongan#1#2#3{%
5562 \ifnum#1#2#3=\@ne%
5563 \xepersian@sadgan#1#2#301\xepersian@yekaniii%
5564 ‌%
5565 میلیون%
5566 \else%
5567 \xepersian@sadgan#1#2#301\xepersian@yekanii%
5568 ‌%
5569 میلیون%
5570 \fi%
5571 }
5572 \def\xepersian@sadgan#1#2#3#4#5#6{%
5573 \ifnum#1>\z@%
5574 \ifnum#4#1>\@ne\xepersian@yekaniv#1\fi%
5575 صد%
5576 \ifnum#2#3>\z@\ و \fi%
5577 \fi%
5578 \ifnum#2#3<20%
5579 \ifnum#5#2#3>\@ne#6{#2#3}\fi%
5580 \else%
5581 \xepersian@dahgan#2%
5582 \ifnum#3>\z@\ و \xepersian@yekani#3\fi%
5583 #60%
5584 \fi%
5585 }
5586 \def\xepersian@yekani#1{%
5587 \ifcase#1\@empty\or یک\or دو\or سه\or چهار\or پنج\or شش%
5588 \or هفت\or هشت\or نه\or ده\or یازده\or دوازده\or سیزده%
5589 \or چهارده\or پانزده\or شانزده\or هفده%
5590 \or هجده\or نوزده\fi%
5591 }
5592 \def\xepersian@yekanii#1{%
5593 \ifcase#1\@empty\or یک\else\xepersian@yekani{#1}\fi%
5594 }
5595 \def\xepersian@yekaniii#1{%
5596 \ifcase#1\@empty\or یک\else\xepersian@yekani{#1}\fi%
5597 }
5598 \def\xepersian@yekaniv#1{%
5599 \ifcase#1\@empty\or\or دوی\or سی\or چهار\or پان\or شش%
5600 \or هفت\or هشت\or نه\fi%
5601 }
5602 \def\xepersian@dahgan#1{%
5603 \ifcase#1\or\or بیست\or سی\or چهل%
5604 \or پنجاه\or شصت\or هفتاد\or هشتاد%
5605 \or نود\fi%
5606 }
5607 \newcommand{\tartibi}[1]{%
5608 \expandafter\@tartibi\csname c@#1\endcsname%
5609 }
5610 \newcommand{\@tartibi}[1]{%
5611 \xepersian@numberstring@tartibi{#1}\xepersian@tartibi{صفرم}{م}%
5612 }
5613 \let\tartibinumeral\@tartibi%
5614 \def\xepersian@numberstring@tartibi#1#2#3#4{%
5615 \ifnum\number#1<\@ne%
5616 #3%
5617 \else\ifnum\number#1<1000000000 %
5618 \expandafter\xepersian@adadi@tartibi\expandafter{\number#1}#2%
5619 \else%
5620 \xepersian@numberoutofrange{#1}{#4}%
5621 \fi\fi%
5622 }
5623 \def\xepersian@adadi@tartibi#1#2{%
5624 \expandafter\xepersian@@adadi@tartibi%
5625 \ifcase%
5626 \ifnum#1<10 1%
5627 \else\ifnum#1<100 2%
5628 \else\ifnum#1<\@m 3%
5629 \else\ifnum#1<\@M 4%
5630 \else\ifnum#1<100000 5%
5631 \else\ifnum#1<1000000 6%
5632 \else\ifnum#1<10000000 7%
5633 \else\ifnum#1<100000000 8%
5634 \else9%
5635 \fi\fi\fi\fi\fi\fi\fi\fi %
5636 \or00000000#1% case 1: Add 8 leading zeros
5637 \or0000000#1% case 2: Add 7 leading zeros
5638 \or000000#1% case 3: Add 6 leading zeros
5639 \or00000#1% case 4: Add 5 leading zeros
5640 \or0000#1% case 5: Add 4 leading zeros
5641 \or000#1% case 6: Add 3 leading zeros
5642 \or00#1% case 7: Add 2 leading zeros
5643 \or0#1% case 8: Add 1 leading zero
5644 \or#1% case 9: Add no leading zeros
5645 \or%
5646 \@nil#2%
5647 \fi%
5648 }
5649 \def\xepersian@@adadi@tartibi#1#2#3#4#5#6#7\or#8\@nil#9{%
5650 \ifnum#1#2#3>\z@
5651 \xepersian@milyoongan@tartibi#1#2#3%
5652 \ifnum#7>\z@\ifnum#4#5#6>\z@\ و \else\ و \fi\else\ifnum#4#5#6>\z@\ و \fi\fi%
5653 \fi%
5654 \ifnum#4#5#6>\z@%
5655 \xepersian@sadgan#4#5#6{#1#2#3}{#4#5}\xepersian@yekani%
5656 \ifnum#4#5#6>\@ne ‌\fi%
5657 هزار%
5658 \ifnum#7>\z@\ و \fi%
5659 \fi%
5660 \xepersian@sadgan@tartibi#7{#4#5#6}1#9%
5661 }
5662 \def\xepersian@milyoongan@tartibi#1#2#3{%
5663 \ifnum#1#2#3=\@ne%
5664 \xepersian@sadgan@tartibi#1#2#301\xepersian@yekaniii%
5665 ‌%
5666 میلیون%
5667 \else%
5668 \xepersian@sadgan#1#2#301\xepersian@yekanii%
5669 ‌%
5670 میلیون%
5671 \fi%
5672 }
5673 \def\xepersian@sadgan@tartibi#1#2#3#4#5#6{%
5674 \ifnum#1>\z@%
5675 \ifnum#4#1>\@ne\xepersian@yekaniv#1\fi%
5676 صد%
5677 \ifnum#2#3>\z@\ و \fi%
5678 \fi%
5679 \ifnum#2#3<20%
5680 \ifnum#5#2#3>\@ne\ifnum#1#2#3#4#5=10001 اول\else#6{#2#3}\fi\fi%
5681 \else%
5682 \xepersian@dahgan#2%
5683 \ifnum#3>\z@\ و \xepersian@yekanv#3\fi%
5684 #60%
5685 \fi%
5686 }
5687 \def\xepersian@tartibi#1{%
5688 \ifcase#1م\or یکم\or دوم\or سوم\or چهارم%
5689 \or پنجم\or ششم\or هفتم\or هشتم\or نهم%
5690 \or دهم\or یازدهم\or دوازدهم\or سیزدهم%
5691 \or چهاردهم\or پانزدهم\or شانزدهم%
5692 \or هفدهم\or هجدهم\or نوزدهم\fi%
5693 }
5694 \def\xepersian@yekanv#1{%
5695 \ifcase#1\@empty\or یک\or دو\or سو\or چهار\or پنج\or شش%
5696 \or هفت\or هشت\or نه\or ده\or یازده\or دوازده\or سیزده%
5697 \or چهارده\or پانزده\or شانزده\or هفده%
5698 \or هجده\or نوزده\fi%
5699 }
5700 \providecommand*{\xpg@warning}[1]{%
5701 \PackageWarning{XePersian}%
5702 {#1}}
5703 \if@bidi@csundef{abjadnumeral}{%
5704 \def\abjadnumeral#1{%
5705 \ifnum#1>1999 \xpg@warning{Illegal value (#1) for abjad numeral} {#1}
5706 \else
5707 \ifnum#1<\z@\space\xpg@warning{Illegal value (#1) for abjad numeral}%
5708 \else
5709 \ifnum#1<10\expandafter\abj@num@i\number#1%
5710 \else
5711 \ifnum#1<100\expandafter\abj@num@ii\number#1%
5712 \else
5713 \ifnum#1<\@m\expandafter\abj@num@iii\number#1%
5714 \else
5715 \ifnum#1<\@M\expandafter\abj@num@iv\number#1%since #1<2000, we must have 1000
5716 \fi
5717 \fi
5718 \fi
5719 \fi
5720 \fi
5721 \fi
5722 }
5723 \def\abjad@zero{}
5724 \def\abj@num@i#1{%
5725 \ifcase#1\or آ\or ب\or ج\or د%
5726 \or ه‍\or و\or ز\or ح\or ط\fi
5727 \ifnum#1=\z@\abjad@zero\fi}
5728 \def\abj@num@ii#1{%
5729 \ifcase#1\or ی\or ک\or ل\or م\or ن%
5730 \or س\or ع\or ف\or ص\fi
5731 \ifnum#1=\z@\fi\abj@num@i}
5732 \def\abj@num@iii#1{%
5733 \ifcase#1\or ق\or ر\or ش\or ت\or ث%
5734 \or خ\or ذ\or ض\or ظ\fi
5735 \ifnum#1=\z@\fi\abj@num@ii}
5736 \def\abj@num@iv#1{%
5737 \ifcase#1\or غ\fi
5738 \ifnum#1=\z@\fi\abj@num@iii}
5739 }{}
5740 \let\@latinalph\@alph%
5741 \let\@latinAlph\@Alph%
5742 \def\PersianAlphs{%
5743 \let\@alph\abjadnumeral%
5744 \let\@Alph\abjadnumeral%
5745 }
5746 \def\LatinAlphs{%
5747 \let\@alph\@latinalph%
5748 \let\@Alph\@latinAlph%
5749 }
5750 \PersianAlphs
5751 \@ifdefinitionfileloaded{loadingorder-bidi}{\input{loadingorder-bidi-xepersian.def}}{}
5752 \@ifpackageloaded{listings}{\input{listings-xepersian.def}}{}
5753 \@ifpackageloaded{algorithmic}{\input{algorithmic-xepersian.def}}{}
5754 \@ifpackageloaded{algorithm}{\input{algorithm-xepersian.def}}{}
5755 \@ifpackageloaded{backref}{\input{backref-xepersian.def}}{}
5756 \@ifpackageloaded{flowfram}{\input{flowfram-xepersian.def}}{}
5757 \@ifpackageloaded{bidi}{\input{footnote-bidi-xepersian.def}}{}
5758 \@ifpackageloaded{bidituftesidenote}{\input{bidituftesidenote-xepersian.def}}{}
5759 \@ifpackageloaded{bidicode}{\input{bidicode-xepersian.def}}{}
5760 \@ifpackageloaded{breqn}{\input{breqn-xepersian.def}}{}
5761 \@ifpackageloaded{enumerate}{\input{enumerate-xepersian.def}}{}
5762 \@ifpackageloaded{empheq}{\input{empheq-xepersian.def}}{}
5763 \@ifpackageloaded{hyperref}{\input{hyperref-xepersian.def}}{}
5764 \@ifpackageloaded{minitoc}{\input{minitoc-xepersian.def}}{}
5765 \@ifpackageloaded{multicol}{\input{multicol-xepersian.def}}{}
5766 \@ifpackageloaded{natbib}{\input{natbib-xepersian.def}}{}
5767 \@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xepersian.def}}}{}
5768 \@ifclassloaded{article}{\input{article-xepersian.def}}{}
5769 \@ifclassloaded{extarticle}{\input{extarticle-xepersian.def}}{}
5770 \@ifclassloaded{artikel1}{\input{artikel1-xepersian.def}}{}
5771 \@ifclassloaded{artikel2}{\input{artikel2-xepersian.def}}{}
5772 \@ifclassloaded{artikel3}{\input{artikel3-xepersian.def}}{}
5773 \@ifclassloaded{amsart}{\input{amsart-xepersian.def}}{}
5774 \@ifclassloaded{bidimoderncv}{\input{bidimoderncv-xepersian.def}}{}
5775 \@ifclassloaded{report}{\input{report-xepersian.def}}{}
5776 \@ifclassloaded{extreport}{\input{extreport-xepersian.def}}{}
5777 \@ifclassloaded{rapport1}{\input{rapport1-xepersian.def}}{}
5778 \@ifclassloaded{rapport3}{\input{rapport3-xepersian.def}}{}
5779 \@ifclassloaded{scrartcl}{\input{scrartcl-xepersian.def}}{}
5780 \@ifclassloaded{scrbook}{\input{scrbook-xepersian.def}}{}
5781 \@ifclassloaded{scrreprt}{\input{scrreprt-xepersian.def}}{}
5782 \@ifclassloaded{amsbook}{\input{amsbook-xepersian.def}}{}
5783 \@ifclassloaded{boek3}{\input{boek3-xepersian.def}}{}
5784 \@ifclassloaded{boek}{\input{boek-xepersian.def}}{}
5785 \@ifclassloaded{bookest}{\input{bookest-xepersian.def}}{}
5786 \@ifclassloaded{extbook}{\input{extbook-xepersian.def}}{}
5787 \@ifclassloaded{book}{\input{book-xepersian.def}}{}
5788 \@ifclassloaded{refrep}{\input{refrep-xepersian.def}}{}
5789 \@ifclassloaded{memoir}{\input{memoir-xepersian.def}}{}
5790 \DeclareOption{Kashida}{\input{kashida-xepersian.def}}
5791 \DeclareOption{localise}{\input{localise-xepersian.def}}
5792 \DeclareOption{extrafootnotefeatures}{%
5793 \input{extrafootnotefeatures.def}%
5794 \input{extrafootnotefeatures-xepersian.def}%
5795 }
5796 \DeclareOption{quickindex}{%
5797 \ifwritexviii%
5798 \@ifclassloaded{memoir}{\PackageError{xepersian}{This feature does not yet work with the memoir class}{}}{%
5799 \renewcommand\printindex{\newpage%
5800 \immediate\closeout\@indexfile
5801 \immediate\write18{xindy -L persian -C utf8 -M texindy \jobname.idx}
5802 \@input@{\jobname.ind}}}%
5803 \else
5804 \PackageError{xepersian}{“shell escape” (or “write18”) is not enabled. You need to run “xelatex --shell-escape” on your TeX document for this feature to work}{}
5805 \fi}
5806 \ExecuteOptions{localise}
5807 \ProcessOptions
5808 % \end{macrocode}
5809 % \iffalse
5810 %</xepersian.sty>
5811 %<*xepersian-magazine.cls>
5812 %\fi
5813 % \subsection{\textsf{xepersian-magazine.cls}}
5814 % \begin{macrocode}
5815 \NeedsTeXFormat{LaTeX2e}
5816 \ProvidesClass{xepersian-magazine}[2010/07/25 v0.2 Typesetting Persian magazines in XeLaTeX]
5817 \RequirePackage{ifthen}
5818 \newlength{\xepersian@imgsize}
5819 \newlength{\xepersian@coltitsize}
5820 \newlength{\xepersian@pageneed}
5821 \newlength{\xepersian@pageleft}
5822 \newlength{\xepersian@indexwidth}
5823 \newcommand{\xepersian@ncolumns}{0}
5824 \newlength{\columnlines}
5825 \setlength{\columnlines}{0 pt} % no lines by default
5826 \newboolean{xepersian@hyphenatedtitles}
5827 \setboolean{xepersian@hyphenatedtitles}{true}
5828 \newboolean{xepersian@ninepoints}
5829 \setboolean{xepersian@ninepoints}{false}
5830 \newboolean{xepersian@showgrid}
5831 \setboolean{xepersian@showgrid}{false}
5832 \newboolean{xepersian@a3paper}
5833 \setboolean{xepersian@a3paper}{false}
5834 \newboolean{xepersian@insidefrontpage}
5835 \setboolean{xepersian@insidefrontpage}{false}
5836 \newboolean{xepersian@insideweather}
5837 \setboolean{xepersian@insideweather}{false}
5838 \newboolean{xepersian@insideindex}
5839 \setboolean{xepersian@insideindex}{false}
5840 \newcount\xepersian@gridrows
5841 \newcount\xepersian@gridcolumns
5842 \xepersian@gridrows=40
5843 \xepersian@gridcolumns=50
5844 \newcount\minraggedcols
5845 \minraggedcols=5
5846 \DeclareOption{10pt}{\PassOptionsToClass{10pt}{article}}
5847 \DeclareOption{11pt}{\PassOptionsToClass{11pt}{article}}
5848 \DeclareOption{12pt}{\PassOptionsToClass{12pt}{article}}
5849 \DeclareOption{twocolumn}%
5850 {\ClassWarning{xepersian-magazine}{Option 'twocolumn' not available for xepersian-magazine.}}
5851 \DeclareOption{notitlepage}%
5852 {\ClassWarning{xepersian-magazine}{Option 'notitlepage' not available for xepersian-magazine.}}
5853 \DeclareOption{twoside}%
5854 {\ClassWarning{xepersian-magazine}{Option 'twoside' not available for xepersian-magazine.}}
5855 \DeclareOption{9pt}{\setboolean{xepersian@ninepoints}{true}}
5856 \DeclareOption{hyphenatedtitles}{\setboolean{xepersian@hyphenatedtitles}{false}}
5857 \DeclareOption{columnlines}{\setlength{\columnlines}{0.1 pt}}
5858 \DeclareOption{showgrid}{\setboolean{xepersian@showgrid}{true}}
5859 \DeclareOption{a3paper}{\setboolean{xepersian@a3paper}{true}}
5860 \ProcessOptions\relax
5861 \LoadClass[10pt, onecolumn, titlepage, a4paper]{article}
5862 \RequirePackage{ifxetex}
5863 \RequirePackage{multido}
5864 \RequirePackage{datetime}
5865 \RequirePackage{multicol}
5866 \RequirePackage{fancyhdr}
5867 \RequirePackage{fancybox}
5868 \ifthenelse{\boolean{xepersian@a3paper}}{%
5869 \RequirePackage[a3paper,headsep=0.5cm,vmargin={2cm,2cm},hmargin={1.5cm,1.5cm}]{geometry}
5870 }{
5871 \RequirePackage[headsep=0.5cm,vmargin={2cm,2cm},hmargin={1.5cm,1.5cm}]{geometry}
5872 }
5873 \RequirePackage[absolute]{textpos} % absoulte positioning
5874 \RequirePackage{hyphenat} % when hyphenate
5875 \RequirePackage{lastpage} % to know the last page number
5876 \RequirePackage{setspace} % set space between lines
5877 \RequirePackage{ragged2e}
5878 \newcommand{\raggedFormat}{\RaggedLeft}
5879 \AtEndOfClass{\xepersianInit}
5880 \ifthenelse{\boolean{xepersian@showgrid}}{%
5881 \AtBeginDocument{
5882 \grid[show]{\xepersian@gridrows}{\xepersian@gridcolumns}}
5883 \advance\minraggedcols by -1
5884 }{%
5885 \AtBeginDocument{
5886 \grid[]{\xepersian@gridrows}{\xepersian@gridcolumns}}
5887 \advance\minraggedcols by -1
5888 }
5889 \ifthenelse{\boolean{xepersian@ninepoints}}{
5890 \renewcommand{\normalsize}{%
5891 \@setfontsize{\normalsize}{9pt}{10pt}%
5892 \setlength{\abovedisplayskip}{5pt plus 1pt minus .5pt}%
5893 \setlength{\belowdisplayskip}{\abovedisplayskip}%
5894 \setlength{\abovedisplayshortskip}{3pt plus 1pt minus 2pt}%
5895 \setlength{\belowdisplayshortskip}{\abovedisplayshortskip}}
5896
5897 \renewcommand{\tiny}{\@setfontsize{\tiny}{5pt}{6pt}}
5898
5899 \renewcommand{\scriptsize}{\@setfontsize{\scriptsize}{7pt}{8pt}}
5900
5901 \renewcommand{\small}{%
5902 \@setfontsize{\small}{8pt}{9pt}%
5903 \setlength{\abovedisplayskip}{4pt plus 1pt minus 1pt}%
5904 \setlength{\belowdisplayskip}{\abovedisplayskip}%
5905 \setlength{\abovedisplayshortskip}{2pt plus 1pt}%
5906 \setlength{\belowdisplayshortskip}{\abovedisplayshortskip}}
5907
5908 \renewcommand{\footnotesize}{%
5909 \@setfontsize{\footnotesize}{8pt}{9pt}%
5910 \setlength{\abovedisplayskip}{4pt plus 1pt minus .5pt}%
5911 \setlength{\belowdisplayskip}{\abovedisplayskip}%
5912 \setlength{\abovedisplayshortskip}{2pt plus 1pt}%
5913 \setlength{\belowdisplayshortskip}{\abovedisplayshortskip}}
5914
5915 \renewcommand{\large}{\@setfontsize{\large}{11pt}{13pt}}
5916 \renewcommand{\Large}{\@setfontsize{\Large}{14pt}{18pt}}
5917 \renewcommand{\LARGE}{\@setfontsize{\LARGE}{18pt}{20pt}}
5918 \renewcommand{\huge}{\@setfontsize{\huge}{20pt}{25pt}}
5919 \renewcommand{\Huge}{\@setfontsize{\Huge}{25pt}{30pt}}
5920 }{}
5921 \def\customwwwTxt#1{\gdef\@customwwwTxt{\lr{#1}}}
5922 \newcommand{\xepersian@wwwFormat}{\sffamily}
5923 \newcommand{\xepersian@www}{%
5924 \raisebox{-3pt}{{\xepersian@wwwFormat\@customwwwTxt}}
5925 }
5926 \newcommand{\xepersian@edition}{ویرایش من}
5927 \newcommand{\editionFormat}{\large\bfseries\texttt}
5928 \newcommand{\xepersian@editionLogo}{%
5929 \raisebox{-3pt}{%
5930 {\editionFormat\xepersian@edition}%
5931 }%
5932 }
5933 \newcommand{\indexFormat}{\large\bfseries}
5934 \newcommand{\xepersian@indexFrameTitle}[1]
5935 {\begin{flushright}{{\indexFormat #1}}\end{flushright}}
5936
5937 \newcommand{\indexEntryFormat}{\normalsize}
5938 \newcommand{\xepersian@indexEntry}[1]{\begin{minipage}{13\TPHorizModule}%
5939 {\indexEntryFormat\noindent\ignorespaces{#1}}%
5940 \end{minipage}}
5941 \newcommand{\indexEntrySeparator}{\rule{\xepersian@indexwidth}{.1pt}}
5942 \newcommand{\indexEntryPageTxt}{صفحهٔ}
5943 \newcommand{\indexEntryPageFormat}{\footnotesize}
5944 \newcommand{\xepersian@indexEntryPage}[1]{%
5945 {\indexEntryPageFormat{\indexEntryPageTxt{}~#1}}%
5946 }
5947 \newcommand{\headDateTimeFormat}{}
5948 \newcommand{\xepersian@headDateTime}{%
5949 \headDateTimeFormat\date\hspace{5pt}$\parallel$\hspace{5pt}%
5950 \currenttime %
5951 }
5952 \newcommand{\weatherFormat}{\bfseries}
5953 \newcommand{\xepersian@weather}[1]{%
5954 \noindent{\weatherFormat #1}%
5955 }
5956 \newcommand{\weatherTempFormat}{\small}
5957 \newcommand{\weatherUnits}{\textdegree{}C}
5958 \newcommand{\xepersian@section}[0]{صفحهٔ جلو}
5959 \newcommand{\xepersian@headleft}{%
5960 {\small\bfseries \@custommagazinename}، \date
5961 }
5962 \newcommand{\xepersian@headcenter}{%
5963 \xepersian@section{}
5964 }
5965 \newcommand{\xepersian@headright}{%
5966 \small\xepersian@edition%
5967 \hspace*{5pt}\beginL\thepage\ / \pageref{LastPage}\endL
5968 }
5969
5970 \newcommand{\heading}[3]{%
5971 \renewcommand{\xepersian@headleft}{\beginR#1\endR}%
5972 \renewcommand{\xepersian@headcenter}{\beginR#2\endR}%
5973 \renewcommand{\xepersian@headright}{\beginR#3\endR}%
5974 }
5975 \newcommand{\xepersian@footright}{%
5976 {\footnotesize\lr{\copyright\ \@customwwwTxt{}}---تهیه‌شده توسط \lr{\XePersian}}%
5977 }
5978 \newcommand{\xepersian@footcenter}{%
5979 }
5980 \newcommand{\xepersian@footleft}{%
5981 }
5982
5983 \newcommand{\foot}[3]{%
5984 \renewcommand{\xepersian@footleft}{\beginR#1\endR}%
5985 \renewcommand{\xepersian@footcenter}{\beginR#2\endR}%
5986 \renewcommand{\xepersian@footright}{\beginR#3\endR}%
5987 }
5988 \newcommand{\firstTitleFormat}{\Huge\bfseries\flushright}
5989 \newcommand{\xepersian@firstTitle}[1]{%
5990 {%
5991 \begin{spacing}{2.0}{%
5992 \noindent\ignorespaces
5993 \ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
5994 {\nohyphens{\firstTitleFormat #1}}%
5995 {{\firstTitleFormat #1}}%
5996 }%
5997 \end{spacing}%
5998 }%
5999 }
6000 \newcommand{\firstTextFormat}{}
6001 \newcommand{\xepersian@firstText}[1]{%
6002 {\noindent\ignorespaces\firstTextFormat #1}%
6003 }
6004 \newcommand{\secondTitleFormat}{\LARGE\bfseries}
6005 \newcommand{\xepersian@secondTitle}[1]{%
6006 \begin{spacing}{1.5}{%
6007 \noindent\ignorespaces\flushright
6008 \ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
6009 {\nohyphens{\secondTitleFormat #1}}%
6010 {{\secondTitleFormat #1}}%
6011 }\end{spacing}%
6012 }
6013 \newcommand{\secondSubtitleFormat}{\large}
6014 \newcommand{\xepersian@secondSubtitle}[1]{%
6015 {\noindent\ignorespaces{\secondSubtitleFormat #1}}%
6016 }
6017 \newcommand{\secondTextFormat}{}
6018 \newcommand{\xepersian@secondText}[1]{%
6019 \begin{multicols}{2}
6020 {\noindent\ignorespaces\secondTextFormat #1}
6021 \end{multicols}
6022 }
6023 \newcommand{\thirdTitleFormat}{\Large\bfseries}
6024 \newcommand{\xepersian@thirdTitle}[1]{%
6025 \begin{spacing}{1.5}{%
6026 \noindent\ignorespaces\flushright
6027 \ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
6028 {\nohyphens{\thirdTitleFormat #1}}%
6029 {{\thirdTitleFormat #1}}%
6030 }\end{spacing}%
6031 }
6032 \newcommand{\thirdSubtitleFormat}{\large}
6033 \newcommand{\xepersian@thirdSubtitle}[1]%
6034 {{\noindent\ignorespaces\thirdSubtitleFormat #1}}
6035 \newcommand{\thirdTextFormat}{}
6036 \newcommand{\xepersian@thirdText}[1]{{\thirdTextFormat #1}}
6037 \newcommand{\pictureCaptionFormat}{\small\bfseries}
6038 \newcommand{\xepersian@pictureCaption}[1]{%
6039 {\noindent\pictureCaptionFormat #1}%
6040 }
6041 \newcommand{\pagesFormat}{\bfseries\footnotesize}
6042 \newcommand{\xepersian@pages}[1]%
6043 {\noindent{\pagesFormat\MakeUppercase{#1}}}
6044 \newcommand{\innerTitleFormat}{\Huge}
6045 \newcommand{\xepersian@innerTitle}[1]{%
6046 \begin{flushright}{%
6047 \noindent
6048 \ifthenelse{\boolean{xepersian@hyphenatedtitles}}%
6049 {\nohyphens{\innerTitleFormat #1}}%
6050 {{\innerTitleFormat #1}}%
6051 }%
6052 \\%
6053 \end{flushright}%
6054 }
6055 \newcommand{\innerSubtitleFormat}{\large}
6056 \newcommand{\xepersian@innerSubtitle}[1]{{\innerSubtitleFormat #1}}
6057 \newcommand{\timestampTxt}{}
6058 \newcommand{\timestampSeparator}{|}
6059 \newcommand{\timestampFormat}{\small}
6060 \newcommand{\timestamp}[1]{%
6061 {\timestampFormat%
6062 #1~\timestampTxt{}%
6063 }~\timestampSeparator{}%
6064 }
6065 \newcommand{\innerAuthorFormat}{\footnotesize}
6066 \newcommand{\innerPlaceFormat}{\footnotesize\bfseries}
6067 \newcommand{\innerTextFinalMark}{\rule{0.65em}{0.65em}}
6068 \newcommand{\editorialTitleFormat}{\LARGE\textit}
6069 \newcommand{\xepersian@editorialTitle}[1]{\editorialTitleFormat{#1}}
6070 \newcommand{\editorialAuthorFormat}{\textsc}
6071 \newcommand{\shortarticleTitleFormat}{\LARGE\bfseries}
6072 \newcommand{\xepersian@shortarticleTitle}[1]{{\shortarticleTitleFormat #1}}
6073 \newcommand{\shortarticleSubtitleFormat}{\Large}
6074 \newcommand{\xepersian@shortarticleSubtitle}[1]{{\shortarticleSubtitleFormat #1}}
6075 \newcommand{\shortarticleItemTitleFormat}{\large\bfseries}
6076 \newcommand{\xepersian@shortarticleItemTitle}[1]{{\shortarticleItemTitleFormat #1}}
6077 \renewcommand{\maketitle}{\begin{titlepage}%
6078 \let\footnotesize\small
6079 \let\footnoterule\relax
6080 \let \footnote \thanks
6081 \null\vfil
6082 \vskip 60\p@
6083 \begin{center}%
6084 {\LARGE \@title \par}%
6085 \vskip 1em%
6086 {\LARGE «\xepersian@edition» \par}%
6087 \vskip 3em%
6088 {\large
6089 \lineskip .75em%
6090 \begin{tabular}[t]{c}%
6091 \@author
6092 \end{tabular}\par}%
6093 \vskip 1.5em%
6094 {\large \@date \par}%
6095 \end{center}\par
6096 \@thanks
6097 \vfil\null
6098 \end{titlepage}%
6099 \setcounter{footnote}{0}%
6100 \global\let\thanks\relax
6101 \global\let\maketitle\relax
6102 \global\let\@thanks\@empty
6103 \global\let\@author\@empty
6104 \global\let\@date\@empty
6105 \global\let\@title\@empty
6106 \global\let\title\relax
6107 \global\let\author\relax
6108 \global\let\date\relax
6109 \global\let\and\relax
6110 }
6111 \newcommand{\xepersian@say}[1]{\typeout{#1}}
6112 \newsavebox{\xepersian@fmbox}
6113 \newenvironment{xepersian@fmpage}[1]
6114 {\begin{lrbox}{\xepersian@fmbox}\begin{minipage}{#1}}
6115 {\end{minipage}\end{lrbox}\fbox{\usebox{\xepersian@fmbox}}}
6116 \newcommand{\image}[2]{
6117 \vspace{5pt}
6118 \setlength{\fboxsep}{1pt}
6119 \addtolength{\xepersian@imgsize}{\columnwidth}
6120 \addtolength{\xepersian@imgsize}{-1\columnsep}
6121 \ifxetex
6122 \setlength{\xepersian@pageneed}{1.5\xepersian@imgsize}
6123 \addtolength{\xepersian@pageneed}{50pt}
6124 \ClassWarning{xepersian-magazine}{%
6125 Image #1 needs: \the\xepersian@pageneed \space %
6126 and there is left: \the\page@free\space%
6127 }
6128 \ifdim \xepersian@pageneed < \page@free
6129
6130 {\centering\fbox{%
6131 \includegraphics[width = \xepersian@imgsize,
6132 height = \xepersian@imgsize,
6133 keepaspectratio ]{#1}}}
6134 \xepersian@pictureCaption{#2}
6135
6136 \vspace{5pt}
6137 \else
6138 \ClassWarning{Image #1 needs more space!%
6139 It was not inserted!}
6140 \fi
6141 \fi
6142 }
6143 \textblockorigin{1cm}{1cm}
6144 \newdimen\xepersian@dx
6145 \newdimen\xepersian@dy
6146 \newcount\xepersian@cx
6147 \newcount\xepersian@cy
6148 \newcommand{\grid}[3][]{
6149 \xepersian@dx=\textwidth%
6150 \xepersian@dy=\textheight%
6151 \xepersian@cx=#3% %columns
6152 \xepersian@cy=#2% %rows
6153
6154 \count1=#3%
6155 \advance\count1 by 1
6156
6157 \count2=#2%
6158 \advance\count2 by 1
6159
6160 \divide\xepersian@dx by #3
6161 \divide\xepersian@dy by #2
6162
6163 \setlength{\TPHorizModule}{\xepersian@dx}
6164 \setlength{\TPVertModule}{\xepersian@dy}
6165
6166 \ifthenelse{\equal{#1}{show}}{
6167 \multido{\xepersian@nrow=0+1}{\count2}{
6168 \begin{textblock}{\xepersian@cx}(0,\xepersian@nrow)
6169 \rule[0pt]{\textwidth}{.1pt}
6170 \end{textblock}
6171 }
6172
6173 \multido{\xepersian@ncol=0+1}{\count1}{
6174 \begin{textblock}{\xepersian@cy}(\xepersian@ncol,0)
6175 \rule[0pt]{.1pt}{\textheight}
6176 \end{textblock}
6177 }
6178 }{}
6179 }
6180 \newcommand{\xepersianInit}{
6181 \setlength{\headheight}{14pt}
6182 \renewcommand{\headrulewidth}{0.4pt}
6183
6184 \pagestyle{fancy}
6185
6186 \setlength{\columnseprule}{\columnlines}
6187 \setlength{\fboxrule}{0.1 pt}
6188
6189 }
6190
6191 \def\customlogo#1{\gdef\@customlogo{\beginR#1\endR}}
6192 \def\customminilogo#1{\gdef\@customminilogo{\beginR#1\endR}}
6193 \def\custommagazinename#1{\gdef\@custommagazinename{\beginR#1\endR}}
6194 \newcommand{\logo}[0]{
6195 %% Heading %%
6196 \noindent\hrulefill\hspace{10pt}\xepersian@editionLogo\hspace{5pt}\xepersian@www
6197
6198 \vspace*{-3pt}
6199
6200 {\Large\bfseries \@customlogo}
6201 \hrulefill
6202 \hspace{10pt}\xepersian@headDateTime
6203
6204 }
6205 \newcommand{\minilogo}[0]{
6206 {\large\bfseries \@customminilogo}
6207
6208 \vspace*{5pt}
6209 }
6210 \newcommand{\mylogo}[1]{
6211 {\beginR#1\endR}
6212
6213 \noindent
6214 \xepersian@editionLogo\hspace{5pt}
6215 \hrulefill
6216 \hspace{5pt}\xepersian@headDateTime
6217 }
6218 \newcommand{\edition}[1]{\renewcommand{\xepersian@edition}{#1}}
6219 \newenvironment{frontpage}[0]
6220 {
6221 \setboolean{xepersian@insidefrontpage}{true}
6222 \thispagestyle{empty}
6223 \logo
6224
6225 }%
6226 {
6227 \thispagestyle{empty}
6228 \clearpage
6229 \newpage
6230 \fancyhead{}
6231 \fancyfoot{}
6232 \fancyhead[RO,LE]{\beginR\xepersian@headright\endR}
6233 \fancyhead[LO,RE]{\beginR\xepersian@headleft\endR}
6234 \fancyhead[C]{\beginR\xepersian@headcenter\endR}
6235 \fancyfoot[RO,LE]{\beginR\xepersian@footright\endR}
6236 \fancyfoot[LO,RE]{\beginR\xepersian@footleft\endR}
6237 \fancyfoot[C]{\beginR\xepersian@footcenter\endR}
6238 \renewcommand{\headrulewidth}{0.4pt}
6239 \setboolean{xepersian@insidefrontpage}{false}
6240
6241 }
6242 \newcommand{\firstarticle}[3]
6243 {
6244 \ifthenelse{\boolean{xepersian@insidefrontpage}}{%
6245 \ifthenelse{\boolean{xepersian@hyphenatedtitles}}{%
6246 \begin{textblock}{24}(22,5)
6247 }
6248 {
6249 \begin{textblock}{28}(22,5)
6250 }
6251 \vspace{-7pt}
6252 \xepersian@firstTitle{#1}
6253 \end{textblock}
6254 \begin{textblock}{29}(22,10)
6255 \vspace{5pt plus 2pt minus 2pt}
6256
6257 \xepersian@firstText{\timestamp{#3}~#2}
6258
6259 \end{textblock}
6260
6261 \begin{textblock}{50}(0,15)
6262 \rule{50\TPHorizModule}{.3pt}
6263 \end{textblock}
6264 }{%else
6265 \ClassError{xepersian-magazine}{%
6266 \protect\firstarticle\space in a wrong place.\MessageBreak
6267 \protect\firstarticle\space may only appear inside frontpage environment.
6268 }{%
6269 \protect\firstarticle\space may only appear inside frontpage environment.
6270 }%
6271 }
6272 }
6273 \newcommand{\secondarticle}[5]
6274 {
6275 \ifthenelse{\boolean{xepersian@insidefrontpage}}{%
6276 \begin{textblock}{33}(2,16)
6277 \xepersian@pages{#4}
6278 \vspace{-5pt}
6279 \xepersian@secondTitle{#1}
6280
6281 \vspace*{5pt}
6282
6283