-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathxepersian.dtx
executable file
·8307 lines (8043 loc) · 326 KB
/
xepersian.dtx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
% \iffalse
%<*internal>
\iffalse
%</internal>
%<*readme>
____________________
The XePersian package
v23.1
The xepersian package provides a convenient interface for
typesetting Persian and English texts in LaTeX, using XeTeX
engine.
If you want to report any bugs or typos and corrections in the
documentation, or ask for any new features, or suggest any
improvements, or ask any questions about the package, then
please use the issue tracker:
<https://github.com/persiantex/xepersian/issues>
In doing so, please always explain your issue well enough, and always
include a minimal working example showing the issue.
Current version release date: 2020/05/17
___________________________________________
Copyright (c) Vafa Khalighi 2008--2020
Copyright (c) bidi-tex GitHub Organization 2018--2020
Distributed under the LaTeX Project Public License
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
this license is at: http://www.latex-project.org/lppl.txt
This work is “author-maintained” (as per LPPL maintenance status)
by Vafa Khalighi.
%</readme>
%<*internal>
\fi
\begingroup
%</internal>
%<*batchfile>
\input docstrip.tex
\let\MetaPrefix\relax
\keepsilent
\preamble
__________________________________________________
Copyright (c) 2008--2020 Vafa Khalighi
Copyright (c) 2018--2020 bidi-tex GitHub Organization
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
this license is at: http://www.latex-project.org/lppl.txt
This work is “author-maintained” (as per LPPL maintenance status)
by Vafa Khalighi.
\endpreamble
\askforoverwritefalse
\let\MetaPrefix\DoubleperCent
\generate{\file{algorithmic-xepersian.def}{\from{\jobname.dtx}{table,algorithmic-xepersian.def}}}
\generate{\file{algorithm-xepersian.def}{\from{\jobname.dtx}{table,algorithm-xepersian.def}}}
\generate{\file{amsart-xepersian.def}{\from{\jobname.dtx}{table,amsart-xepersian.def}}}
\generate{\file{amsbook-xepersian.def}{\from{\jobname.dtx}{table,amsbook-xepersian.def}}}
\generate{\file{appendix-xepersian.def}{\from{\jobname.dtx}{table,appendix-xepersian.def}}}
\generate{\file{article-xepersian.def}{\from{\jobname.dtx}{table,article-xepersian.def}}}
\generate{\file{artikel1-xepersian.def}{\from{\jobname.dtx}{table,artikel1-xepersian.def}}}
\generate{\file{artikel2-xepersian.def}{\from{\jobname.dtx}{table,artikel2-xepersian.def}}}
\generate{\file{artikel3-xepersian.def}{\from{\jobname.dtx}{table,artikel3-xepersian.def}}}
\generate{\file{backref-xepersian.def}{\from{\jobname.dtx}{table,backref-xepersian.def}}}
\generate{\file{bidituftesidenote-xepersian.def}{\from{\jobname.dtx}{table,bidituftesidenote-xepersian.def}}}
\generate{\file{bidimoderncv-xepersian.def}{\from{\jobname.dtx}{table,bidimoderncv-xepersian.def}}}
\generate{\file{boek3-xepersian.def}{\from{\jobname.dtx}{table,boek3-xepersian.def}}}
\generate{\file{boek-xepersian.def}{\from{\jobname.dtx}{table,boek-xepersian.def}}}
\generate{\file{bookest-xepersian.def}{\from{\jobname.dtx}{table,bookest-xepersian.def}}}
\generate{\file{book-xepersian.def}{\from{\jobname.dtx}{table,book-xepersian.def}}}
\generate{\file{breqn-xepersian.def}{\from{\jobname.dtx}{table,breqn-xepersian.def}}}
\generate{\file{latex-localise-commands-xepersian.def}{\from{\jobname.dtx}{table,latex-localise-commands-xepersian.def}}}
\generate{\file{color-localise-xepersian.def}{\from{\jobname.dtx}{table,color-localise-xepersian.def}}}
\generate{\file{xepersian-localise-commands-xepersian.def}{\from{\jobname.dtx}{table,xepersian-localise-commands-xepersian.def}}}
\generate{\file{enumerate-xepersian.def}{\from{\jobname.dtx}{table,enumerate-xepersian.def}}}
\generate{\file{enumitem-xepersian.def}{\from{\jobname.dtx}{table,enumitem-xepersian.def}}}
\generate{\file{latex-localise-environments-xepersian.def}{\from{\jobname.dtx}{table,latex-localise-environments-xepersian.def}}}
\generate{\file{xepersian-localise-environments-xepersian.def}{\from{\jobname.dtx}{table,xepersian-localise-environments-xepersian.def}}}
\generate{\file{extarticle-xepersian.def}{\from{\jobname.dtx}{table,extarticle-xepersian.def}}}
\generate{\file{extbook-xepersian.def}{\from{\jobname.dtx}{table,extbook-xepersian.def}}}
\generate{\file{extrafootnotefeatures-xepersian.def}{\from{\jobname.dtx}{table,extrafootnotefeatures-xepersian.def}}}
\generate{\file{extreport-xepersian.def}{\from{\jobname.dtx}{table,extreport-xepersian.def}}}
\generate{\file{fancyref-xepersian.def}{\from{\jobname.dtx}{table,fancyref-xepersian.def}}}
\generate{\file{footnote-xepersian.def}{\from{\jobname.dtx}{table,footnote-xepersian.def}}}
\generate{\file{framed-xepersian.def}{\from{\jobname.dtx}{table,framed-xepersian.def}}}
\generate{\file{glossaries-xepersian.def}{\from{\jobname.dtx}{table,glossaries-xepersian.def}}}
\generate{\file{hyperref-xepersian.def}{\from{\jobname.dtx}{table,hyperref-xepersian.def}}}
\generate{\file{imsproc-xepersian.def}{\from{\jobname.dtx}{table,imsproc-xepersian.def}}}
\generate{\file{kashida-xepersian.def}{\from{\jobname.dtx}{table,kashida-xepersian.def}}}
\generate{\file{listings-xepersian.def}{\from{\jobname.dtx}{table,listings-xepersian.def}}}
\generate{\file{loadingorder-xepersian.def}{\from{\jobname.dtx}{table,loadingorder-xepersian.def}}}
\generate{\file{localise-xepersian.def}{\from{\jobname.dtx}{table,localise-xepersian.def}}}
\generate{\file{memoir-xepersian.def}{\from{\jobname.dtx}{table,memoir-xepersian.def}}}
\generate{\file{latex-localise-messages-xepersian.def}{\from{\jobname.dtx}{table,latex-localise-messages-xepersian.def}}}
\generate{\file{minitoc-xepersian.def}{\from{\jobname.dtx}{table,minitoc-xepersian.def}}}
\generate{\file{latex-localise-misc-xepersian.def}{\from{\jobname.dtx}{table,latex-localise-misc-xepersian.def}}}
\generate{\file{natbib-xepersian.def}{\from{\jobname.dtx}{table,natbib-xepersian.def}}}
\generate{\file{packages-localise-xepersian.def}{\from{\jobname.dtx}{table,packages-localise-xepersian.def}}}
\def\MetaPrefix{;;}
\def\mapping@postamble{%
\MetaPrefix ^^J%
\MetaPrefix\space End of file `\outFileName'.%
}
\usepostamble\mapping@postamble
\generate{\file{persian-tex-text.map}{\from{\jobname.dtx}{persian-tex-text.map}}}
\let\MetaPrefix\DoubleperCent
\usepostamble\org@postamble
\generate{\file{rapport1-xepersian.def}{\from{\jobname.dtx}{table,rapport1-xepersian.def}}}
\generate{\file{rapport3-xepersian.def}{\from{\jobname.dtx}{table,rapport3-xepersian.def}}}
\generate{\file{refrep-xepersian.def}{\from{\jobname.dtx}{table,refrep-xepersian.def}}}
\generate{\file{report-xepersian.def}{\from{\jobname.dtx}{table,report-xepersian.def}}}
\generate{\file{scrartcl-xepersian.def}{\from{\jobname.dtx}{table,scrartcl-xepersian.def}}}
\generate{\file{scrbook-xepersian.def}{\from{\jobname.dtx}{table,scrbook-xepersian.def}}}
\generate{\file{scrreprt-xepersian.def}{\from{\jobname.dtx}{table,scrreprt-xepersian.def}}}
\generate{\file{soul-xepersian.def}{\from{\jobname.dtx}{table,soul-xepersian.def}}}
\generate{\file{tikz.code-xepersian.def}{\from{\jobname.dtx}{table,tikz.code-xepersian.def}}}
\generate{\file{tkz-linknodes-xepersian.def}{\from{\jobname.dtx}{table,tkz-linknodes-xepersian.def}}}
\generate{\file{tocloft-xepersian.def}{\from{\jobname.dtx}{table,tocloft-xepersian.def}}}
\generate{\file{varioref-xepersian.def}{\from{\jobname.dtx}{table,varioref-xepersian.def}}}
\generate{\file{xepersian.sty}{\from{\jobname.dtx}{table,xepersian.sty}}}
\generate{\file{xepersian-magazine.cls}{\from{\jobname.dtx}{table,xepersian-magazine.cls}}}
\generate{\file{xepersian-mathsdigitspec.sty}{\from{\jobname.dtx}{table,xepersian-mathsdigitspec.sty}}}
\generate{\file{xepersian-multiplechoice.sty}{\from{\jobname.dtx}{table,xepersian-multiplechoice.sty}}}
\generate{\file{xepersian-persiancal.sty}{\from{\jobname.dtx}{table,xepersian-persiancal.sty}}}
%</batchfile>
%<batchfile>\endbatchfile
%<*internal>
\generate{\file{\jobname.ins}{\from{\jobname.dtx}{batchfile}}}
\nopreamble\nopostamble
\generate{\file{README.txt}{\from{\jobname.dtx}{readme}}}
\generate{\file{magazine-sample.tex}{\from{\jobname.dtx}{magazine-sample.tex}}}
\generate{\file{test-correction.tex}{\from{\jobname.dtx}{test-correction.tex}}}
\generate{\file{test-empty-form.tex}{\from{\jobname.dtx}{test-empty-form.tex}}}
\generate{\file{test-question-only.tex}{\from{\jobname.dtx}{test-question-only.tex}}}
\generate{\file{test-solution-form.tex}{\from{\jobname.dtx}{test-solution-form.tex}}}
\generate{\file{xepersian-logo.tex}{\from{\jobname.dtx}{xepersian-logo.tex}}}
\endgroup
\immediate\write18{mv README.txt README}
\immediate\write18{makeindex -s gind.ist -o \jobname.ind \jobname.idx}
\immediate\write18{makeindex -s gglo.ist -o \jobname.gls \jobname.glo}
%</internal>
%
%<*driver>
\documentclass{ltxdoc}
\input{xepersian-doc-preamble.ltx}
\hypersetup{%
pdftitle={Source documentation for version 23.1 of the XePersian
package}%
}
\EnableCrossrefs
\CodelineIndex
%\RecordChanges
\begin{document}
\DocInput{\jobname.dtx}
\PrintIndex
% \PrintChanges
\end{document}
%</driver>
%
%
% \fi
%
% \GetFileInfo{\jobname.dtx}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\
%\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt]
%\large Source documentation for \textcolor{blue!65!black}{version 23.1}}
% \author{Vafa Khalighi\thanks{Thanks to the bidi-tex GitHub organization consisted of David Carlisle and other members of the {\LaTeX} team to maintain the package in the period 2018--2020.}}
%\setcounter{page}{0}
%\thispagestyle{empty}
%\includegraphics[width=.3\textwidth]{xepersian-logo}\qquad
%\parindent 0pt
%\vbox{\Huge
%\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
%
%\Large
%Source documentation for \textcolor{blue!65!black}{version 23.1}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
%
%\vskip 0pt plus 3fill
%{\color{red!85!black}\fbox{\begin{minipage}{\dimexpr\textwidth-2\fboxsep-2\fboxrule}
%If you want to report any bugs or typos and corrections in the documentation,
%or ask for any new features, or suggest any improvements, or ask any questions about the package, then please use the issue tracker:
%
%\medskip
% \centerline{\url{https://github.com/persiantex/xepersian/issues}}
%
%\medskip
%In doing so, please always explain your issue well enough, and always include
%a minimal working example showing the issue.
%\end{minipage}
%}}
%
%\vskip 0pt plus 3fill
%
%Copyright (c) 2008--2020 Vafa Khalighi
%
%Copyright (c) 2018--2020 bidi-tex GitHub Organization
%
%\medskip
%Permission is granted to distribute and/or modify \emph{both the documentation and the code} under the conditions of the \LaTeX{} Project Public License, either version 1.3c of this license or (at your option) any later version.
%
%\clearpage
%\maketitle
% \tableofcontents
% \StopEventually{}
% \section{File \texttt{algorithmic-xepersian.def}}
%\iffalse
%<*table>
%\fi
%% \CheckSum{10882}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
% \iffalse
%</table>
%<*algorithmic-xepersian.def>
%\fi
%
%
%
% \begin{macrocode}
\ProvidesFile{algorithmic-xepersian.def}[2010/07/25 v0.2 adaptations for algorithmic package]
\def\algorithmicrequire{\if@RTL\textbf{ورودی:}\else\textbf{Require:}\fi}
\def\algorithmicensure{\if@RTL\textbf{خروجی:}\else\textbf{Ensure:}\fi}
% \end{macrocode}
%
%\iffalse
%</algorithmic-xepersian.def>
%<*algorithm-xepersian.def>
%\fi
% \section{File \texttt{algorithm-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{algorithm-xepersian.def}[2010/07/25 v0.2 adaptations for algorithm package]
\def\ALG@name{\if@RTL الگوریتم\else Algorithm\fi}
\def\ALGS@name{الگوریتمها}
\def\listalgorithmname{\if@RTL فهرست \ALGS@name\else List of \ALG@name s\fi}
% \end{macrocode}
% \iffalse
%</algorithm-xepersian.def>
%<*amsart-xepersian.def>
%\fi
% \section{File \texttt{amsart-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{amsart-xepersian.def}[2017/02/04 v0.4 adaptations for amsart class]
\renewcommand \thepart {\@tartibi\c@part}
\def\appendix{\par\c@section\z@ \c@subsection\z@
\let\sectionname\appendixname
\def\thesection{\@harfi\c@section}}
% \end{macrocode}
% \iffalse
%</amsart-xepersian.def>
%<*amsbook-xepersian.def>
%\fi
% \section{File \texttt{amsbook-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{amsbook-xepersian.def}[2017/02/04 v0.5 adaptations for amsbook class]
\def\frontmatter{\cleardoublepage\pagenumbering{harfi}}
\renewcommand \thepart {\@tartibi\c@part}
\def\appendix{\par
\c@chapter\z@ \c@section\z@
\let\chaptername\appendixname
\def\thechapter{\@harfi\c@chapter}}
% \end{macrocode}
% \iffalse
%</amsbook-xepersian.def>
%<*appendix-xepersian.def>
%\fi
% \section{File \texttt{appendix-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{appendix-xepersian.def}[2015/02/01 v0.1 adaptations for appendix package]
\renewcommand{\@resets@pp}{\par
\@ppsavesec
\stepcounter{@pps}
\setcounter{section}{0}%
\if@chapter@pp
\setcounter{chapter}{0}%
\renewcommand\@chapapp{\appendixname}%
\renewcommand\thechapter{\@harfi\c@chapter}%
\else
\setcounter{subsection}{0}%
\renewcommand\thesection{\@harfi\c@section}%
\fi
\restoreapp
}
% \end{macrocode}
% \iffalse
%</appendix-xepersian.def>
%<*article-xepersian.def>
%\fi
% \section{File \texttt{article-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{article-xepersian.def}[2010/07/25 v0.2 adaptations for standard article class]
\renewcommand \thepart {\@tartibi\c@part}
\renewcommand\appendix{\par
\setcounter{section}{0}%
\setcounter{subsection}{0}%
\gdef\thesection{\@harfi\c@section}}
% \end{macrocode}
% \iffalse
%</article-xepersian.def>
%<*artikel1-xepersian.def>
%\fi
% \section{File \texttt{artikel1-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{artikel1-xepersian.def}[2010/07/25 v0.1 adaptations for artikel1 class]
\renewcommand*\thepart{\@tartibi\c@part}
\renewcommand*\appendix{\par
\setcounter{section}{0}%
\setcounter{subsection}{0}%
\gdef\thesection{\@harfi\c@section}}
% \end{macrocode}
% \iffalse
%</artikel1-xepersian.def>
%<*artikel2-xepersian.def>
%\fi
% \section{File \texttt{artikel2-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{artikel2-xepersian.def}[2010/07/25 v0.1 adaptations for artikel2 class]
\renewcommand*\thepart{\@tartibi\c@part}
\renewcommand*\appendix{\par
\setcounter{section}{0}%
\setcounter{subsection}{0}%
\gdef\thesection{\@harfi\c@section}}
% \end{macrocode}
% \iffalse
%</artikel2-xepersian.def>
%<*artikel3-xepersian.def>
%\fi
% \section{File \texttt{artikel3-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{artikel3-xepersian.def}[2010/07/25 v0.1 adaptations for artikel3 class]
\renewcommand*\thepart{\@tartibi\c@part}
\renewcommand*\appendix{\par
\setcounter{section}{0}%
\setcounter{subsection}{0}%
\gdef\thesection{\@harfi\c@section}}
% \end{macrocode}
% \iffalse
%</artikel3-xepersian.def>
%<*backref-xepersian.def>
%\fi
% \section{File \texttt{backref-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{backref-xepersian.def}[2010/07/25 v0.1 adaptations for backref package]
\def\backrefpagesname{\if@RTL صفحات\else pages\fi}
\def\BR@Latincitex[#1]#2{%
\BRorg@Latincitex[{#1}]{#2}%
\ifBR@verbose
\PackageInfo{backref}{back Latin cite \string`#2\string'}%
\fi
\Hy@backout{#2}%
}
\AtBeginDocument{%
\@ifundefined{NAT@parse}{%
\global\let\BRorg@Latincitex\@Latincitex
\global\let\@Latincitex\BR@Latincitex
}{%
\@ifpackageloaded{hyperref}{}{%
\def\hyper@natlinkstart#1{\Hy@backout{#1}}%
}%
\PackageInfo{backref}{** backref set up for natbib **}%
}%
}%
% \end{macrocode}
% \iffalse
%</backref-xepersian.def>
%<*bidituftesidenote-xepersian.def>
%\fi
% \section{File \texttt{bidituftesidenote-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{bidituftesidenote-xepersian.def}[2017/02/04 v0.3 xepersian changes to bidituftesidenote package]
\setLTRcitationfont{\resetlatinfont\footnotesize}
\renewcommand*{\@bidituftesidenote@LTRmarginfont}{\resetlatinfont\footnotesize}
\renewcommand*{\@bidituftesidenote@RTLmarginfont}{\setpersianfont\footnotesize}
% \end{macrocode}
% \iffalse
%</bidituftesidenote-xepersian.def>
%<*bidimoderncv-xepersian.def>
%\fi
% \section{File \texttt{bidimoderncv-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{bidimoderncv-xepersian.def}[2010/07/25 v0.1 adaptations for bidimoderncv class]
\def\refname{\if@RTL تألیفات\else Publications\fi}
% \end{macrocode}
% \iffalse
%</bidimoderncv-xepersian.def>
%<*boek3-xepersian.def>
%\fi
% \section{File \texttt{boek3-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{boek3-xepersian.def}[2010/07/25 v0.1 adaptations for boek3 class]
\renewcommand*\thepart{\@tartibi\c@part}
\renewcommand*\frontmatter{%
\cleardoublepage
\@mainmatterfalse
\pagenumbering{harfi}}
\renewcommand*\appendix{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}}
% \end{macrocode}
% \iffalse
%</boek3-xepersian.def>
%<*boek-xepersian.def>
%\fi
% \section{File \texttt{boek-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{boek-xepersian.def}[2010/07/25 v0.1 adaptations for boek class]
\renewcommand*\thepart{\@tartibi\c@part}
\renewcommand*\frontmatter{%
\cleardoublepage
\@mainmatterfalse
\pagenumbering{harfi}}
\renewcommand*\appendix{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}}
% \end{macrocode}
% \iffalse
%</boek-xepersian.def>
%<*bookest-xepersian.def>
%\fi
% \section{File \texttt{bookest-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{bookest-xepersian.def}[2010/07/25 v0.1 adaptations for bookest class]
\renewcommand \thepart {\@tartibi\c@part}
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
% \end{macrocode}
% \iffalse
%</bookest-xepersian.def>
%<*book-xepersian.def>
%\fi
% \section{File \texttt{book-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{book-xepersian.def}[2010/07/25 v0.2 adaptations for standard book class]
\renewcommand\frontmatter{%
\cleardoublepage
\@mainmatterfalse
\pagenumbering{harfi}}
\renewcommand \thepart {\@tartibi\c@part}
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
% \end{macrocode}
% \iffalse
%</book-xepersian.def>
%<*breqn-xepersian.def>
%\fi
% \section{File \texttt{breqn-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{breqn-xepersian.def}[2010/07/25 v0.1 adaptations for breqn package]
\def\@dmath[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
\everydisplay\expandafter{\the\everydisplay \display@setup}%
\if@noskipsec \leavevmode \fi
\if@inlabel \leavevmode \global\@inlabelfalse \fi
\if\eq@group\else\eq@prelim\fi
\setkeys{breqn}{#1}%
\the\eqstyle
\eq@setnumber
\begingroup
\eq@setup@a
\eq@startup
}
\def\@dgroup[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
\let\eq@group\@True \global\let\eq@GRP@first@dmath\@True
\global\GRP@queue\@emptytoks \global\setbox\GRP@box\box\voidb@x
\global\let\GRP@label\@empty
\global\grp@wdL\z@\global\grp@wdR\z@\global\grp@wdT\z@
\global\grp@linewidth\z@\global\grp@wdNum\z@
\global\let\grp@eqs@numbered\@False
\global\let\grp@aligned\@True
\global\let\grp@shiftnumber\@False
\eq@prelim
\setkeys{breqn}{#1}%
\if\grp@hasNumber \grp@setnumber \fi
}
\def\@dseries[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi%
\let\display@setup\dseries@display@setup
% Question: should this be the default for dseries???
\global\eq@wdCond\z@
\@dmath[layout={M},#1]%
\mathsurround\z@\@@math \penalty\@Mi
\let\endmath\ends@math
\def\premath{%
\ifdim\lastskip<.3em \unskip
\else\ifnum\lastpenalty<\@M \dquad\fi\fi
}%
\def\postmath{\unpenalty\eq@addpunct \penalty\intermath@penalty \dquad \@ignoretrue}%
\ignorespaces
}
% \end{macrocode}
% \iffalse
%</breqn-xepersian.def>
%<*latex-localise-commands-xepersian.def>
%\fi
% \section{File \texttt{latex-localise-commands-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{latex-localise-commands-xepersian.def}[2014/02/05 v0.3 Persian localisation of LaTeX2e commands]
\eqcommand{شمعجدول}{@arstrut}
\eqcommand{فوق}{above}
\eqcommand{فاصلهکوتاهبالاینمایش}{abovedisplayshortskip}
\eqcommand{فاصلهبالاینمایش}{abovedisplayskip}
\eqcommand{عنوانچکیده}{abstractname}
\eqcommand{اکسنت}{accent}
\eqcommand{فعال}{active}
\eqcommand{بیفزاسطرفهرست}{addcontentsline}
\eqcommand{اضافهبرجریمه}{addpenalty}
\eqcommand{نشانی}{address}
\eqcommand{بیفزابهفهرست}{addtocontents}
\eqcommand{اضافهبرشمارنده}{addtocounter}
\eqcommand{اضافهبربعد}{addtolength}
\eqcommand{بیفزافضایو}{addvspace}
\eqcommand{تنظیمبدنمایی}{adjdemerits}
\eqcommand{بیفزابر}{advance}
\eqcommand{بعدازانتساب}{afterassignment}
\eqcommand{بعدازگروه}{aftergroup}
\eqcommand{الف}{aleph}
\eqcommand{خصیصهمستعارقلم}{aliasfontfeature}
\eqcommand{انتخابخصیصهمستعارقلم}{aliasfontfeatureoption}
\eqcommand{شکستنی}{allowbreak}
\eqcommand{تخصی@}{alloc@}
\eqcommand{تخصیصیافته}{allocationnumber}
\eqcommand{شکستنمایشمجاز}{allowdisplaybreaks}
\eqcommand{حروفبزرگ}{Alph}
\eqcommand{حروفکوچک}{alph}
\eqcommand{نامهمچنین}{alsoname}
\eqcommand{و}{and}
\eqcommand{زاویه}{angle}
\eqcommand{عنوانپیوست}{appendixname}
\eqcommand{تقریب}{approx}
\eqcommand{عربی}{arabic}
\eqcommand{آرگ}{arg}
\eqcommand{رنگخطجدول}{arrayrulecolor}
\eqcommand{فاصلهستونهایآرایه}{arraycolsep}
\eqcommand{ضخامتخطجدول}{arrayrulewidth}
\eqcommand{کشیدگیآرایه}{arraystretch}
\eqcommand{درآغازنوشتار}{AtBeginDocument}
\eqcommand{درپایاننوشتار}{AtEndDocument}
\eqcommand{درانتهایطبقه}{AtEndOfClass}
\eqcommand{درانتهایسبک}{AtEndOfPackage}
\eqcommand{نویسنده}{author}
\eqcommand{مطلبپشت}{backmatter}
\eqcommand{شکافپشت}{backslash}
\eqcommand{بدنمایی}{badness}
\eqcommand{میله}{bar}
\eqcommand{فاصلهکرسی}{baselineskip}
\eqcommand{کششفاصلهکرسی}{baselinestretch}
\eqcommand{پردازشدستهای}{batchmode}
\eqcommand{شروع}{begin}
\eqcommand{شروعچپ}{beginL}
\eqcommand{شروعراست}{beginR}
\eqcommand{شروعگروه}{begingroup}
\eqcommand{فاصلهکوتاهپاییننمایش}{belowdisplayshortskip}
\eqcommand{فاصلهپاییننمایش}{belowdisplayskip}
\eqcommand{سیاه}{bf}
\eqcommand{پیشفرضسیاه}{bfdefault}
\eqcommand{شمایلسیاه}{bfseries}
\eqcommand{شرگروه}{bgroup}
\eqcommand{مرجوع}{bibitem}
\eqcommand{کتابنامه}{bibliography}
\eqcommand{سبککتابنامه}{bibliographystyle}
\eqcommand{عنوانکتابنامه}{bibname}
\eqcommand{پرشبلند}{bigskip}
\eqcommand{مقدارپرشبلند}{bigskipamount}
\eqcommand{خطپایینشناور}{botfigrule}
\eqcommand{علامتپایین}{botmark}
\eqcommand{کادرتاپایین}{bottompageskip}
\eqcommand{نسبتپایین}{bottomfraction}
\eqcommand{کادر}{box}
\eqcommand{حداکثرعمقکادر}{boxmaxdepth}
\eqcommand{بشکن}{break}
\eqcommand{گلوله}{bullet}
\eqcommand{دوپن@پنج}{@cclv}
\eqcommand{دوپن@شش}{@cclvi}
\eqcommand{شرح}{caption}
\eqcommand{کدرده}{catcode}
\eqcommand{رونوشت}{cc}
\eqcommand{نامرونوشت}{ccname}
\eqcommand{نقطهوسط}{cdot}
\eqcommand{نقاطوسط}{cdots}
\eqcommand{تنظیمازوسط}{centering}
\eqcommand{خطوسط}{centerline}
\eqcommand{چک@ن}{ch@ck}
\eqcommand{فصل}{chapter}
\eqcommand{عنوانفصل}{chaptername}
\eqcommand{نویسه}{char}
\eqcommand{تعریفنویسه}{chardef}
\eqcommand{برسیفرمان}{CheckCommand}
\eqcommand{مرجع}{cite}
\eqcommand{خطایطبقه}{ClassError}
\eqcommand{اطلاعطبقه}{ClassInfo}
\eqcommand{هشدارطبقه}{ClassWarning}
\eqcommand{هشدارطبقهبیسطر}{ClassWarningNoLine}
\eqcommand{نشانگرمرکزی}{cleaders}
\eqcommand{دوصفحهپاک}{cleardoublepage}
\eqcommand{صفحهپاک}{clearpage}
\eqcommand{خطناپر}{cline}
\eqcommand{ببندورودی}{closein}
\eqcommand{ببندخروجی}{closeout}
\eqcommand{بستن}{closing}
\eqcommand{جریمهسربند}{clubpenalty}
\eqcommand{خاج}{clubsuit}
\eqcommand{علامتپایینستوناول}{colbotmark}
\eqcommand{علامتاولستوناول}{colfirstmark}
\eqcommand{رنگ}{color}
\eqcommand{کادررنگ}{colorbox}
\eqcommand{علامتبالایستوناول}{coltopmark}
\eqcommand{رنگستون}{columncolor}
\eqcommand{بینستون}{columnsep}
\eqcommand{پهنایستون}{columnwidth}
\eqcommand{خطبینستون}{columnseprule}
\eqcommand{سطرفهرست}{contentsline}
\eqcommand{عنوانفهرستمطالب}{contentsname}
\eqcommand{کپی}{copy}
\eqcommand{حقتالیف}{copyright}
\eqcommand{شمار}{count}
\eqcommand{شمار@}{count@}
\eqcommand{تعریفشمار}{countdef}
\eqcommand{سخ}{cr}
\eqcommand{سخسخ}{crcr}
\eqcommand{نامفرمان}{csname}
\eqcommand{گزینهجاری}{CurrentOption}
\eqcommand{کادربینابین}{dashbox}
\eqcommand{بینابینع}{dashv}
\eqcommand{@تاریخ}{@date}
\eqcommand{تاریخ}{date}
\eqcommand{روز}{day}
\eqcommand{خطپایینشناورپهن}{dblbotfigrule}
\eqcommand{نسبتپهنپایین}{dblbottomfraction}
\eqcommand{خطبالایشناورپهن}{dblfigrule}
\eqcommand{نسبتصفحهشناورپهن}{dblfloatpagefraction}
\eqcommand{فاصلهبینشناورپهن}{dblfloatsep}
\eqcommand{کدمکانغیرهمانطور}{dblfntlocatecode}
\eqcommand{فاصلهمتنوشناورپهن}{dbltextfloatsep}
\eqcommand{نسبتپهنبالا}{dbltopfraction}
\eqcommand{اعلانقلمثابت}{DeclareFixedFont}
\eqcommand{اعلانپسوندگرافیک}{DeclareGraphicsExtensions}
\eqcommand{اعلاندستورگرافیک}{DeclareGraphicsRule}
\eqcommand{اعلانفرمانقلمقدیمی}{DeclareOldFontCommand}
\eqcommand{اعلانگزینه}{DeclareOption}
\eqcommand{اعلانفرمانقوی}{DeclareRobustCommand}
\eqcommand{اعلانقلمعلائم}{DeclareSymbolFont}
\eqcommand{دوربسته}{deadcycles}
\eqcommand{تر}{def}
\eqcommand{تعریف@کلید}{define@key}
\eqcommand{تعریفرنگ}{definecolor}
\eqcommand{درجه}{deg}
\eqcommand{کدجداساز}{delcode}
\eqcommand{جداساز}{delimiter}
\eqcommand{ضریبجداساز}{delimiterfactor}
\eqcommand{گودی}{depth}
\eqcommand{خشت}{diamondsuit}
\eqcommand{ابعاد}{dim}
\eqcommand{بعد}{dimen}
\eqcommand{بعد@}{dimen@}
\eqcommand{بعد@یک}{dimen@i}
\eqcommand{بعد@دو}{dimen@ii}
\eqcommand{تعریفبعد}{dimendef}
\eqcommand{تیرهگذاری}{discretionary}
\eqcommand{شکستنمایش}{displaybreak}
\eqcommand{تورفتگینمایش}{displayindent}
\eqcommand{سبکنمایش}{displaystyle}
\eqcommand{عرضنمایش}{displaywidth}
\eqcommand{تقسیم}{divide}
\eqcommand{طبقهنوشتار}{documentclass}
\eqcommand{کن}{do}
\eqcommand{تعویضکدها}{dospecials}
\eqcommand{نقطه}{dot}
\eqcommand{نقطهمساوی}{doteq}
\eqcommand{پرنقطها}{dotfill}
\eqcommand{نقاط}{dots}
\eqcommand{کادردولا}{doublebox}
\eqcommand{رنگفاصلهدوخطجدول}{doublerulesepcolor}
\eqcommand{فاصلهبیندوخط}{doublerulesep}
\eqcommand{فلشپایین}{downarrow}
\eqcommand{عمق}{dp}
\eqcommand{تخلیه}{dump}
\eqcommand{ترگ}{edef}
\eqcommand{پاگروه}{egroup}
\eqcommand{انتهایفاصله}{eject}
\eqcommand{گرنه}{else}
\eqcommand{تاکید}{em}
\eqcommand{کششلاجرم}{emergencystretch}
\eqcommand{موکد}{emph}
\eqcommand{@پوچ}{@empty}
\eqcommand{پوچ}{empty}
\eqcommand{مجموعهپوچ}{emptyset}
\eqcommand{پایان}{end}
\eqcommand{پایانچپ}{endL}
\eqcommand{پایانراست}{endR}
\eqcommand{پایاننامفرمان}{endcsname}
\eqcommand{پایاناولینسر}{endfirsthead}
\eqcommand{پایانپا}{endfoot}
\eqcommand{تهبند}{endgraf}
\eqcommand{پایانگروه}{endgroup}
\eqcommand{پایانسر}{endhead}
\eqcommand{پایانورودی}{endinput}
\eqcommand{پایانآخرینپا}{endlastfoot}
\eqcommand{گسترشاینصفحه}{enlargethispage}
\eqcommand{تهسطر}{endline}
\eqcommand{نویسهتهسطر}{endlinechar}
\eqcommand{اندوری}{enspace}
\eqcommand{انفاصله}{enskip}
\eqcommand{فرمانجانشین}{eqcommand}
\eqcommand{محیطجانشین}{eqenvironment}
\eqcommand{ارجاعفر}{eqref}
\eqcommand{کمکخطا}{errhelp}
\eqcommand{پیامخطا}{errmessage}
\eqcommand{سطرمتنخطا}{errorcontextlines}
\eqcommand{پردازشتوقفخطا}{errorstopmode}
\eqcommand{نویسهویژه}{escapechar}
\eqcommand{یورو}{euro}
\eqcommand{حاشیهزوج}{evensidemargin}
\eqcommand{هرسخ}{everycr}
\eqcommand{هرنمایش}{everydisplay}
\eqcommand{هرکادرا}{everyhbox}
\eqcommand{هرکار}{everyjob}
\eqcommand{هرریاضی}{everymath}
\eqcommand{هربند}{everypar}
\eqcommand{هرکادرو}{everyvbox}
\eqcommand{اجرایگزینهها}{ExecuteOptions}
\eqcommand{جریمهاضافیتیرهبندی}{exhyphenpenalty}
\eqcommand{بگسترپساز}{expandafter}
\eqcommand{فاصلهاضافیبینستونها}{extracolsep}
\eqcommand{@اولیازیک}{@firstofone}
\eqcommand{@اولیازدو}{@firstoftwo}
\eqcommand{چ@ار}{f@ur}
\eqcommand{خانواده}{fam}
\eqcommand{صفحهتجملی}{fancypage}
\eqcommand{کادربا}{fbox}
\eqcommand{ضخامتکادربا}{fboxrule}
\eqcommand{حاشیهکادربا}{fboxsep}
\eqcommand{کادربارنگ}{fcolorbox}
\eqcommand{رگ}{fi}
\eqcommand{عنوانشکل}{figurename}
\eqcommand{پرشکن}{filbreak}
\eqcommand{پر}{fill}
\eqcommand{علامتاول}{firstmark}
\eqcommand{پهن}{flat}
\eqcommand{نسبتصفحهشناور}{floatpagefraction}
\eqcommand{جریمهشناور}{floatingpenalty}
\eqcommand{فاصلهبینشناور}{floatsep}
\eqcommand{تنظیمازپایین}{flushbottom}
\eqcommand{شکلبندی}{fmtname}
\eqcommand{ردهشکلبندی}{fmtversion}
\eqcommand{نشانه}{fnsymbol}
\eqcommand{قلم}{font}
\eqcommand{بعدقلم}{fontdimen}
\eqcommand{رمزینهقلم}{fontencoding}
\eqcommand{فامیلقلم}{fontfamily}
\eqcommand{نامقلم}{fontname}
\eqcommand{شمایلقلم}{fontseries}
\eqcommand{شکلقلم}{fontshape}
\eqcommand{اندازهقلم}{fontsize}
\eqcommand{بلندایپایینصفحه}{footheight}
\eqcommand{درجزیرنویس}{footins}
\eqcommand{زیرنویس}{footnote}
\eqcommand{علامتزیرنویس}{footnotemark}
\eqcommand{خطزیرنویس}{footnoterule}
\eqcommand{فاصلهتازیرنویس}{footnotesep}
\eqcommand{اندازهزیرنویس}{footnotesize}
\eqcommand{متنزیرنویس}{footnotetext}
\eqcommand{فاصلهتاپایینصفحه}{footskip}
\eqcommand{فریم}{frame}
\eqcommand{کادرباخط}{framebox}
\eqcommand{فواصلیکنواختلاتین}{frenchspacing}
\eqcommand{مطلبپیش}{frontmatter}
\eqcommand{بعدبگذار}{futurelet}
\eqcommand{@خورحریصانه}{@gobble}
\eqcommand{@خورحریصانهدو}{@gobbletwo}
\eqcommand{@خورحریصانهچهار}{@gobblefour}
\eqcommand{@عاقتآ}{@gtempa}
\eqcommand{@عاقتب}{@gtempb}
\eqcommand{ترع}{gdef}
\eqcommand{الگویاطلاع}{GenericInfo}
\eqcommand{الگویهشدار}{GenericWarning}
\eqcommand{الگویخطا}{GenericError}
\eqcommand{عام}{global}
\eqcommand{تعاریفعام}{globaldefs}
\eqcommand{لغتنامه}{glossary}
\eqcommand{فقرهفرهنگ}{glossaryentry}
\eqcommand{خوششکن}{goodbreak}
\eqcommand{کاغذگراف}{graphpaper}
\eqcommand{گیومهچپ}{guillemotleft}
\eqcommand{گیومهراست}{guillemotright}
\eqcommand{گیومهتکیچپ}{guilsinglleft}
\eqcommand{گیومهتکیراست}{guilsinglright}
\eqcommand{ردیفا}{halign}
\eqcommand{بروتو}{hang}
\eqcommand{بعدازسطر}{hangafter}
\eqcommand{تورفتگیثابت}{hangindent}
\eqcommand{بدنماییا}{hbadness}
\eqcommand{کادرا}{hbox}
\eqcommand{بلندایسرصفحه}{headheight}
\eqcommand{فاصلهازسرصفحه}{headsep}
\eqcommand{سربهنام}{headtoname}
\eqcommand{دل}{heartsuit}
\eqcommand{بلندا}{height}
\eqcommand{پرا}{hfil}
\eqcommand{پررا}{hfill}
\eqcommand{رفعپرا}{hfilneg}
\eqcommand{پرزافقی}{hfuzz}
\eqcommand{فاصلهمخفی}{hideskip}
\eqcommand{عرضپنهان}{hidewidth}
\bidi@csletcs{خطپر}{hline}% this is an exception
\eqcommand{حاشیها}{hoffset}
\eqcommand{حفظدرج}{holdinginserts}
\eqcommand{فاصلهاگرد}{hrboxsep}
\eqcommand{خطا}{hrule}
\eqcommand{پرخطا}{hrulefill}
\eqcommand{طولسطر}{hsize}
\eqcommand{فاصلها}{hskip}
\eqcommand{فضایا}{hspace}
\eqcommand{هردوا}{hss}
\eqcommand{ارتفاع}{ht}
\eqcommand{بزرگ}{huge}
\eqcommand{بزرگتر}{Huge}
\eqcommand{ابرپیوند}{hyperlink}
\eqcommand{بارگذاریابر}{hypersetup}
\eqcommand{هدفابر}{hypertarget}
\eqcommand{تیرهبندی}{hyphenation}
\eqcommand{نویسهتیره}{hyphenchar}
\eqcommand{جریمهتیرهبندی}{hyphenpenalty}
\eqcommand{@گرکلاسفراخوانیشده}{@ifclassloaded}
\eqcommand{@گرترشدنی}{@ifdefinable}
\eqcommand{@گرنویسهبعدی}{@ifnextchar}
\eqcommand{@گرسبکفراخوانیشده}{@ifpackageloaded}
\eqcommand{@گرستاره}{@ifstar}
\eqcommand{@گرتعریفنشده}{@ifundefined}
\eqcommand{گر}{if}
\eqcommand{گر@سواقتآ}{if@tempswa}
\eqcommand{گرانواع}{ifcase}
\eqcommand{گررده}{ifcat}
\eqcommand{گرتعریفشده}{ifdefined}
\eqcommand{گربعد}{ifdim}
\eqcommand{گرتهپرونده}{ifeof}
\eqcommand{گرر}{iff}
\eqcommand{گرنادرست}{iffalse}
\eqcommand{گرپروندهموجود}{IfFileExists}
\eqcommand{گرکادرا}{ifhbox}
\eqcommand{گرحالتا}{ifhmode}
\eqcommand{گردرونی}{ifinner}
\eqcommand{گرحالتریاضی}{ifmmode}
\eqcommand{گرعدد}{ifnum}
\eqcommand{گرفرد}{ifodd}
\eqcommand{گرآنگاهدیگر}{ifthenelse}
\eqcommand{گردرست}{iftrue}
\eqcommand{گرکادرو}{ifvbox}
\eqcommand{گرحالتو}{ifvmode}
\eqcommand{گرتهی}{ifvoid}
\eqcommand{گرتام}{ifx}
\eqcommand{فاصلهخالیراندیدهبگیر}{ignorespaces}
\eqcommand{فوری}{immediate}
\eqcommand{شامل}{include}
\eqcommand{درجتصویر}{includegraphics}
\eqcommand{مشمولین}{includeonly}
\eqcommand{تورفتگی}{indent}
\eqcommand{درنمایه}{index}
\eqcommand{استعلام}{indexentry}
\eqcommand{عنواننمایه}{indexname}
\eqcommand{فاصلهرهنما}{indexspace}
\eqcommand{ورودی}{input}
\eqcommand{ورودپروندهگرموجود}{InputIfFileExists}
\eqcommand{شمارهسطرورودی}{inputlineno}
\eqcommand{درج}{insert}
\eqcommand{جریمهدرج}{insertpenalties}
\eqcommand{جریمهبینسطرهایزیرنویس}{interfootnotelinepenalty}
\eqcommand{جریمهبینسطرهاینمایش}{interdisplaylinepenalty}
\eqcommand{جریمهبینسطرها}{interlinepenalty}
\eqcommand{متنداخلی}{intertext}
\eqcommand{فاصلهشناوردرمتن}{intertextsep}
\eqcommand{مخفی}{invisible}
\eqcommand{پیشفرضای}{itdefault}
\eqcommand{شکلایتالیک}{itshape}
\eqcommand{فقره}{item}
\eqcommand{تورفتگیفقره}{itemindent}
\eqcommand{فاصلهفقره}{itemsep}
\eqcommand{تکرارکن}{iterate}
\eqcommand{شکلای}{itshape}
\eqcommand{نامکار}{jobname}
\eqcommand{قلپ}{jot}
\eqcommand{دوری}{kern}
\eqcommand{الگو}{kill}
\eqcommand{برچسب}{label}
\eqcommand{برچسبشمارشیک}{labelenumi}
\eqcommand{برچسبشمارشدو}{labelenumii}
\eqcommand{برچسبشمارشسه}{labelenumiii}
\eqcommand{برچسبشمارشچهار}{labelenumiv}
\eqcommand{برچسبفقرهیک}{labelitemi}
\eqcommand{برچسبفقرهدو}{labelitemii}
\eqcommand{برچسبفقرهسه}{labelitemiii}
\eqcommand{برچسبفقرهچهار}{labelitemiv}
\eqcommand{فاصلهازبرچسب}{labelsep}
\eqcommand{پهنایبرچسب}{labelwidth}
\eqcommand{زبان}{language}
\eqcommand{درشت}{large}
\eqcommand{درشتتر}{Large}
\eqcommand{درشتدرشت}{LARGE}
\eqcommand{آخرینکادر}{lastbox}
\eqcommand{آخریندوری}{lastkern}
\eqcommand{آخرینجریمه}{lastpenalty}
\eqcommand{آخرینفاصله}{lastskip}
\eqcommand{لاتک}{LaTeX}
\eqcommand{لاتکای}{LaTeXe}
\eqcommand{کدکوچک}{lccode}
\eqcommand{نقاطخ}{ldots}
\eqcommand{نشانگر}{leaders}
\eqcommand{ترکو}{leavevmode}
\eqcommand{چپ}{left}
\eqcommand{حاشیهچپ}{leftmargin}
\eqcommand{حاشیهچپیک}{leftmargini}
\eqcommand{حاشیهچپدو}{leftmarginii}
\eqcommand{حاشیهچپسه}{leftmarginiii}
\eqcommand{حاشیهچپچهار}{leftmarginiv}
\eqcommand{حاشیهچپپنج}{leftmarginv}
\eqcommand{حاشیهچپشش}{leftmarginvi}
\eqcommand{علامتچپ}{leftmark}
\eqcommand{کادرتاچپ}{leftpageskip}
\eqcommand{فاصلهابتدایسطر}{leftskip}
\eqcommand{بگذار}{let}
\eqcommand{سطر}{line}
\eqcommand{سطرشکن}{linebreak}
\eqcommand{جریمهسطر}{linepenalty}
\eqcommand{فاصلهسطرها}{lineskip}
\eqcommand{حدفاصلهسطر}{lineskiplimit}
\eqcommand{کششفاصلهسطر}{linespread}
\eqcommand{ضخامتخط}{linethickness}
\eqcommand{پهنایسطر}{linewidth}
\eqcommand{عنوانفهرستاشکال}{listfigurename}
\eqcommand{لیستپروندهها}{listfiles}
\eqcommand{فهرستاشکال}{listoffigures}
\eqcommand{فهرستجداول}{listoftables}
\eqcommand{تورفتگیبندلیست}{listparindent}
\eqcommand{عنوانفهرستجداول}{listtablename}
\eqcommand{بارکنطبقه}{LoadClass}
\eqcommand{بارکنطبقهباگزینه}{LoadClassWithOptions}
\eqcommand{مکان}{location}
\eqcommand{بلند}{long}
\eqcommand{گسیختگی}{looseness}
\eqcommand{انتقالبپایین}{lower}
\eqcommand{@دیگر}{@makeother}
\eqcommand{@زار}{@m}
\eqcommand{ده@زار}{@M}
\eqcommand{ده@زاریک}{@Mi}
\eqcommand{ده@زاردو}{@Mii}
\eqcommand{ده@زارسه}{@Miii}
\eqcommand{ده@زارچهار}{@Miv}
\eqcommand{بیس@زار}{@MM}
\eqcommand{من@ا}{m@ne}
\eqcommand{بزرگنمایی}{mag}
\eqcommand{گام}{magstep}
\eqcommand{نیمگام}{magstephalf}
\eqcommand{مطلباصلی}{mainmatter}
\eqcommand{اتحرف}{makeatletter}
\eqcommand{اتدیگر}{makeatother}
\eqcommand{کادربیخط}{makebox}
\eqcommand{ساختفرهنگ}{makeglossary}
\eqcommand{تهیهنمایه}{makeindex}
\eqcommand{ساختبرچسب}{makelabel}