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