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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
|
\documentclass{article}
\usepackage{supertabular}
\usepackage{fontspec}
\usepackage{calc}
\usepackage{pifont}
\usepackage{bbding}
\usepackage{bidicode}
\definecolor{xepersianblue}{rgb}{0.1,0.2,0.8}
\usepackage[numbered]{hypdoc}
\definecolor{myred}{rgb}{0.65,0.04,0.07}
\hypersetup{pdftitle={The XePersian Package (Persian for \LaTeXe{} over XeTeX)},pdfauthor={Vafa Khalighi <vafakh@me.com>},linkcolor=xepersianblue,urlcolor=xepersianblue,citecolor=xepersianblue}
\usepackage{bidi}
\setlength\columnseprule{.4pt}
\newfontfamily\ParsiFont[Script=Arabic]{Iranian Sans}
\def\Pcs#1{\nxPLcs{#1}}
\def\nxPLcs#1{\RLE{\texttt{\symbol{92}\ParsiFont#1}}}
\def\Lenv#1{\texttt{#1}}
\def\Penv#1{\RLE{\ParsiFont#1}}
\let\parsitext\Penv
\def\XeTeX{Xe\TeX}
\def\XeLaTeX{Xe\LaTeX}
\def\XePersian{XePersian}
\newcommand*{\bicsintabular}[2]{\Lcs{#2}&\Pcs{#1}\\}
\newcommand*{\biffintabular}[2]{\texttt{#1}&\Penv{#2}\\}
\newcommand*{\biffointabular}[3]{\texttt{#1}&\texttt{#2}&\Penv{#3}\\}
\newcommand*{\bienvintabular}[2]{\Lenv{#2}&\Penv{#1}\\}
\makeatletter
\renewcommand\tableofcontents{\relax
\begin{multicols}{2}[\section*{\contentsname}]\small
\@starttoc{toc}\relax
\end{multicols}}
\pdfstringdefDisableCommands{%
\renewcommand\Lcs[1]{\textbackslash#1}
}
\makeatother
\newcounter{local}
\renewcommand\theenumi{\protect\setcounter{local}%
{201+\the\value{enumi}}\protect\ding{\value{local}}}
\renewcommand\labelenumi{\theenumi}
\renewcommand\labelitemi{\HandRight}
\renewcommand\labelitemii{\HandRightUp}
\renewcommand\labelitemiii{\HandCuffRight}
\renewcommand\labelitemiv{\HandPencilLeft}
\title{The \textsf{\XePersian} Package\\[10pt]
\includegraphics[width=0.5\textwidth]{xepersian-logo}\\[10pt]
Persian for \LaTeXe{} over \XeTeX}
\author{Vafa Khalighi\\
\url{vafakh@me.com}}
\date{\today\qquad Version 12.9}
\begin{document}
\maketitle
\tableofcontents
\section{Introduction}
\XePersian\ is a package for typesetting Persian/English documents with \XeLaTeX. The package includes adaptations for use with many other commonly-used packages.
\subsection{Important Notes}
\begin{itemize}
\item The \textsf{\XePersian} package only works with \XeTeX\ engine.
\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.
\item In previous versions (\(\leq1.0.3\)) of \XePersian, a thesis class provided for typesetting thesis. As of version 1.0.4, we no longer provide this class because we are not familiar with specification of a thesis in Iran and even if we were, 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.
\end{itemize}
\subsection{\textsf{\XePersian} Info On The Terminal and In The Log File}
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:
\begin{lstlisting}[numbers=none,backgroundcolor=\color{blue!30},frame=none,framexleftmargin=1mm]
xepersian package (Persian for LaTeX over XeTeX)
Description: The package supports Persian
typesetting, using fonts provided in the distribution.
Copyright © 2008-2013 Vafa Khalighi
v12.9, 2013/09/06
License: LaTeX Project Public License, version 1.3c or higher (your choice)
Location on CTAN: /macros/xetex/latex/xepersian
\end{lstlisting}
\section{Basics\label{basics}}
\subsection{Loading The Package}
You can load the package in the ordinary way;
\begin{BDef}
\Lcs{usepackage}\OptArgs\Largb{xepersian}
\end{BDef}
Where \texttt{options} of the package are explained later in \autoref{options}.
When loading the package, it is important to know that:
\begin{enumerate}
\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.
\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.
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.
For instance, consider the following minimal example:
\begin{lstlisting}[morekeywords={settextfont}]
\documentclass{minimal}
\usepackage{xepersian}
\usepackage{enumerate}
\settextfont{XB Niloofar}
\begin{document}
*\parsitext{این فقط یک آزمایش است}*
\end{document}
\end{lstlisting}
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:
\begin{lstlisting}[numbers=none,backgroundcolor=\color{blue!30},frame=none,framexleftmargin=1mm]
! 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.
See the xepersian package documentation for explanation.
Type H <return> for immediate help.
...
l.5 \begin{document}
?
\end{lstlisting}
\end{enumerate}
\subsection{\textsf{\XePersian}'s Symbol}
As you may know lion symbolizes \TeX{} but lion does not symbolizes \textsf{\XePersian}. \textbf{Simorgh}\footnote{\textbf{Simorgh} is an Iranian benevolent, mythical flying creature which has been shown on the titlepage of this documentation. For more details see \url{http://en.wikipedia.org/wiki/Simurgh}} (shown on the first page of this documentation) symbolizes \textsf{\XePersian}.
\subsection{Commands for Version number, and Date of The Package}
\begin{BDef}
\Lcs{xepersianversion}\quad\Lcs{xepersiandate}
\end{BDef}
\begin{itemize}
\item \Lcs{xepersianversion} gives the current version of the package.
\item \Lcs{xepersiandate} gives the current date of the package.
\end{itemize}
\begin{lstlisting}[morekeywords={settextfont,XePersian,xepersianversion,xepersiandate}]
\documentclass{article}
\usepackage{xepersian}
\settextfont{XB Niloofar}
\begin{document}
\begin{latin}
This is typeset by \textsf{\XePersian} package,\xepersianversion,
\xepersiandate.
\end{latin}
\end{document}
\end{lstlisting}
\subsection{{Options of The Package\label{options}}}
There are four options:
\subsubsection{\texttt{extrafootnotefeatures} Option}
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.
\subsubsection{\texttt{Kashida} Option}
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.
\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).
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!).
\bigskip
The following two commands are provided when you activate the \texttt{Kashida} option:
\begin{BDef}
\Lcs{KashidaOn}\quad\Lcs{KashidaOff}
\end{BDef}
\begin{itemize}
\item \Lcs{KashidaOn} enables Kashida and is active by default when \texttt{Kashida} option is activated.
\item \Lcs{KashidaOff} disables Kashida.
\end{itemize}
\subsubsection{\texttt{quickindex} Option}
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.
\subsubsection{\texttt{localise} Option}
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}
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}.
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.
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?
\medskip
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:
\begin{BDef}
\Lcs{eqcommand}\Largb{\Larga{command-name in Persian}}\Largb{\Larga{original \LaTeX{} command-name}}\\
\Lcs{eqenvironment}\Largb{\Larga{environment-name in Persian}}\Largb{\Larga{original \LaTeX{} environment-name}}
\end{BDef}
\begin{center}
\tablecaption{The Equivalent \LaTeX\ and \TeX\ Commands\label{lcs}}
\tablehead
{\bfseries Command in \TeX\ or \LaTeX\ &\bfseries Equivalent Persian Command\\ \hline}
\tabletail
{\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
\tablelasttail{\hline}
\begin{supertabular}{lr}
\bicsintabular{شمعجدول}{@arstrut}
\bicsintabular{فوق}{above}
\bicsintabular{فاصلهکوتاهبالاینمایش}{abovedisplayshortskip}
\bicsintabular{فاصلهبالاینمایش}{abovedisplayskip}
\bicsintabular{عنوانچکیده}{abstractname}
\bicsintabular{اکسنت}{accent}
\bicsintabular{فعال}{active}
\bicsintabular{بیفزاسطرفهرست}{addcontentsline}
\bicsintabular{اضافهبرجریمه}{addpenalty}
\bicsintabular{نشانی}{address}
\bicsintabular{بیفزابهفهرست}{addtocontents}
\bicsintabular{اضافهبرشمارنده}{addtocounter}
\bicsintabular{اضافهبربعد}{addtolength}
\bicsintabular{بیفزافضایو}{addvspace}
\bicsintabular{تنظیمبدنمایی}{adjdemerits}
\bicsintabular{بیفزابر}{advance}
\bicsintabular{بعدازانتساب}{afterassignment}
\bicsintabular{بعدازگروه}{aftergroup}
\bicsintabular{الف}{aleph}
\bicsintabular{خصیصهمستعارقلم}{aliasfontfeature}
\bicsintabular{انتخابخصیصهمستعارقلم}{aliasfontfeatureoption}
\bicsintabular{شکستنی}{allowbreak}
\bicsintabular{تخصی@}{alloc@}
\bicsintabular{تخصیصیافته}{allocationnumber}
\bicsintabular{شکستنمایشمجاز}{allowdisplaybreaks}
\bicsintabular{حروفبزرگ}{Alph}
\bicsintabular{حروفکوچک}{alph}
\bicsintabular{نامهمچنین}{alsoname}
\bicsintabular{و}{and}
\bicsintabular{زاویه}{angle}
\bicsintabular{عنوانپیوست}{appendixname}
\bicsintabular{تقریب}{approx}
\bicsintabular{عربی}{arabic}
\bicsintabular{آرگ}{arg}
\bicsintabular{رنگخطجدول}{arrayrulecolor}
\bicsintabular{فاصلهستونهایآرایه}{arraycolsep}
\bicsintabular{ضخامتخطجدول}{arrayrulewidth}
\bicsintabular{کشیدگیآرایه}{arraystretch}
\bicsintabular{درآغازنوشتار}{AtBeginDocument}
\bicsintabular{درپایاننوشتار}{AtEndDocument}
\bicsintabular{درانتهایطبقه}{AtEndOfClass}
\bicsintabular{درانتهایسبک}{AtEndOfPackage}
\bicsintabular{نویسنده}{author}
\bicsintabular{مطلبپشت}{backmatter}
\bicsintabular{شکافپشت}{backslash}
\bicsintabular{بدنمایی}{badness}
\bicsintabular{میله}{bar}
\bicsintabular{فاصلهکرسی}{baselineskip}
\bicsintabular{کششفاصلهکرسی}{baselinestretch}
\bicsintabular{پردازشدستهای}{batchmode}
\bicsintabular{شروع}{begin}
\bicsintabular{شروعچپ}{beginL}
\bicsintabular{شروعراست}{beginR}
\bicsintabular{شروعگروه}{begingroup}
\bicsintabular{فاصلهکوتاهپاییننمایش}{belowdisplayshortskip}
\bicsintabular{فاصلهپاییننمایش}{belowdisplayskip}
\bicsintabular{سیاه}{bf}
\bicsintabular{پیشفرضسیاه}{bfdefault}
\bicsintabular{شمایلسیاه}{bfseries}
\bicsintabular{شرگروه}{bgroup}
\bicsintabular{مرجوع}{bibitem}
\bicsintabular{کتابنامه}{bibliography}
\bicsintabular{سبککتابنامه}{bibliographystyle}
\bicsintabular{عنوانکتابنامه}{bibname}
\bicsintabular{پرشبلند}{bigskip}
\bicsintabular{مقدارپرشبلند}{bigskipamount}
\bicsintabular{خطپایینشناور}{botfigrule}
\bicsintabular{علامتپایین}{botmark}
\bicsintabular{کادرتاپایین}{bottompageskip}
\bicsintabular{نسبتپایین}{bottomfraction}
\bicsintabular{کادر}{box}
\bicsintabular{حداکثرعمقکادر}{boxmaxdepth}
\bicsintabular{بشکن}{break}
\bicsintabular{گلوله}{bullet}
\bicsintabular{دوپن@پنج}{@cclv}
\bicsintabular{دوپن@شش}{@cclvi}
\bicsintabular{شرح}{caption}
\bicsintabular{کدرده}{catcode}
\bicsintabular{رونوشت}{cc}
\bicsintabular{نامرونوشت}{ccname}
\bicsintabular{نقطهوسط}{cdot}
\bicsintabular{نقاطوسط}{cdots}
\bicsintabular{تنظیمازوسط}{centering}
\bicsintabular{خطوسط}{centerline}
\bicsintabular{چک@ن}{ch@ck}
\bicsintabular{فصل}{chapter}
\bicsintabular{عنوانفصل}{chaptername}
\bicsintabular{نویسه}{char}
\bicsintabular{تعریفنویسه}{chardef}
\bicsintabular{برسیفرمان}{CheckCommand}
\bicsintabular{مرجع}{cite}
\bicsintabular{خطایطبقه}{ClassError}
\bicsintabular{اطلاعطبقه}{ClassInfo}
\bicsintabular{هشدارطبقه}{ClassWarning}
\bicsintabular{هشدارطبقهبیسطر}{ClassWarningNoLine}
\bicsintabular{نشانگرمرکزی}{cleaders}
\bicsintabular{دوصفحهپاک}{cleardoublepage}
\bicsintabular{صفحهپاک}{clearpage}
\bicsintabular{خطناپر}{cline}
\bicsintabular{ببندورودی}{closein}
\bicsintabular{ببندخروجی}{closeout}
\bicsintabular{بستن}{closing}
\bicsintabular{جریمهسربند}{clubpenalty}
\bicsintabular{خاج}{clubsuit}
\bicsintabular{علامتپایینستوناول}{colbotmark}
\bicsintabular{علامتاولستوناول}{colfirstmark}
\bicsintabular{رنگ}{color}
\bicsintabular{کادررنگ}{colorbox}
\bicsintabular{علامتبالایستوناول}{coltopmark}
\bicsintabular{رنگستون}{columncolor}
\bicsintabular{بینستون}{columnsep}
\bicsintabular{پهنایستون}{columnwidth}
\bicsintabular{خطبینستون}{columnseprule}
\bicsintabular{سطرفهرست}{contentsline}
\bicsintabular{عنوانفهرستمطالب}{contentsname}
\bicsintabular{کپی}{copy}
\bicsintabular{حقتالیف}{copyright}
\bicsintabular{شمار}{count}
\bicsintabular{شمار@}{count@}
\bicsintabular{تعریفشمار}{countdef}
\bicsintabular{سخ}{cr}
\bicsintabular{سخسخ}{crcr}
\bicsintabular{نامفرمان}{csname}
\bicsintabular{گزینهجاری}{CurrentOption}
\bicsintabular{کادربینابین}{dashbox}
\bicsintabular{بینابینع}{dashv}
\bicsintabular{@تاریخ}{@date}
\bicsintabular{تاریخ}{date}
\bicsintabular{روز}{day}
\bicsintabular{خطپایینشناورپهن}{dblbotfigrule}
\bicsintabular{نسبتپهنپایین}{dblbottomfraction}
\bicsintabular{خطبالایشناورپهن}{dblfigrule}
\bicsintabular{نسبتصفحهشناورپهن}{dblfloatpagefraction}
\bicsintabular{فاصلهبینشناورپهن}{dblfloatsep}
\bicsintabular{کدمکانغیرهمانطور}{dblfntlocatecode}
\bicsintabular{فاصلهمتنوشناورپهن}{dbltextfloatsep}
\bicsintabular{نسبتپهنبالا}{dbltopfraction}
\bicsintabular{اعلانقلمثابت}{DeclareFixedFont}
\bicsintabular{اعلانپسوندگرافیک}{DeclareGraphicsExtensions}
\bicsintabular{اعلاندستورگرافیک}{DeclareGraphicsRule}
\bicsintabular{اعلانفرمانقلمقدیمی}{DeclareOldFontCommand}
\bicsintabular{اعلانگزینه}{DeclareOption}
\bicsintabular{اعلانفرمانقوی}{DeclareRobustCommand}
\bicsintabular{اعلانقلمعلائم}{DeclareSymbolFont}
\bicsintabular{دوربسته}{deadcycles}
\bicsintabular{تر}{def}
\bicsintabular{تعریف@کلید}{define@key}
\bicsintabular{تعریفرنگ}{definecolor}
\bicsintabular{درجه}{deg}
\bicsintabular{کدجداساز}{delcode}
\bicsintabular{جداساز}{delimiter}
\bicsintabular{ضریبجداساز}{delimiterfactor}
\bicsintabular{گودی}{depth}
\bicsintabular{خشت}{diamondsuit}
\bicsintabular{ابعاد}{dim}
\bicsintabular{بعد}{dimen}
\bicsintabular{بعد@}{dimen@}
\bicsintabular{بعد@یک}{dimen@i}
\bicsintabular{بعد@دو}{dimen@ii}
\bicsintabular{تعریفبعد}{dimendef}
\bicsintabular{تیرهگذاری}{discretionary}
\bicsintabular{شکستنمایش}{displaybreak}
\bicsintabular{تورفتگینمایش}{displayindent}
\bicsintabular{سبکنمایش}{displaystyle}
\bicsintabular{عرضنمایش}{displaywidth}
\bicsintabular{تقسیم}{divide}
\bicsintabular{طبقهنوشتار}{documentclass}
\bicsintabular{کن}{do}
\bicsintabular{تعویضکدها}{dospecials}
\bicsintabular{نقطه}{dot}
\bicsintabular{نقطهمساوی}{doteq}
\bicsintabular{پرنقطها}{dotfill}
\bicsintabular{نقاط}{dots}
\bicsintabular{کادردولا}{doublebox}
\bicsintabular{رنگفاصلهدوخطجدول}{doublerulesepcolor}
\bicsintabular{فاصلهبیندوخط}{doublerulesep}
\bicsintabular{فلشپایین}{downarrow}
\bicsintabular{عمق}{dp}
\bicsintabular{تخلیه}{dump}
\bicsintabular{ترگ}{edef}
\bicsintabular{پاگروه}{egroup}
\bicsintabular{انتهایفاصله}{eject}
\bicsintabular{گرنه}{else}
\bicsintabular{تاکید}{em}
\bicsintabular{کششلاجرم}{emergencystretch}
\bicsintabular{موکد}{emph}
\bicsintabular{@پوچ}{@empty}
\bicsintabular{پوچ}{empty}
\bicsintabular{مجموعهپوچ}{emptyset}
\bicsintabular{پایان}{end}
\bicsintabular{پایانچپ}{endL}
\bicsintabular{پایانراست}{endR}
\bicsintabular{پایاننامفرمان}{endcsname}
\bicsintabular{پایاناولینسر}{endfirsthead}
\bicsintabular{پایانپا}{endfoot}
\bicsintabular{تهبند}{endgraf}
\bicsintabular{پایانگروه}{endgroup}
\bicsintabular{پایانسر}{endhead}
\bicsintabular{پایانورودی}{endinput}
\bicsintabular{پایانآخرینپا}{endlastfoot}
\bicsintabular{گسترشاینصفحه}{enlargethispage}
\bicsintabular{تهسطر}{endline}
\bicsintabular{نویسهتهسطر}{endlinechar}
\bicsintabular{اندوری}{enspace}
\bicsintabular{انفاصله}{enskip}
\bicsintabular{فرمانجانشین}{eqcommand}
\bicsintabular{محیطجانشین}{eqenvironment}
\bicsintabular{ارجاعفر}{eqref}
\bicsintabular{کمکخطا}{errhelp}
\bicsintabular{پیامخطا}{errmessage}
\bicsintabular{سطرمتنخطا}{errorcontextlines}
\bicsintabular{پردازشتوقفخطا}{errorstopmode}
\bicsintabular{نویسهویژه}{escapechar}
\bicsintabular{یورو}{euro}
\bicsintabular{حاشیهزوج}{evensidemargin}
\bicsintabular{هرسخ}{everycr}
\bicsintabular{هرنمایش}{everydisplay}
\bicsintabular{هرکادرا}{everyhbox}
\bicsintabular{هرکار}{everyjob}
\bicsintabular{هرریاضی}{everymath}
\bicsintabular{هربند}{everypar}
\bicsintabular{هرکادرو}{everyvbox}
\bicsintabular{اجرایگزینهها}{ExecuteOptions}
\bicsintabular{جریمهاضافیتیرهبندی}{exhyphenpenalty}
\bicsintabular{بگسترپساز}{expandafter}
\bicsintabular{فاصلهاضافیبینستونها}{extracolsep}
\bicsintabular{@اولیازیک}{@firstofone}
\bicsintabular{@اولیازدو}{@firstoftwo}
\bicsintabular{چ@ار}{f@ur}
\bicsintabular{خانواده}{fam}
\bicsintabular{صفحهتجملی}{fancypage}
\bicsintabular{کادربا}{fbox}
\bicsintabular{ضخامتکادربا}{fboxrule}
\bicsintabular{حاشیهکادربا}{fboxsep}
\bicsintabular{کادربارنگ}{fcolorbox}
\bicsintabular{رگ}{fi}
\bicsintabular{عنوانشکل}{figurename}
\bicsintabular{پرشکن}{filbreak}
\bicsintabular{پر}{fill}
\bicsintabular{علامتاول}{firstmark}
\bicsintabular{پهن}{flat}
\bicsintabular{نسبتصفحهشناور}{floatpagefraction}
\bicsintabular{جریمهشناور}{floatingpenalty}
\bicsintabular{فاصلهبینشناور}{floatsep}
\bicsintabular{تنظیمازپایین}{flushbottom}
\bicsintabular{شکلبندی}{fmtname}
\bicsintabular{ردهشکلبندی}{fmtversion}
\bicsintabular{نشانه}{fnsymbol}
\bicsintabular{قلم}{font}
\bicsintabular{بعدقلم}{fontdimen}
\bicsintabular{رمزینهقلم}{fontencoding}
\bicsintabular{فامیلقلم}{fontfamily}
\bicsintabular{نامقلم}{fontname}
\bicsintabular{شمایلقلم}{fontseries}
\bicsintabular{شکلقلم}{fontshape}
\bicsintabular{اندازهقلم}{fontsize}
\bicsintabular{بلندایپایینصفحه}{footheight}
\bicsintabular{درجزیرنویس}{footins}
\bicsintabular{زیرنویس}{footnote}
\bicsintabular{علامتزیرنویس}{footnotemark}
\bicsintabular{خطزیرنویس}{footnoterule}
\bicsintabular{فاصلهتازیرنویس}{footnotesep}
\bicsintabular{اندازهزیرنویس}{footnotesize}
\bicsintabular{متنزیرنویس}{footnotetext}
\bicsintabular{فاصلهتاپایینصفحه}{footskip}
\bicsintabular{فریم}{frame}
\bicsintabular{کادرباخط}{framebox}
\bicsintabular{فواصلیکنواختلاتین}{frenchspacing}
\bicsintabular{مطلبپیش}{frontmatter}
\bicsintabular{بعدبگذار}{futurelet}
\bicsintabular{@خورحریصانه}{@gobble}
\bicsintabular{@خورحریصانهدو}{@gobbletwo}
\bicsintabular{@خورحریصانهچهار}{@gobblefour}
\bicsintabular{@عاقتآ}{@gtempa}
\bicsintabular{@عاقتب}{@gtempb}
\bicsintabular{ترع}{gdef}
\bicsintabular{الگویاطلاع}{GenericInfo}
\bicsintabular{الگویهشدار}{GenericWarning}
\bicsintabular{الگویخطا}{GenericError}
\bicsintabular{عام}{global}
\bicsintabular{تعاریفعام}{globaldefs}
\bicsintabular{لغتنامه}{glossary}
\bicsintabular{فقرهفرهنگ}{glossaryentry}
\bicsintabular{خوششکن}{goodbreak}
\bicsintabular{کاغذگراف}{graphpaper}
\bicsintabular{گیومهچپ}{guillemotleft}
\bicsintabular{گیومهراست}{guillemotright}
\bicsintabular{گیومهتکیچپ}{guilsinglleft}
\bicsintabular{گیومهتکیراست}{guilsinglright}
\bicsintabular{ردیفا}{halign}
\bicsintabular{بروتو}{hang}
\bicsintabular{بعدازسطر}{hangafter}
\bicsintabular{تورفتگیثابت}{hangindent}
\bicsintabular{بدنماییا}{hbadness}
\bicsintabular{کادرا}{hbox}
\bicsintabular{بلندایسرصفحه}{headheight}
\bicsintabular{فاصلهازسرصفحه}{headsep}
\bicsintabular{سربهنام}{headtoname}
\bicsintabular{دل}{heartsuit}
\bicsintabular{بلندا}{height}
\bicsintabular{پرا}{hfil}
\bicsintabular{پررا}{hfill}
\bicsintabular{رفعپرا}{hfilneg}
\bicsintabular{پرزافقی}{hfuzz}
\bicsintabular{فاصلهمخفی}{hideskip}
\bicsintabular{عرضپنهان}{hidewidth}
\bicsintabular{خطپر}{hline}
\bicsintabular{حاشیها}{hoffset}
\bicsintabular{حفظدرج}{holdinginserts}
\bicsintabular{فاصلهاگرد}{hrboxsep}
\bicsintabular{خطا}{hrule}
\bicsintabular{پرخطا}{hrulefill}
\bicsintabular{طولسطر}{hsize}
\bicsintabular{فاصلها}{hskip}
\bicsintabular{فضایا}{hspace}
\bicsintabular{هردوا}{hss}
\bicsintabular{ارتفاع}{ht}
\bicsintabular{بزرگ}{huge}
\bicsintabular{بزرگتر}{Huge}
\bicsintabular{ابرپیوند}{hyperlink}
\bicsintabular{بارگذاریابر}{hypersetup}
\bicsintabular{هدفابر}{hypertarget}
\bicsintabular{تیرهبندی}{hyphenation}
\bicsintabular{نویسهتیره}{hyphenchar}
\bicsintabular{جریمهتیرهبندی}{hyphenpenalty}
\bicsintabular{@گرکلاسفراخوانیشده}{@ifclassloaded}
\bicsintabular{@گرترشدنی}{@ifdefinable}
\bicsintabular{@گرنویسهبعدی}{@ifnextchar}
\bicsintabular{@گرسبکفراخوانیشده}{@ifpackageloaded}
\bicsintabular{@گرستاره}{@ifstar}
\bicsintabular{@گرتعریفنشده}{@ifundefined}
\bicsintabular{گر}{if}
\bicsintabular{گر@سواقتآ}{if@tempswa}
\bicsintabular{گرانواع}{ifcase}
\bicsintabular{گررده}{ifcat}
\bicsintabular{گرتعریفشده}{ifdefined}
\bicsintabular{گربعد}{ifdim}
\bicsintabular{گرتهپرونده}{ifeof}
\bicsintabular{گرر}{iff}
\bicsintabular{گرنادرست}{iffalse}
\bicsintabular{گرپروندهموجود}{IfFileExists}
\bicsintabular{گرکادرا}{ifhbox}
\bicsintabular{گرحالتا}{ifhmode}
\bicsintabular{گردرونی}{ifinner}
\bicsintabular{گرحالتریاضی}{ifmmode}
\bicsintabular{گرعدد}{ifnum}
\bicsintabular{گرفرد}{ifodd}
\bicsintabular{گرآنگاهدیگر}{ifthenelse}
\bicsintabular{گردرست}{iftrue}
\bicsintabular{گرکادرو}{ifvbox}
\bicsintabular{گرحالتو}{ifvmode}
\bicsintabular{گرتهی}{ifvoid}
\bicsintabular{گرتام}{ifx}
\bicsintabular{فاصلهخالیراندیدهبگیر}{ignorespaces}
\bicsintabular{فوری}{immediate}
\bicsintabular{شامل}{include}
\bicsintabular{درجتصویر}{includegraphics}
\bicsintabular{مشمولین}{includeonly}
\bicsintabular{تورفتگی}{indent}
\bicsintabular{درنمایه}{index}
\bicsintabular{استعلام}{indexentry}
\bicsintabular{عنواننمایه}{indexname}
\bicsintabular{فاصلهرهنما}{indexspace}
\bicsintabular{ورودی}{input}
\bicsintabular{ورودپروندهگرموجود}{InputIfFileExists}
\bicsintabular{شمارهسطرورودی}{inputlineno}
\bicsintabular{درج}{insert}
\bicsintabular{جریمهدرج}{insertpenalties}
\bicsintabular{جریمهبینسطرهایزیرنویس}{interfootnotelinepenalty}
\bicsintabular{جریمهبینسطرهاینمایش}{interdisplaylinepenalty}
\bicsintabular{جریمهبینسطرها}{interlinepenalty}
\bicsintabular{متنداخلی}{intertext}
\bicsintabular{فاصلهشناوردرمتن}{intertextsep}
\bicsintabular{مخفی}{invisible}
\bicsintabular{پیشفرضای}{itdefault}
\bicsintabular{شکلایتالیک}{itshape}
\bicsintabular{فقره}{item}
\bicsintabular{تورفتگیفقره}{itemindent}
\bicsintabular{فاصلهفقره}{itemsep}
\bicsintabular{تکرارکن}{iterate}
\bicsintabular{شکلای}{itshape}
\bicsintabular{نامکار}{jobname}
\bicsintabular{قلپ}{jot}
\bicsintabular{دوری}{kern}
\bicsintabular{الگو}{kill}
\bicsintabular{برچسب}{label}
\bicsintabular{برچسبشمارشیک}{labelenumi}
\bicsintabular{برچسبشمارشدو}{labelenumii}
\bicsintabular{برچسبشمارشسه}{labelenumiii}
\bicsintabular{برچسبشمارشچهار}{labelenumiv}
\bicsintabular{برچسبفقرهیک}{labelitemi}
\bicsintabular{برچسبفقرهدو}{labelitemii}
\bicsintabular{برچسبفقرهسه}{labelitemiii}
\bicsintabular{برچسبفقرهچهار}{labelitemiv}
\bicsintabular{فاصلهازبرچسب}{labelsep}
\bicsintabular{پهنایبرچسب}{labelwidth}
\bicsintabular{زبان}{language}
\bicsintabular{درشت}{large}
\bicsintabular{درشتتر}{Large}
\bicsintabular{درشتدرشت}{LARGE}
\bicsintabular{آخرینکادر}{lastbox}
\bicsintabular{آخریندوری}{lastkern}
\bicsintabular{آخرینجریمه}{lastpenalty}
\bicsintabular{آخرینفاصله}{lastskip}
\bicsintabular{لاتک}{LaTeX}
\bicsintabular{لاتکای}{LaTeXe}
\bicsintabular{کدکوچک}{lccode}
\bicsintabular{نقاطخ}{ldots}
\bicsintabular{نشانگر}{leaders}
\bicsintabular{ترکو}{leavevmode}
\bicsintabular{چپ}{left}
\bicsintabular{حاشیهچپ}{leftmargin}
\bicsintabular{حاشیهچپیک}{leftmargini}
\bicsintabular{حاشیهچپدو}{leftmarginii}
\bicsintabular{حاشیهچپسه}{leftmarginiii}
\bicsintabular{حاشیهچپچهار}{leftmarginiv}
\bicsintabular{حاشیهچپپنج}{leftmarginv}
\bicsintabular{حاشیهچپشش}{leftmarginvi}
\bicsintabular{علامتچپ}{leftmark}
\bicsintabular{کادرتاچپ}{leftpageskip}
\bicsintabular{فاصلهابتدایسطر}{leftskip}
\bicsintabular{بگذار}{let}
\bicsintabular{سطر}{line}
\bicsintabular{سطرشکن}{linebreak}
\bicsintabular{جریمهسطر}{linepenalty}
\bicsintabular{فاصلهسطرها}{lineskip}
\bicsintabular{حدفاصلهسطر}{lineskiplimit}
\bicsintabular{کششفاصلهسطر}{linespread}
\bicsintabular{ضخامتخط}{linethickness}
\bicsintabular{پهنایسطر}{linewidth}
\bicsintabular{عنوانفهرستاشکال}{listfigurename}
\bicsintabular{لیستپروندهها}{listfiles}
\bicsintabular{فهرستاشکال}{listoffigures}
\bicsintabular{فهرستجداول}{listoftables}
\bicsintabular{تورفتگیبندلیست}{listparindent}
\bicsintabular{عنوانفهرستجداول}{listtablename}
\bicsintabular{بارکنطبقه}{LoadClass}
\bicsintabular{بارکنطبقهباگزینه}{LoadClassWithOptions}
\bicsintabular{مکان}{location}
\bicsintabular{بلند}{long}
\bicsintabular{حلقه}{loop}
\bicsintabular{گسیختگی}{looseness}
\bicsintabular{انتقالبپایین}{lower}
\bicsintabular{@دیگر}{@makeother}
\bicsintabular{@زار}{@m}
\bicsintabular{ده@زار}{@M}
\bicsintabular{ده@زاریک}{@Mi}
\bicsintabular{ده@زاردو}{@Mii}
\bicsintabular{ده@زارسه}{@Miii}
\bicsintabular{ده@زارچهار}{@Miv}
\bicsintabular{بیس@زار}{@MM}
\bicsintabular{من@ا}{m@ne}
\bicsintabular{بزرگنمایی}{mag}
\bicsintabular{گام}{magstep}
\bicsintabular{نیمگام}{magstephalf}
\bicsintabular{مطلباصلی}{mainmatter}
\bicsintabular{اتحرف}{makeatletter}
\bicsintabular{اتدیگر}{makeatother}
\bicsintabular{کادربیخط}{makebox}
\bicsintabular{ساختفرهنگ}{makeglossary}
\bicsintabular{تهیهنمایه}{makeindex}
\bicsintabular{ساختبرچسب}{makelabel}
\bicsintabular{ساختبرچسبها}{makelabels}
\bicsintabular{ساختحروفکوچک}{MakeLowercase}
\bicsintabular{عنوانساز}{maketitle}
\bicsintabular{ساختحروفبزرگ}{MakeUppercase}
\bicsintabular{درحاشیه}{marginpar}
\bicsintabular{فاصلهدوحاشیه}{marginparpush}
\bicsintabular{فاصلهتاحاشیه}{marginparsep}
\bicsintabular{پهنایحاشیه}{marginparwidth}
\bicsintabular{علامت}{mark}
\bicsintabular{علامتدردوطرف}{markboth}
\bicsintabular{علامتدرراست}{markright}
\bicsintabular{اعرابریاضی}{mathaccent}
\bicsintabular{نویسهریاضی}{mathchar}
\bicsintabular{تعریفنویسهریاضی}{mathchardef}
\bicsintabular{کدریاضی}{mathcode}
\bicsintabular{ریاضیرومن}{mathrm}
\bicsintabular{حداکثرتکرار}{maxdeadcycles}
\bicsintabular{حداکثرعمقصفحه}{maxdepth}
\bicsintabular{بعدبیشین}{maxdimen}
\bicsintabular{کادربی}{mbox}
\bicsintabular{شمایلنازک}{mdseries}
\bicsintabular{معنا}{meaning}
\bicsintabular{نازک}{mediumseries}
\bicsintabular{فاصلهمتوسطریاضی}{medmuskip}
\bicsintabular{پرشمتوسط}{medskip}
\bicsintabular{مقدارپرشمتوسط}{medskipamount}
\bicsintabular{فضایمتوسط}{medspace}
\bicsintabular{پیام}{message}
\bicsintabular{پیامشکن}{MessageBreak}
\bicsintabular{حداقلفاصلهردیف}{minrowclearance}
\bicsintabular{دوریریاضی}{mkern}
\bicsintabular{ماه}{month}
\bicsintabular{انتقالبچپ}{moveleft}
\bicsintabular{انتقالبراست}{moveright}
\bicsintabular{فاصلهریاضی}{mskip}
\bicsintabular{ری@ضی}{m@th}
\bicsintabular{چندستونی}{multicolumn}
\bicsintabular{ضرب}{multiply}
\bicsintabular{چندادغام}{multispan}
\bicsintabular{میوفاصله}{muskip}
\bicsintabular{تعریفمیوفاصله}{muskipdef}
\bicsintabular{@ترنام}{@namedef}
\bicsintabular{@کاربردنام}{@nameuse}
\bicsintabular{یک@}{@ne}
\bicsintabular{نام}{name}
\bicsintabular{طبیعی}{natural}
\bicsintabular{باریک}{nearrow}
\bicsintabular{باریکتر}{nearrower}
\bicsintabular{شکلبندیموردنیاز}{NeedsTeXFormat}
\bicsintabular{منفی}{neg}
\bicsintabular{فضایمتوسطمنفی}{negmedspace}
\bicsintabular{فضایضخیممنفی}{negthickspace}
\bicsintabular{دوریکوچکمنفی}{negthinspace}
\bicsintabular{بولینو}{newboolean}
\bicsintabular{کادرجدید}{newbox}
\bicsintabular{فرماننو}{newcommand}
\bicsintabular{شمارجدید}{newcount}
\bicsintabular{شمارندهجدید}{newcounter}
\bicsintabular{بعدجدید}{newdimen}
\bicsintabular{محیطنو}{newenvironment}
\bicsintabular{خانوادهجدید}{newfam}
\bicsintabular{قلمنو}{newfont}
\bicsintabular{کمکجدید}{newhelp}
\bicsintabular{گرجدید}{newif}
\bicsintabular{درججدید}{newinsert}
\bicsintabular{برچسبجدید}{newlabel}
\bicsintabular{تعریفبعدجدید}{newlength}
\bicsintabular{سطرجدید}{newline}
\bicsintabular{نویسهسطرجدید}{newlinechar}
\bicsintabular{میوفاصلهجدید}{newmuskip}
\bicsintabular{صفحهجدید}{newpage}
\bicsintabular{بخوانجدید}{newread}
\bicsintabular{تعریفکادرجدید}{newsavebox}
\bicsintabular{فاصلهجدید}{newskip}
\bicsintabular{قضیهجدید}{newtheorem}
\bicsintabular{جزءجدید}{newtoks}
\bicsintabular{بنویسجدید}{newwrite}
\bicsintabular{بیردیف}{noalign}
\bicsintabular{نشکن}{nobreak}
\bicsintabular{فاصلهنشکستنی}{nobreakspace}
\bicsintabular{بدونسند}{nocite}
\bicsintabular{نگستر}{noexpand}
\bicsintabular{بدونپرونده}{nofiles}
\bicsintabular{بدونتورفتگی}{noindent}
\bicsintabular{بیفاصلهسطر}{nointerlineskip}
\bicsintabular{بدونحد}{nolimits}
\bicsintabular{سطرنشکن}{nolinebreak}
\bicsintabular{پردازشبدونتوقف}{nonstopmode}
\bicsintabular{فواصلمتعارفلاتین}{nonfrenchspacing}
\bicsintabular{بدونشماره}{nonumber}
\bicsintabular{صفحهنشکن}{nopagebreak}
\bicsintabular{کرسیهایمتعارف}{normalbaselines}
\bicsintabular{فاصلهکرسیمتعارف}{normalbaselineskip}
\bicsintabular{رنگعادی}{normalcolor}
\bicsintabular{قلمعادی}{normalfont}
\bicsintabular{فاصلهسطرمتعارف}{normallineskip}
\bicsintabular{حدفاصلهسطرمتعارف}{normallineskiplimit}
\bicsintabular{درحاشیهعادی}{normalmarginpar}
\bicsintabular{اندازهعادی}{normalsize}
\bicsintabular{بدوناتیکت}{notag}
\bicsintabular{نول}{null}
\bicsintabular{قلمتهی}{nullfont}
\bicsintabular{عدد}{number}
\bicsintabular{سطرعددی}{numberline}
\bicsintabular{شمارهمطابق}{numberwithin}
\bicsintabular{پایینصفحهزوج}{@evenfoot}
\bicsintabular{بالایصفحهزوج}{@evenhead}
\bicsintabular{پایینصفحهفرد}{@oddfoot}
\bicsintabular{بالایصفحهفرد}{@oddhead}
\bicsintabular{شمارهبیروندرست}{@outeqntrue}
\bicsintabular{شمارهبیروننادرست}{@outeqnfalse}
\bicsintabular{سطربهسطر}{obeylines}
\bicsintabular{فضافعال}{obeyspaces}
\bicsintabular{حاشیهفرد}{oddsidemargin}
\bicsintabular{سطوربیفاصله}{offinterlineskip}
\bicsintabular{حذف}{omit}
\bicsintabular{@تنهادرپیشدرآمد}{@onlypreamble}
\bicsintabular{یکستون}{onecolumn}
\bicsintabular{تنهایادداشتها}{onlynotes}
\bicsintabular{تنهااسلایدها}{onlyslides}
\bicsintabular{بازکنورودی}{openin}
\bicsintabular{بازکنخروجی}{openout}
\bicsintabular{گزینهمصرفنشده}{OptionNotUsed}
\bicsintabular{یا}{or}
\bicsintabular{برونی}{outer}
\bicsintabular{صفحهبندی}{output}
\bicsintabular{جریمهصفحهبندی}{outputpenalty}
\bicsintabular{علامتسرریز}{overfullrule}
\bicsintabular{@فرمانهایپیشدرآمد}{@preamblecmds}
\bicsintabular{@پو}{p@}
\bicsintabular{خطایسبک}{PackageError}
\bicsintabular{اطلاعسبک}{PackageInfo}
\bicsintabular{هشدارسبک}{PackageWarning}
\bicsintabular{هشدارسبکبیسطر}{PackageWarningNoLine}
\bicsintabular{صفحهشکن}{pagebreak}
\bicsintabular{رنگصفحه}{pagecolor}
\bicsintabular{عمقصفحه}{pagedepth}
\bicsintabular{کششپرررصفحه}{pagefilllstretch}
\bicsintabular{کششپررصفحه}{pagefillstretch}
\bicsintabular{کششپرصفحه}{pagefilstretch}
\bicsintabular{غایتصفحه}{pagegoal}
\bicsintabular{نامصفحه}{pagename}
\bicsintabular{شمارهگذاریصفحه}{pagenumbering}
\bicsintabular{رجوعصفحه}{pageref}
\bicsintabular{ضخامتخطصفحه}{pagerulewidth}
\bicsintabular{فشردگیصفحه}{pageshrink}
\bicsintabular{کششصفحه}{pagestretch}
\bicsintabular{سبکصفحه}{pagestyle}
\bicsintabular{جمعصفحه}{pagetotal}
\bicsintabular{بلندایکاغذ}{paperheight}
\bicsintabular{پهنایکاغذ}{paperwidth}
\bicsintabular{بند}{par}
\bicsintabular{پاراگراف}{paragraph}
\bicsintabular{موازی}{parallel}
\bicsintabular{کادرپار}{parbox}
\bicsintabular{فاصلهتهبند}{parfillskip}
\bicsintabular{تورفتگیسربند}{parindent}
\bicsintabular{فاصلهبندلیست}{parsep}
\bicsintabular{شکلبند}{parshape}
\bicsintabular{فاصلهبند}{parskip}
\bicsintabular{بخش}{part}
\bicsintabular{عنوانبخش}{partname}
\bicsintabular{فاصلهبالایلیستبند}{partopsep}
\bicsintabular{ارسالگزینهبهکلاس}{PassOptionToClass}
\bicsintabular{ارسالگزینهبهپکیج}{PassOptionToPackage}
\bicsintabular{مسیر}{path}
\bicsintabular{الگوها}{patterns}
\bicsintabular{مکث}{pausing}
\bicsintabular{جریمه}{penalty}
\bicsintabular{غیب}{phantom}
\bicsintabular{الگویقبلی}{poptabs}
\bicsintabular{جریمهپسنمایش}{postdisplaypenalty}
\bicsintabular{جهتپیشنمایش}{predisplaydirection}
\bicsintabular{جریمهپیشنمایش}{predisplaypenalty}
\bicsintabular{اندازهپیشنمایش}{predisplaysize}
\bicsintabular{پیشحدبدنمایی}{pretolerance}
\bicsintabular{عمققبلی}{prevdepth}
\bicsintabular{بندقبلی}{prevgraf}
\bicsintabular{نمایهدراینجا}{printindex}
\bicsintabular{پردازشگزینهها}{ProcessOptions}
\bicsintabular{تامین}{protect}
\bicsintabular{تهیهفرمان}{providecommand}
\bicsintabular{آمادهسازیطبقه}{ProvidesClass}
\bicsintabular{آمادهسازیپرونده}{ProvidesFile}
\bicsintabular{آمادهسازیسبک}{ProvidesPackage}
\bicsintabular{ثبتالگو}{pushtabs}
\bicsintabular{کواد}{quad}
\bicsintabular{کوکواد}{qquad}
\bicsintabular{@بازآییخروجصفحه}{@outputpagerestore}
\bicsintabular{رادیکال}{radical}
\bicsintabular{پایینبیتنظیم}{raggedbottom}
\bicsintabular{تنظیمازراست}{raggedleft}
\bicsintabular{تنظیمازچپ}{raggedright}
\bicsintabular{انتقالببالا}{raise}
\bicsintabular{بالابر}{raisebox}
\bicsintabular{ترفیعاتیکت}{raisetag}
\bicsintabular{زاویهر}{rangle}
\bicsintabular{سقفر}{rceil}
\bicsintabular{بخوان}{read}
\bicsintabular{رجوع}{ref}
\bicsintabular{کادرقرینه}{reflectbox}
\bicsintabular{عنوانمراجع}{refname}
\bicsintabular{گامشمارندهمرجع}{refstepcounter}
\bicsintabular{راحت}{relax}
\bicsintabular{رفعآخرینفاصله}{removelastskip}
\bicsintabular{فرمانازنو}{renewcommand}
\bicsintabular{محیطازنو}{renewenvironment}
\bicsintabular{ازنو}{repeat}
\bicsintabular{سبکموردنیاز}{RequirePackage}
\bicsintabular{سبکموردنیازباگزینه}{RequirePackageWithOptions}
\bicsintabular{کادرکشیده}{resizebox}
\bicsintabular{درحاشیهمعکوس}{reversemarginpar}
\bicsintabular{کفر}{rfloor}
\bicsintabular{راست}{right}
\bicsintabular{حاشیهراست}{rightmargin}
\bicsintabular{علامتراست}{rightmark}
\bicsintabular{کادرتاراست}{rightpageskip}
\bicsintabular{فاصلهانتهایسطر}{rightskip}
\bicsintabular{رومنعادی}{rmdefault}
\bicsintabular{فامیلرومن}{rmfamily}
\bicsintabular{رومنبزرگ}{Roman}
\bicsintabular{رومنکوچک}{roman}
\bicsintabular{عددرومی}{romannumeral}
\bicsintabular{کادرچرخان}{rotatebox}
\bicsintabular{رنگردیف}{rowcolor}
\bicsintabular{خط}{rule}
\bicsintabular{@دومیازدو}{@secondoftwo}
\bicsintabular{@فضاها}{@spaces}
\bicsintabular{همینصفحه}{samepage}
\bicsintabular{مقدارکادر}{savebox}
\bicsintabular{مقکادر}{sbox}
\bicsintabular{کادراندازه}{scalebox}
\bicsintabular{پیشفرضتمامبزرگ}{scdefault}
\bicsintabular{شکلتمامبزرگ}{scshape}
\bicsintabular{قلمتوان}{scriptfont}
\bicsintabular{قلمتوانتوان}{scriptscriptfont}
\bicsintabular{سبکتهنوشتتهنوشت}{scriptscriptstyle}
\bicsintabular{اندازهپانویس}{scriptsize}
\bicsintabular{سبکتهنوشت}{scripstyle}
\bicsintabular{پردازشگذری}{scrollmode}
\bicsintabular{قسمت}{section}
\bicsintabular{تعریفقسمت}{secdef}
\bicsintabular{ببینید}{see}
\bicsintabular{نیزببینید}{seealso}
\bicsintabular{نامببینید}{seename}
\bicsintabular{قلمبردار}{selectfont}
\bicsintabular{تنظیمبولی}{setboolean}
\bicsintabular{درکادر}{setbox}
\bicsintabular{مقدارشمارنده}{setcounter}
\bicsintabular{مقدارکلیدها}{setkeys}
\bicsintabular{مقداربعد}{setlength}
\bicsintabular{تنظیممنها}{setminus}
\bicsintabular{تعریفقلمعلائم}{SetSymbolFont}
\bicsintabular{تنظیمبهعمق}{settodepth}
\bicsintabular{تنظیمبهارتفاع}{settoheight}
\bicsintabular{مقداربعدبهاندازه}{settowidth}
\bicsintabular{کدضریبفاصله}{sfcode}
\bicsintabular{پیشفرضسف}{sfdefault}
\bicsintabular{فامیلسنسریف}{sffamily}
\bicsintabular{کادرسایهدار}{shadowbox}
\bicsintabular{تیز}{sharp}
\bicsintabular{بفرست}{shipout}
\bicsintabular{پشتهکوتاه}{shortstack}
\bicsintabular{نمایشبده}{show}
\bicsintabular{نمایشبدهکادر}{showbox}
\bicsintabular{میزاننمایشکادر}{showboxbreadth}
\bicsintabular{عمقنمایشکادر}{showboxdepth}
\bicsintabular{نمایشبدهلیستها}{showlists}
\bicsintabular{نمایشبدهمحتوای}{showthe}
\bicsintabular{حالتسادهقلم}{simplefontmode}
\bicsintabular{شانزد@}{sixt@@n}
\bicsintabular{نویسهاریب}{skewchar}
\bicsintabular{فاصله}{skip}
\bicsintabular{فاصل@}{skip@}
\bicsintabular{تعریففاصله}{skipdef}
\bicsintabular{خوابیده}{sl}
\bicsintabular{پیشفرضخو}{sldefault}
\bicsintabular{شکلخوابیده}{slshape}
\bicsintabular{راحتچین}{sloppy}
\bicsintabular{شمایلخو}{slshape}
\bicsintabular{کوچک}{small}
\bicsintabular{پرشکوتاه}{smallskip}
\bicsintabular{مقدارپرشکوتاه}{smallskipamount}
\bicsintabular{کوب}{smash}
\bicsintabular{لبخند}{smile}
\bicsintabular{کدمکانهمانطور}{snglfntlocatecode}
\bicsintabular{فضا}{space}
\bicsintabular{ضریبفاصله}{spacefactor}
\bicsintabular{فاصلهکلمات}{spaceskip}
\bicsintabular{پیک}{spadesuit}
\bicsintabular{ادغام}{span}
\bicsintabular{ویژه}{special}
\bicsintabular{حداکثرعمقستون}{splitmaxdepth}
\bicsintabular{فاصلهبالایستون}{splittopskip}
\bicsintabular{ستاره}{star}
\bicsintabular{گامشمارنده}{stepcounter}
\bicsintabular{کشی}{stretch}
\bicsintabular{رشته}{string}
\bicsintabular{شمع}{strut}
\bicsintabular{کادرشمع}{strutbox}
\bicsintabular{زیربند}{subitem}
\bicsintabular{زیرپاراگراف}{subparagraph}
\bicsintabular{زیرقسمت}{subsection}
\bicsintabular{زیرپشته}{substack}
\bicsintabular{زیرزیربند}{subsubitem}
\bicsintabular{زیرزیرقسمت}{subsubsection}
\bicsintabular{زیرمجموعه}{subset}
\bicsintabular{زیرمجموعهمس}{subseteq}
\bicsintabular{منتهایصفحه}{supereject}
\bicsintabular{حذفمکانشناور}{suppressfloats}
\bicsintabular{@موقتآ}{@tempa}
\bicsintabular{@موقتب}{@tempb}
\bicsintabular{@موقتپ}{@tempc}
\bicsintabular{@موقتت}{@tempd}
\bicsintabular{@موقتث}{@tempe}
\bicsintabular{@کادرقتآ}{@tempboxa}
\bicsintabular{@شماقتآ}{@tempcnta}
\bicsintabular{@شماقتب}{@tempcntb}
\bicsintabular{@بعدقتآ}{@tempdima}
\bicsintabular{@بعدقتب}{@tempdimb}
\bicsintabular{@بعدقتپ}{@tempdimc}
\bicsintabular{@فاقتآ}{@tempskipa}
\bicsintabular{@فاقتب}{@tempskipb}
\bicsintabular{@سواقتآنادرست}{@tempswafalse}
\bicsintabular{@سواقتآدرست}{@tempswatrue}
\bicsintabular{@جزقتآ}{@temptokena}
\bicsintabular{انگزیرنویس}{@thefnmark}
\bicsintabular{@سومیازسه}{@thirdofthree}
\bicsintabular{فاصلهجاگذاری}{tabbingsep}
\bicsintabular{فاصلهبینستونها}{tabcolsep}
\bicsintabular{فهرستمطالب}{tableofcontents}
\bicsintabular{عنوانجدول}{tablename}
\bicsintabular{فاصلهستونها}{tabskip}
\bicsintabular{تهسطرجدول}{tabularnewline}
\bicsintabular{اتیکت}{tag}
\bicsintabular{تلفن}{telephone}
\bicsintabular{تک}{TeX}
\bicsintabular{متن}{text}
\bicsintabular{گلولهمتنی}{textbullet}
\bicsintabular{قلممتن}{textfont}
\bicsintabular{امدشمتنی}{textemdash}
\bicsintabular{اندشمتنی}{textendash}
\bicsintabular{تعجبوارونهمتنی}{textexclamdown}
\bicsintabular{نقطهوسطمتنی}{textperiodcentered}
\bicsintabular{سوالوارونهمتنی}{textquestiondown}
\bicsintabular{نقلچپمتنیدولا}{textquotedblleft}
\bicsintabular{نقلراستمتنیدولا}{textquotedblright}
\bicsintabular{نقلمتنیچپ}{textquoteleft}
\bicsintabular{نقلمتنیراست}{textquoteright}
\bicsintabular{فضاینمایانمتنی}{textvisiblespace}
\bicsintabular{شکافتپشتمتنی}{textbackslash}
\bicsintabular{میلهمتنی}{textbar}
\bicsintabular{بزرگترمتنی}{textgreater}
\bicsintabular{کمترمتنی}{textless}
\bicsintabular{متنسیاه}{textbf}
\bicsintabular{مدورمتنی}{textcircled}
\bicsintabular{رنگمتن}{textcolor}
\bicsintabular{نشانکلمهمرکبمتن}{textcompwordmark}
\bicsintabular{فاصلهمتنوشناور}{textfloatsep}
\bicsintabular{نسبتمتن}{textfraction}
\bicsintabular{بلندایمتن}{textheight}
\bicsintabular{متنتورفته}{textindent}
\bicsintabular{متنایتالیک}{textit}
\bicsintabular{متننازک}{textmd}
\bicsintabular{متننرمال}{textnormal}
\bicsintabular{ثبتیمتنی}{textregistered}
\bicsintabular{متنرومن}{textrm}
\bicsintabular{متنتمامبزرگ}{textsc}
\bicsintabular{متنسنسریف}{textsf}
\bicsintabular{متنخوابیده}{textsl}
\bicsintabular{سبکمتنی}{textstyle}
\bicsintabular{بالانویسمتنی}{textsuperscript}
\bicsintabular{علامتتجاریمتنی}{texttrademark}
\bicsintabular{متنتایپ}{texttt}
\bicsintabular{متنایستاده}{textup}
\bicsintabular{پهنایمتن}{textwidth}
\bicsintabular{زیرنویسعنوان}{thanks}
\bicsintabular{محتوای}{the}
\bicsintabular{اینزیرنویس}{thempfn}
\bicsintabular{خطهاضخیم}{thicklines}
\bicsintabular{فاصلهزیادریاضی}{thickmuskip}
\bicsintabular{فاصلهکمریاضی}{thinmuskip}
\bicsintabular{فضاضخیم}{thickspace}
\bicsintabular{خطهانازک}{thinlines}
\bicsintabular{دوریکوچک}{thinspace}
\bicsintabular{اینصفحهتجملی}{thisfancypage}
\bicsintabular{سبکاینصفحه}{thispagestyle}
\bicsintabular{سه@}{thr@@}
\bicsintabular{مد}{tilde}
\bicsintabular{ظریف}{tiny}
\bicsintabular{زمان}{time}
\bicsintabular{ضربدر}{times}
\bicsintabular{عنوان}{title}
\bicsintabular{به}{to}
\bicsintabular{امروز}{today}
\bicsintabular{جزء}{toks}
\bicsintabular{تعریفجزء}{toksdef}
\bicsintabular{حدبدنمایی}{tolerance}
\bicsintabular{بالا}{top}
\bicsintabular{خطبالایشناور}{topfigrule}
\bicsintabular{نسبتبالا}{topfraction}
\bicsintabular{حاشیهبالا}{topmargin}
\bicsintabular{علامتبالا}{topmark}
\bicsintabular{کادرتابالا}{toppageskip}
\bicsintabular{فاصلهبالایلیست}{topsep}
\bicsintabular{فاصلهبالا}{topskip}
\bicsintabular{بلندایکل}{totalheight}
\bicsintabular{ردگیریکل}{tracingall}
\bicsintabular{ردگیریفرامین}{tracingcommands}
\bicsintabular{ردگیریحروف}{tracinglostchars}
\bicsintabular{ردگیریماکروها}{tracingmacros}
\bicsintabular{ردگیرینمایشی}{tracingonline}
\bicsintabular{ردگیریصفحهبندی}{tracingoutput}
\bicsintabular{ردگیریصفحات}{tracingpages}
\bicsintabular{ردگیریبندها}{tracingparagraphs}
\bicsintabular{ردگیریبازگردانی}{tracingrestores}
\bicsintabular{ردگیریآمارها}{tracingstats}
\bicsintabular{مثلث}{triangle}
\bicsintabular{پیشفرضتایپ}{ttdefault}
\bicsintabular{فامیلتایپ}{ttfamily}
\bicsintabular{دو@}{tw@}
\bicsintabular{دوستون}{twocolumn}
\bicsintabular{درنویس}{typein}
\bicsintabular{برنویس}{typeout}
\bicsintabular{کدبزرگ}{uccode}
\bicsintabular{تیرهبندیبزرگ}{uchyph}
\bicsintabular{تعریفنشده}{undefined}
\bicsintabular{زیرخط}{underline}
\bicsintabular{بیکادرا}{unhbox}
\bicsintabular{بیکپیا}{unhcopy}
\bicsintabular{واحدطول}{unitlength}
\bicsintabular{برگشتدوری}{unkern}
\bicsintabular{برگشتجریمه}{unpenalty}
\bicsintabular{برگشتفاصله}{unskip}
\bicsintabular{بیکادرو}{unvbox}
\bicsintabular{بیکپیو}{unvcopy}
\bicsintabular{پیشفرضایستاده}{updefault}
\bicsintabular{شکلایستاده}{upshape}
\bicsintabular{ازکادر}{usebox}
\bicsintabular{باشمارشگر}{usecounter}
\bicsintabular{گزینشقلم}{usefont}
\bicsintabular{سبکلازم}{usepackage}
\bicsintabular{@فضاهایفعال}{@vobeyspaces}
\bicsintabular{@تهی}{@void}
\bicsintabular{تنظیمو}{vadjust}
\bicsintabular{ردیفو}{valign}
\bicsintabular{محتوایشمارنده}{value}
\bicsintabular{بدنماییو}{vbadness}
\bicsintabular{کادرو}{vbox}
\bicsintabular{کادروسط}{vcenter}
\bicsintabular{همانطور}{verb}
\bicsintabular{پرو}{vfil}
\bicsintabular{پررو}{vfill}
\bicsintabular{رفعپرو}{vfilneg}
\bicsintabular{پرزعمودی}{vfuzz}
\bicsintabular{نمایان}{visible}
\bicsintabular{خطعمود}{vline}
\bicsintabular{حاشیهو}{voffset}
\bicsintabular{ک@درتهی}{voidb@x}
\bicsintabular{ارجاعصفحهع}{vpageref}
\bicsintabular{فاصلهوگرد}{vrboxsep}
\bicsintabular{ارجاعع}{vref}
\bicsintabular{خطو}{vrule}
\bicsintabular{طولصفحه}{vsize}
\bicsintabular{فاصلهو}{vskip}
\bicsintabular{فضایو}{vspace}
\bicsintabular{شکستو}{vsplit}
\bicsintabular{هردوو}{vss}
\bicsintabular{کادرگود}{vtop}
\bicsintabular{عرض}{wd}
\bicsintabular{مادامبکن}{whiledo}
\bicsintabular{کلاهپهن}{widehat}
\bicsintabular{مدپهن}{widetilde}
\bicsintabular{جریمهتهبند}{widowpenalty}
\bicsintabular{پهنا}{width}
\bicsintabular{درکارنامه}{wlog}
\bicsintabular{بنویس}{write}
\bicsintabular{@فضایلاتین}{@xobeysp}
\bicsintabular{سی@دو}{@xxxii}
\bicsintabular{ترگع}{xdef}
\bicsintabular{نشانگرگسترشی}{xleaders}
\bicsintabular{فاصلهاضافیکلمات}{xspaceskip}
\bicsintabular{سال}{year}
\bicsintabular{@فر}{z@}
\bicsintabular{@فرفاصله}{z@skip}
\end{supertabular}
\end{center}
\bigskip
\begin{center}
\tablecaption{The Equivalent \XePersian\ Commands\label{xcs}}
\tablehead
{\bfseries Command in \XePersian &\bfseries Equivalent Persian Command\\ \hline}
\tabletail
{\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
\tablelasttail{\hline}
\begin{supertabular}{lr}
\bicsintabular{خطزیرنویسخودکار}{autofootnoterule}
\bicsintabular{اعدادفرمولهاخودکار}{AutoMathsDigits}
\bicsintabular{اعدادفرمولهالاتین}{DefaultMathsDigits}
\bicsintabular{تعریفقلملاتین}{deflatinfont}
\bicsintabular{تعریفقلمپارسی}{defpersianfont}
\bicsintabular{کادراچپ}{hboxL}
\bicsintabular{کادراست}{hboxR}
\bicsintabular{معادل@کلید}{keyval@eq@alias@key}
\bicsintabular{مرجعلاتین}{Latincite}
\bicsintabular{قلملاتین}{latinfont}
\bicsintabular{امروزلاتین}{latintoday}
\bicsintabular{خطزیرنویسچپ}{leftfootnoterule}
\bicsintabular{متنلاتین}{lr}
\bicsintabular{چپبراست}{LRE}
\bicsintabular{دوستونیچپ}{LTRdblcol}
\bicsintabular{پانویس}{LTRfootnote}
\bicsintabular{متنپانویس}{LTRfootnotetext}
\bicsintabular{پانویسعنوان}{LTRthanks}
\bicsintabular{روزپارسی}{persianday}
\bicsintabular{قلمپارسی}{persianfont}
\bicsintabular{اعدادفرمولهاپارسی}{PersianMathsDigits}
\bicsintabular{ماهپارسی}{persianmonth}
\bicsintabular{سالپارسی}{persianyear}
\bicsintabular{علامتچپنقلقولپارسی}{plq}
\bicsintabular{علامتراستنقلقولپارسی}{prq}
\bicsintabular{خطزیرنویسراست}{rightfootnoterule}
\bicsintabular{متنپارسی}{rl}
\bicsintabular{راستبچپ}{RLE}
\bicsintabular{دوستونیراست}{RTLdblcol}
\bicsintabular{پانوشت}{RTLfootnote}
\bicsintabular{متنپانوشت}{RTLfootnotetext}
\bicsintabular{پانوشتعنوان}{RTLthanks}
\bicsintabular{@علامتبین}{@SepMark}
\bicsintabular{علامتبین}{SepMark}
\bicsintabular{بگذارمرجوعاتعادی}{setdefaultbibitems}
\bicsintabular{بگذاردرحاشیهعادی}{setdefaultmarginpar}
\bicsintabular{گزینشقلماعدادفرمولها}{setdigitfont}
\bicsintabular{بگذارزیرنویسچپ}{setfootnoteLR}
\bicsintabular{بگذارزیرنویسراست}{setfootnoteRL}
\bicsintabular{گزینشقلملاتینمتن}{setlatintextfont}
\bicsintabular{بگذارمتنچپ}{setLTR}
\bicsintabular{بگذارمرجوعاتچپ}{setLTRbibitems}
\bicsintabular{بگذاردرحاشیهچپ}{setLTRmarginpar}
\bicsintabular{بگذارمتنراست}{setRTL}
\bicsintabular{بگذارمرجوعاتراست}{setRTLbibitems}
\bicsintabular{بگذاردرحاشیهراست}{setRTLmarginpar}
\bicsintabular{گزینشقلممتن}{settextfont}
\bicsintabular{خطزیرنویسپهنایمتن}{textwidthfootnoterule}
\bicsintabular{فهرستمطالبدوستونی}{twocolumnstableofcontents}
\bicsintabular{نگذارزیرنویسراست}{unsetfootnoteRL}
\bicsintabular{نگذارمتنچپ}{unsetLTR}
\bicsintabular{نگذارمتنراست}{unsetRTL}
\bicsintabular{کادروازچپ}{vboxL}
\bicsintabular{کادروازراست}{vboxR}
\bicsintabular{زیلاتک}{XeLaTeX}
\bicsintabular{زیپرشین}{XePersian}
\bicsintabular{گونهزیپرشین}{xepersianversion}
\bicsintabular{تاریخگونهزیپرشین}{xepersiandate}
\bicsintabular{زیتک}{XeTeX}
\end{supertabular}
\end{center}
\bigskip
\begin{center}
\tablecaption{The Equivalent \LaTeX\ Environments\label{lenv}}
\tablehead
{\bfseries Environment in \LaTeX\ &\bfseries Equivalent Persian Environment\\ \hline}
\tabletail
{\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
\tablelasttail{\hline}
\begin{supertabular}{lr}
\bienvintabular{چکیده}{abstract}
\bienvintabular{پیوست}{appendix}
\bienvintabular{آرایه}{array}
\bienvintabular{وسطچین}{center}
\bienvintabular{توضیح}{description}
\bienvintabular{ریاضینمایشی}{displaymath}
\bienvintabular{نوشتار}{document}
\bienvintabular{شمارش}{enumerate}
\bienvintabular{شکل}{figure}
\bienvintabular{شکل*}{figure*}
\bienvintabular{محتوایپرونده}{filecontents}
\bienvintabular{محتوایپرونده*}{filecontents*}
\bienvintabular{چپچین}{flushleft}
\bienvintabular{راستچین}{flushright}
\bienvintabular{فقرات}{itemize}
\bienvintabular{نامه}{letter}
\bienvintabular{لیست}{list}
\bienvintabular{جدولدراز}{longtable}
\bienvintabular{کادررچ}{lrbox}
\bienvintabular{ریاضی}{math}
\bienvintabular{ماتریس}{matrix}
\bienvintabular{صفحهکوچک}{minipage}
\bienvintabular{چندستونیها}{multicols}
\bienvintabular{چندخطی}{multline}
\bienvintabular{یادداشت}{note}
\bienvintabular{انباشتن}{overlay}
\bienvintabular{تصویر}{picture}
\bienvintabular{اقتباس}{quotation}
\bienvintabular{نقل}{quote}
\bienvintabular{اسلاید}{slide}
\bienvintabular{پارنامرتب}{sloppypar}
\bienvintabular{شکافتن}{split}
\bienvintabular{زیرآرایه}{subarray}
\bienvintabular{جاگذاری}{tabbing}
\bienvintabular{لوح}{table}
\bienvintabular{لوح*}{table*}
\bienvintabular{جدول}{tabular}
\bienvintabular{جدول*}{tabular*}
\bienvintabular{مراجع}{thebibliography}
\bienvintabular{محتواینمایه}{theindex}
\bienvintabular{صفحهعنوان}{titlepage}
\bienvintabular{لیستبدوی}{trivlist}
\bienvintabular{همانطورکههست}{verbatim}
\bienvintabular{همانطورکههست*}{verbatim*}
\bienvintabular{شعر}{verse}
\end{supertabular}
\end{center}
\bigskip
\begin{center}
\tablecaption{The Equivalent \XePersian\ Environments\label{xenv}}
\tablehead
{\bfseries Environment in \XePersian\ &\bfseries Equivalent Persian Environment\\ \hline}
\tabletail
{\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
\tablelasttail{\hline}
\begin{supertabular}{lr}
\bienvintabular{لاتین}{latin}
\bienvintabular{متنچپ}{LTR}
\bienvintabular{دستهبندیچپ}{LTRitems}
\bienvintabular{پارسی}{persian}
\bienvintabular{متنراست}{RTL}
\bienvintabular{دستهبندیراست}{RTLitems}
\end{supertabular}
\end{center}
\paragraph{Localisation of postion arguments.}
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.
\begin{center}
\tablecaption{The Equivalent \LaTeX{} position arguments\label{table-pos}}
\tablehead
{\bfseries Position argument in \LaTeX &\bfseries Equivalent Persian position argument\\ \hline}
\tabletail
{\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
\tablelasttail{\hline}
\begin{supertabular}{cc}
\texttt{b}&\Penv{ز}\\
\texttt{c}&\Penv{و}\\
\texttt{C}&\Penv{س}\\
\texttt{h}&\Penv{ا}\\
\texttt{H}&\Penv{آ}\\
\texttt{J}&\Penv{ت}\\
\texttt{l}&\Penv{چ}\\
\texttt{L}&\Penv{ف}\\
\texttt{m}&\Penv{م}\\
\texttt{p}&\Penv{پ}\\
\texttt{p}&\Penv{ص}\\
\texttt{r}&\Penv{ر}\\
\texttt{R}&\Penv{ا}\\
\texttt{s}&\Penv{ک}\\
\texttt{t}&\Penv{ب}\\
\end{supertabular}
\end{center}
\begin{itemize}
\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).
\end{itemize}
\subsubsection{Localizations of the keys and key values of \textsf{graphicx} package}
The equivalent Persian keys and key values of \textsf{graphicx} package is shown in \autoref{table:key} and \autoref{table:keyvalue} respectively.
\begin{center}
\tablecaption{Persian Equivalent keys of \textsf{graphicx} package\label{table:key}}
\tablehead
{\bfseries Original Key &\bfseries Equivalent Persian Key\\ \hline}
\tabletail
{\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
\tablelasttail{\hline}
\begin{supertabular}{lr}
\texttt{draft}&\Penv{پیشنویس}\\
\texttt{origin}&\Penv{مبدا}\\
\texttt{clip}&\Penv{بیاضافه}\\
\texttt{keepaspectratio}&\Penv{حفظتناسب}\\
\texttt{natwidth}&\Penv{پهنایطبیعی}\\
\texttt{natheight}&\Penv{بلندایطبیعی}\\
\texttt{bb}&\Penv{مختصات}\\
\texttt{viewport}&\Penv{محدودهنمایش}\\
\texttt{trim}&\Penv{حذفاطراف}\\
\texttt{angle}&\Penv{زاویه}\\
\texttt{width}&\Penv{پهنا}\\
\texttt{height}&\Penv{بلندا}\\
\texttt{totalheight}&\Penv{بلندایکل}\\
\texttt{scale}&\Penv{ضریب}\\
\texttt{type}&\Penv{نوع}\\
\texttt{ext}&\Penv{پسوند}\\
\texttt{read}&\Penv{خواندنی}\\
\texttt{command}&\Penv{فرمان}\\
\texttt{x}&\Penv{طول}\\
\texttt{y}&\Penv{عرض}\\
\texttt{units}&\Penv{واحد}\\
\end{supertabular}
\end{center}
\begin{center}
\tablecaption{Persian Equivalent key values of \textsf{graphicx} package\label{table:keyvalue}}
\tablehead
{\bfseries Original Key value&\bfseries Equivalent Persian Key value\\ \hline}
\tabletail
{\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
\tablelasttail{\hline}
\begin{supertabular}{cc}
\texttt{b}&\Penv{ز}\\
\texttt{B}&\Penv{ک}\\
\texttt{false}&\Penv{نادرست}\\
\texttt{l}&\Penv{چ}\\
\texttt{r}&\Penv{ر}\\
\texttt{t}&\Penv{ب}\\
\texttt{true}&\Penv{درست}\\
\end{supertabular}
\end{center}
\subsubsection{Localizations of font features and font feature options}
The equivalent Persian font features and font feature options is shown in \autoref{table:ff} and \autoref{table:ffo} respectively.
\begin{center}
\tablecaption{Persian Equivalent font features\label{table:ff}}
\tablehead
{\bfseries Original font feature &\bfseries Equivalent Persian font feature\\ \hline}
\tabletail
{\hline \multicolumn{2}{r}{\emph{Continued on next page}}\\}
\tablelasttail{\hline}
\begin{supertabular}{lr}
\biffintabular{ExternalLocation}{مکانخارجی}
\biffintabular{ExternalLocation}{مسیر}
\biffintabular{Renderer}{تحویلدهنده}
\biffintabular{BoldFont}{قلمسیاه}
\biffintabular{Language}{زبان}
\biffintabular{Script}{خط}
\biffintabular{UprightFont}{قلمعمودی}
\biffintabular{ItalicFont}{قلمایتالیک}
\biffintabular{BoldItalicFont}{قلمایتالیکسیاه}
\biffintabular{SlantedFont}{قلمخوابیده}
\biffintabular{BoldSlantedFont}{قلمخوابیدهسیاه}
\biffintabular{SmallCapsFont}{قلمکلاهکوچک}
\biffintabular{UprightFeatures}{ویژگیهایقلمعمودی}
\biffintabular{BoldFeatures}{ویژگیهایقلمسیاه}
\biffintabular{ItalicFeatures}{ویژگیهایقلمایتالیک}
\biffintabular{BoldItalicFeatures}{ویژگیهایقلمایتالیکسیاه}
\biffintabular{SlantedFeatures}{ویژگیهایقلمخوابیده}
\biffintabular{BoldSlantedFeatures}{ویژگیهایقلمخوابیدهسیاه}
\biffintabular{SmallCapsFeatures}{ویژگیهایقلمکلاهکوچک}
\biffintabular{SizeFeatures}{ویژگیهایاندازه}
\biffintabular{Scale}{ضریب}
\biffintabular{WordSpace}{فضایکلمه}
\biffintabular{PunctuationSpace}{فضاینقطهگذاری}
\biffintabular{FontAdjustment}{تنظیمقلم}
\biffintabular{LetterSpace}{فضایحرف}
\biffintabular{HyphenChar}{نویسهتیره}
\biffintabular{Color}{رنگ}
\biffintabular{Opacity}{کدری}
\biffintabular{Mapping}{نگاشت}
\biffintabular{Weight}{سنگینی}
\biffintabular{Width}{پهنا}
\biffintabular{OpticalSize}{اندازهچشمی}
\biffintabular{FakeSlant}{خوابیدهتقلبی}
\biffintabular{FakeStretch}{کششتقلبی}
\biffintabular{FakeBold}{سیاهتقلبی}
\biffintabular{AutoFakeSlant}{خوابیدهتقلبیخودکار}
\biffintabular{AutoFakeBold}{سیاهتقلبیخودکار}
\biffintabular{Ligatures}{دویاچندحرفمتصلبههم}
\biffintabular{Alternate}{متناوب}
\biffintabular{Variant}{گوناگون}
\biffintabular{Variant}{مجموعهسبکی}
\biffintabular{CharacterVariant}{گوناگونینویسه}
\biffintabular{ScriptStyle}{سبکاسکریپت}
\biffintabular{ScriptScriptStyle}{سبکاسکریپتاسکریپت}
\biffintabular{Style}{سبک}
\biffintabular{Annotation}{یادداشت}
\biffintabular{RawFeature}{ویژگیهایکال}
\biffintabular{CharacterWidth}{پهناینویسه}
\biffintabular{Numbers}{ارقام}
\biffintabular{Contextuals}{متنی}
\biffintabular{Diacritics}{تفکیککنندهها}
\biffintabular{Letters}{حروف}
\biffintabular{Kerning}{دوری}
\biffintabular{VerticalPosition}{موقعیتعمودی}
\biffintabular{Fractions}{کسر}
\end{supertabular}
\end{center}
\begin{center}
\tablecaption{Persian Equivalent font feature options\label{table:ffo}}
\tablehead
{\bfseries font feature&\bfseries font feature option &\bfseries Persian font feature option\\ \hline}
\tabletail
{\hline \multicolumn{3}{r}{\emph{Continued on next page}}\\}
\tablelasttail{\hline}
\begin{supertabular}{llr}
\biffointabular{Language}{Default}{پیشفرض}
\biffointabular{Language}{Parsi}{پارسی}
\biffointabular{Script}{Parsi}{پارسی}
\biffointabular{Script}{Latin}{لاتین}
\end{supertabular}
\end{center}
\subsection{A Sample Input \TeX\ File}
\begin{lstlisting}[morekeywords={settextfont,maketitle,tableofcontents,subsection,subsubsection,part}]
\documentclass{article}
\usepackage{xepersian}
\settextfont{XB Niloofar}
\title{*\parsitext{یک سند نمونه}*}
\author{*\parsitext{نام نویسنده}*}
\begin{document}
\maketitle
\tableofcontents
\part{*\parsitext{عنوان بخش}*}
...
\section{*\parsitext{عنوان قسمت}*}
...
\subsection{*\parsitext{عنوان زیرقسمت}*}
...
\subsubsection{*\parsitext{عنوان زیر زیرقسمت}*}
...
\end{document}
\end{lstlisting}
\subsection{Font Commands}
\subsubsection{Basic Font Commands}
\begin{BDef}
\Lcs{settextfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{setlatintextfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{setdigitfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{setmathsfdigitfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{setmathttdigitfont}\OptArgs\Largb{\Larga{font name}}
\end{BDef}
\begin{itemize}
\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}.
\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.
\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.
\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.
\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).
\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).
\end{itemize}
\subsubsection{Defining Extra Persian and Latin Fonts}
\begin{BDef}
\Lcs{defpersianfont}\Lcs{CS}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{deflatinfont}\Lcs{CS}\OptArgs\Largb{\Larga{font name}}
\end{BDef}
\begin{itemize}
\item With \Lcs{defpersianfont}, you can define extra Persian fonts.
\begin{lstlisting}[numbers=none,morekeywords={defpersianfont,Nastaliq}]
\defpersianfont\Nastaliq[Scale=1]{IranNastaliq}
\end{lstlisting}
In this example, we define \Lcs{Nastaliq} to stand for IranNastaliq font.
\item With \Lcs{deflatinfont}, you can define extra Latin fonts.
\begin{lstlisting}[numbers=none,morekeywords={deflatinfont,junicode}]
\deflatinfont\junicode[Scale=1]{Junicode}
\end{lstlisting}
In this example, we define \Lcs{junicode} to stand for Junicode font.
\end{itemize}
\subsubsection{Choosing Persian Sans Font}
\begin{BDef}
\Lcs{setpersiansansfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{persiansffamily}\quad\Lcs{textpersiansf}\Largb{\Larga{text}}
\end{BDef}
\subsubsection{Choosing Persian Mono Font}
\begin{BDef}
\Lcs{setpersianmonofont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{persianttfamily}\quad\Lcs{textpersiantt}\Largb{\Larga{text}}
\end{BDef}
\subsubsection{Choosing Persian Iranic Font}
\marginpar{If you do not use \Lcs{setiranicfont} command at all, the \textsf{Persian Modern} font will be used.}
\begin{BDef}
\Lcs{setiranicfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{iranicfamily}\quad\Lcs{textiranic}\Largb{\Larga{text}}
\end{BDef}
\subsubsection{Choosing Persian Navar Font}
\begin{BDef}
\Lcs{setnavarfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{navarfamily}\quad\Lcs{textnavar}\Largb{\Larga{text}}
\end{BDef}
\subsubsection{Choosing Persian Pook Font}
\marginpar{If you do not use \Lcs{setpookfont} command at all, the \textsf{Persian Modern} font will be used.}
\begin{BDef}
\Lcs{setpookfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{pookfamily}\quad\Lcs{textpook}\Largb{\Larga{text}}
\end{BDef}
\subsubsection{Choosing Persian Sayeh Font}
\marginpar{If you do not use \Lcs{setsayehfont} command at all, the \textsf{Persian Modern} font will be used.}
\begin{BDef}
\Lcs{setsayehfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{sayehfamily}\quad\Lcs{textsayeh}\Largb{\Larga{text}}
\end{BDef}
\subsubsection{Choosing Latin Sans Font}
\begin{BDef}
\Lcs{setlatinsansfont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{sffamily}\quad\Lcs{textsf}\Largb{\Larga{text}}
\end{BDef}
\subsubsection{Choosing Latin Mono Font}
\begin{BDef}
\Lcs{setlatinmonofont}\OptArgs\Largb{\Larga{font name}}\\
\Lcs{ttfamily}\quad\Lcs{texttt}\Largb{\Larga{text}}
\end{BDef}
\section{Latin and Persian Environment}
\begin{BDef}
\LBEG{latin}\quad\Larga{text}\quad\LEND{latin}\\
\LBEG{persian}\quad\Larga{text}\quad\LEND{persian}
\end{BDef}
\begin{itemize}
\item \texttt{latin} environment both changes direction of the paragraphs to LTR and font to Latin font.
\item \texttt{persian} environment both changes direction of the Paragraphs to RTL and font to Persian font.
\end{itemize}
\subsection{Short Latin and Persian Texts}
\begin{BDef}
\Lcs{lr}\Largb{\Larga{text}}\quad\Lcs{rl}\Largb{\Larga{text}}
\end{BDef}
\begin{itemize}
\item With \Lcs{lr} command, you can typeset short LTR texts.
\item With \Lcs{rl} command, you can typeset short RTL texts.
\end{itemize}
\subsection{Miscellaneous Commands}
\begin{BDef}
\Lcs{persianyear}\quad\Lcs{persianmonth}\quad\Lcs{persianday}\\
\Lcs{today}\quad\Lcs{latintoday}\quad\Lcs{twocolumnstableofcontents}\quad\Lcs{XePersian}\\
\Lcs{plq}\quad\Lcs{prq}
\end{BDef}
\begin{itemize}
\item \Lcs{persianyear} is Persian equivalent of \Lcs{year}.
\item \Lcs{persianmonth} is Persian equivalent of \Lcs{month}.
\item \Lcs{persianday} is Persian equivalent of \Lcs{day}.
\item \Lcs{today} typesets current Persian date and \Lcs{latintoday} typesets current Latin date.
\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.
\item \Lcs{XePersian} typesets \XePersian's logo.
\item \Lcs{plq} and \Lcs{prq} typeset Persian left quote and Persian right quote respectively.
\end{itemize}
\subsection{New Commands}
\begin{BDef}
\Lcs{Latincite}
\end{BDef}
\begin{itemize}
\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.
\end{itemize}
\subsection{Additional Counters}
\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:
\begin{BDef}
\Lcs{harfinumeral}\Largb{\Larga{integer}}\quad\Lcs{adadinumeral}\Largb{\Larga{integer}}\quad\Lcs{tartibinumeral}\Largb{\Larga{integer}}\quad
\end{BDef}
\begin{itemize}
\item The range of \texttt{harfi} counter is integers between 1 and 32 (number of the Persian alphabets) and \texttt{adadi} and \texttt{tartibi} counters, are integers between 0 and 999,999,999.
\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.
\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.
\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$.
\end{itemize}
\subsection{Things To Know About \Lcs{setdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}}
\begin{BDef}
\Lcs{DefaultMathsDigits}\quad\Lcs{PersianMathsDigits}\quad\Lcs{AutoMathsDigits}
\end{BDef}
\begin{itemize}
\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.
\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).
If you use \Lcs{setdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}, then you should know that:
\begin{itemize}
\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.
\item If you use \Lcs{PersianMathsDigits} anywhere, you will overwrite \XePersian's default behaviour and you will always get Persian digits in math mode.
\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.
\end{itemize}
\end{itemize}
\section{New Conditionals}
\subsection{Shell escape (or write18) conditional}
\begin{BDef}
\Lcs{ifwritexviii}\\
\qquad\textcolor{myred}{\Larga{material when Shell escape (or write18) is enabled}}\\
\Lcs{else}\\
\qquad\textcolor{myred}{\Larga{material when Shell escape (or write18) is not enabled}}\\
\Lcs{fi}
\end{BDef}
\section{Bilingual Captions}
\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.
\subsection{Support For Various Packages}
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.
\subsubsection{Things You Should Know about Support For \textsf{enumerate} Package}
The \textsf{enumerate} package gives the enumerate environment an optional argument
which determines the style in which the counter is printed.
An occurrence of one of the tokens \texttt{A}, \texttt{a}, \texttt{I}, \texttt{i}, or \texttt{1} produces the value
of the counter printed with (respectively) \Lcs{Alph}, \Lcs{alph}, \Lcs{Roman}, \Lcs{roman} or
\Lcs{arabic}.
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}.
These letters may be surrounded by any strings involving any other \TeX\
expressions, however the tokens \texttt{A}, \texttt{a}, \texttt{I}, \texttt{i}, \texttt{1}, \Penv{ا}, \Penv{ی}, \Penv{ت} must be inside a \Largb{} group if
they are not to be taken as special.
To see an Example, please look at \textsf{enumerate} package documentation.
\subsection{Index Generation}
For generating index, you are advised to use \textsf{xindy} program, any other program such as \textsf{makeindex} is not recommended.
\subsection{Converting Your Farsi\TeX\ Files To \XePersian\ or Unicode}
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.12.py}. To convert your Farsi\TeX\ files to \XePersian, put \texttt{ftxe-0.12.py} in the same directory that your Farsi\TeX\ file is, and then open a terminal/command prompt and do the following:
\begin{BDef}\ttfamily
python ftxe-0.12.py file.ftx file.tex
\end{BDef}
This will convert your \texttt{file.ftx} (Farsi\TeX\ file) to \texttt{file.tex} (\XePersian\ file).
The general syntax of using the python script is as follow:
\begin{BDef}\ttfamily
python ftxe-0.12.py [-r] [-s] [-x] [-u] input-filename1 input-filename2
\end{BDef}
Where
\begin{description}
\item[\texttt{-r}] (DEFAULT) recursively consider files included in the given files
\item[\texttt{-s}] do not recursively consider files
\item[\texttt{-x}] (DEFAULT) insert \XePersian\ related commands
\item[\texttt{-u}] only convert to unicode (and not to \XePersian)
\end{description}
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.
\section{Extra Packages And Classes}
\subsection{Magazine Typesetting}
\subsubsection{Introduction}
\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.
\subsubsection{Usage}
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
\begin{BDef}
\Lcs{documentclass}\OptArgs\Largb{xepersian-magazine}
\end{BDef}
at the beginning of your source file. The class options are described in \autoref{s-options}.
From this point it is possible to include packages and renew class commands described in \autoref{s-custom}.
\subsubsection{Front Page}
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.
\begin{BDef}
\Lcs{firstimage}\quad\Lcs{firstarticle}
\end{BDef}
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
\begin{BDef}
\Lcs{firstarticle}\Largb{\Larga{title}}\Largb{\Larga{opening}}\Largb{\Larga{time}}
\end{BDef}
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.
\begin{BDef}
\Lcs{secondarticle}
\end{BDef}
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.
\begin{BDef}
\Lcs{secondarticle}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}\Largb{\Larga{opening}}\Largb{\Larga{pagesof}}\Largb{\Larga{time}}
\end{BDef}
The new arguments \Larga{subtitle} and \Larga{pagesof} define a subtitle and the name of the section for this piece of article.
\begin{BDef}
\Lcs{thirdarticle}
\end{BDef}
The third piece of article is the last one in the \textsf{xepersian-magazine} front page. It works like the \Lcs{secondarticle}.
\begin{BDef}
\Lcs{thirdarticle}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}\Largb{\Larga{opening}}%
\Largb{\Larga{pagesof}}\Largb{\Larga{time}}
\end{BDef}
The arguments meaning is the same as \Lcs{secondarticle} command.
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.
\begin{BDef}
\Lcs{indexitem}
\end{BDef}
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
\begin{BDef}
\Lcs{indexitem}\Largb{\Larga{title}}\Largb{\Larga{reference}}
\end{BDef}
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.
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.
\begin{BDef}
\Lcs{weatheritem}
\end{BDef}
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
fit up to three weather icons with maximum and minimum temperatures,
description and name. To add each of the weather entries type the following
\begin{BDef}
\Lcs{weatheritem}\Largb{\Larga{image}}\Largb{\Larga{day-name}}\Largb{\Larga{max}}%
\Largb{\Larga{min}}\Largb{\Larga{short-des}}
\end{BDef}
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
\subsubsection{Inside\label{sub-1}}
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}.
\subsubsection{The article environment\label{subsub-1}}
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.
\begin{BDef}
\LBEG{article}\Largb{\Larga{num-of-columns}}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}%
\Largb{\Larga{pagesof}}\Largb{\Larga{label}}\\
\ldots\Larga{text}\ldots\\
\LEND{article}
\end{BDef}
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.
Inside the \texttt{article} environment, besides the main text of the article, it is possible to include additional information using several class commands.
\begin{BDef}
\Lcs{authorandplace}\quad\Lcs{timestamp}
\end{BDef}
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.
\begin{BDef}
\Lcs{image}
\end{BDef}
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.
\begin{BDef}
\Lcs{image}\Largb{\Larga{image}}\Largb{\Larga{description}}
\end{BDef}
\begin{BDef}
\Lcs{columntitle}\quad\Lcs{expandedtitle}
\end{BDef}
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
\begin{BDef}
\Lcs{columntitle}\Largb{\Larga{type}}\Largb{\Larga{text}}\\
\Lcs{expandedtitle}\Largb{\Larga{type}}\Largb{\Larga{text}}
\end{BDef}
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},
\textsf{doublebox}, \textsf{ovalbox}, \textsf{Ovalbox} and \textsf{lines}.
\subsubsection{The editorial environment\label{subsub-2}}
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
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
\begin{BDef}
\LBEG{editorial}\Largb{\Larga{num-of-columns}}\Largb{\Larga{title}}\Largb{\Larga{author}}\Largb{\Larga{label}}\\
\ldots\Larga{text}\ldots\\
\LEND{editorial}
\end{BDef}
All arguments have the same meaning as article environment (see \autoref{subsub-1}).
\subsubsection{The shortarticle environment\label{subsub-3}}
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
type:
\begin{BDef}
\LBEG{shortarticle}\Largb{\Larga{num-of-columns}}\Largb{\Larga{title}}\Largb{\Larga{subtitle}}\Largb{\Larga{label}}\\
\ldots\Larga{text}\ldots\\
\Lcs{shortarticleitem}\Largb{\Larga{title}}\Largb{\Larga{text}}\\
\ldots\\
\LEND{shortarticle}
\end{BDef}
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.
\subsubsection{Commands between articles}
\begin{BDef}
\Lcs{articlesep}\quad\Lcs{newsection}
\end{BDef}
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.
\begin{BDef}
\Lcs{newsection}\Largb{\Larga{section name}}
\end{BDef}
\subsubsection{Customization\label{s-custom}}
\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
them. Treat them as standard \LaTeX\ commands, using \Lcs{renewcommand} to change
their behaviour.
\subsubsection{Front Page}
\begin{BDef}
\Lcs{customlogo}\quad\Lcs{customminilogo}\quad\Lcs{custommagazinename}
\end{BDef}
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:
\begin{BDef}
\Lcs{customlogo}\Largb{\Larga{text}}\\
\Lcs{customminilogo}\Largb{\Larga{text}}\\
\Lcs{custommagazinename}\Largb{\Larga{text}}
\end{BDef}
\begin{BDef}
\Lcs{edition}\quad\Lcs{editionformat}
\end{BDef}
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}).
\begin{BDef}
\Lcs{indexFormat}\quad\Lcs{indexEntryFormat}\quad\Lcs{indexEntryPageTxt}\\
\Lcs{indexEntryPageFormat}\quad%
\Lcs{indexEntrySeparator}
\end{BDef}
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.
\begin{BDef}
\Lcs{weatherFormat}\quad\Lcs{weatherTempFormat}\quad\Lcs{weatherUnits}
\end{BDef}
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.
\begin{BDef}
\Lcs{*TitleFormat}\quad\Lcs{*SubtitleFormat}\quad\Lcs{*TextFormat}
\end{BDef}
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}.
\begin{BDef}
\Lcs{pictureCaptionFormat}\quad\Lcs{pagesFormat}
\end{BDef}
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}.
\subsubsection{Inside The Magazine}
\begin{BDef}
\Lcs{innerTitleFormat}\quad\Lcs{innerSubtitleFormat}\quad\Lcs{innerAuthorFormat}\\
\Lcs{innerPlaceFormat}
\end{BDef}
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.
\begin{BDef}
\Lcs{timestampTxt}\quad\Lcs{timestampSeparator}\quad\Lcs{timestampFormat}
\end{BDef}
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
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.
\begin{BDef}
\Lcs{innerTextFinalMark}
\end{BDef}
\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.
\begin{BDef}
\Lcs{minraggedcols}\quad\Lcs{raggedFormat}
\end{BDef}
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.
The \Lcs{raggedFormat} macro can be redefined to fit user ragged style. Default value is \Lcs{RaggedLeft}.
\begin{BDef}
\Lcs{heading}\quad\Lcs{foot}
\end{BDef}
\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.
\begin{BDef}
\Lcs{heading}\Largb{\Larga{left}}\Largb{\Larga{center}}\Largb{\Larga{right}}\\
\Lcs{foot}\Largb{\Larga{left}}\Largb{\Larga{center}}\Largb{\Larga{right}}
\end{BDef}
If you still prefer to use fancyhdr macros, use them after the \texttt{frontpage} environment.
\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.
\subsubsection{Class Options\label{s-options}}
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.
\begin{description}
\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.
\item[\textsf{9pt}] (false) Allows the 9pt font size that \textsf{article} class does not include (default is 10pt).
\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.
\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.
\end{description}
\subsection{Typesetting Multiple-choice Questions}
\subsubsection{Introduction}
\textsf{xepersian-multiplechoice} is a package for making multiple choices questionnaires under \LaTeX. A special environment
allows you to define questions and possible answers. You can specify which
answers are correct and which are not. \textsf{xepersian-multiplechoice} not only formats the questions
for you, but also generates a ``form'' (a grid that your students will have to fill
in), and a ``mask'' (the same grid, only with correct answers properly checked
in). You can then print the mask on a slide and correct the questionnaires
more easily by superimposing the mask on top of students' forms.
\subsubsection{Usage}
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.
\subsubsection{Loading The Package}
You can load the package as usual by:
\begin{BDef}
\Lcs{usepackage}\OptArgs\Largb{xepersian-multiplechoice}
\end{BDef}
The available options are described along the text,
where appropriate.
\subsubsection{Creating Questions}
Here's a simple example demonstrating how to produce a new question:
\begin{lstlisting}[morekeywords={false,true}]
\begin{question}{*\parsitext{سؤال}*}
\false *\parsitext{جواب ۱}*
\true *\parsitext{جواب ۲}*
\false *\parsitext{جواب ۳}*
\false *\parsitext{جواب ۴}*
\end{question}
\begin{correction}
*\parsitext{جواب واقعی و علت اینکه این جواب، جواب واقعی هست}*
\end{correction}
\end{lstlisting}
\subsubsection{The \texttt{question} Environment}
The \texttt{question} environment allows you to insert questions into your document. It
takes one mandatory argument which specifies the actual question's text. The
question will be displayed in a frame box, the size of the line.
\begin{BDef}
\Lcs{true}\quad\Lcs{false}
\end{BDef}
The proposed answers are displayed below the question in a list fashion (the
question environment is a list-based one). Instead of using \Lcs{item} however, use
either \Lcs{true} or \Lcs{false} to insert a possible answer.
\subsubsection{Question Numbers}
The \texttt{question} environment is associated with a \LaTeX\ counter named \texttt{question}.
This counter stores the number of the next (or current) question. It is initialized
to 1, and automatically incremented at the end of \texttt{question} environments. You
might want to use it to format question titles. For instance, you could decide that
each question belongs to a subsection in the \texttt{article} class, and use something like
this before each question: \Lcs{subsection*}\Largb{Question \Lcs{thequestion}}
\subsubsection{The Form and the Mask}
\begin{BDef}
\Lcs{makeform}\quad\Lcs{makemask}
\end{BDef}
Based on the questions appearing in your document, \textsf{xepersian-multiplechoice} has the ability to
generate a ``form'' (a grid that your students will have to fill in), and a ``mask''
(the same grid, only with correct answers properly checked in). This can make
the correction process easier.
To generate a form and a mask, use the macros \Lcs{makeform} and \Lcs{makemask}.
\textsf{xepersian-multiplechoice} uses two auxiliary files to build them. These files have respectively an
extension of \texttt{frm} and \texttt{msk}. If you use these macros, you will need two passes of
\LaTeX\ in order to get a correctly formatted document.
\subsubsection{Typesetting corrections}
The ``correction'' mode allows you to automatically
typeset and distribute corrections to your students. These corrections
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
or wrong. In addition, you can typeset explanations below each question.
To activate the correction mode, use the \texttt{correction} option. It is off by
default.
To typeset explanations below the questions, use the \texttt{correction} environment
(no argument). The contents of this environment is displayed only in correction
mode. In normal mode, it is simply discarded.
In addition, note that \textsf{xepersian-multiplechoice} cancels the actions performed by \Lcs{makeform} and
\Lcs{makemask} in \texttt{correction} mode. This is to avoid further edition of the source
when typesetting a correction.
\subsubsection{Important Note}
Currently, \textsf{xepersian-multiplechoice} requires that you provide a constant number of proposed answers
across all questions in your \textsf{xepersian-multiplechoice}. This is something natural when you want to
build forms, but this might me too restrictive otherwise, I'm not sure, so it is
possible that this restriction will be removed in future versions.
Currently, there is a built-in mechanism for checking that the number of proposed
answers remains constant: when \textsf{xepersian-multiplechoice} encounters the first occurrence of the
\texttt{question} environment, it remembers the number of proposed answers from there.
Afterwards, any noticed difference in subsequent occurrences will generate an error.
As a consequence, you never have to tell \textsf{xepersian-multiplechoice} explicitly what that number
is.
\subsection{Customising The Package}
\subsubsection{The \texttt{question} environment}
\begin{BDef}
\Lcs{questionspace}\quad\Lcs{answerstitlefont}\quad\Lcs{answernumberfont}
\end{BDef}
\Lcs{questionspace} is the amount of extra vertical space to put under the question,
before the list of proposed answers. This is a \LaTeX\ length that defaults to \texttt{0pt}.
Before the list of possible answers, a short title is displayed (for English, it
reads ``Possible answers:''). The \Lcs{answerstitlefont} macro takes one mandatory
argument which redefines the font to use for the answers title. By default,
\Lcs{bfseries} is used.
Each proposed answer in the list is numbered automatically (and alphabetically).
The \Lcs{answernumberfont} macro takes one mandatory argument which
redefines the font to use for displaying the answer number. By default, \Lcs{bfseries}
is used.
\subsubsection{The Form and the Mask}
\begin{BDef}
\Lcs{headerfont}\quad\Lcs{X}
\end{BDef}
The \Lcs{headerfont} macro takes one mandatory argument which redefines the font
to use for the headers (first line and first column) of the form and mask arrays.
By default, \Lcs{bfseries} is used.
In the mask, correct answers are checked in by filling the corresponding cell
with an ``X'' character. If you want to change this, call the \Lcs{X} macro with one
(mandatory) argument.
\subsubsection{The correction}
\begin{BDef}
\Lcs{truesymbol}\quad\Lcs{falsesymbol}
\end{BDef}
In correction mode, labels in front of answers are modified to give a visual clue
about whether the answer was correct or wrong. By default, a cross and a small
arrow are used. You can change these symbols by using the \Lcs{truesymbol} and
\Lcs{falsesymbol} macros. For instance, you could give a fancier look to your correction
by using the \textsf{pifont} package and issuing:
\begin{lstlisting}[numbers=none,morekeywords={truesymbol,ding,falsesymbol}]
\truesymbol{\ding{'063}~}
\falsesymbol{\ding{'067}~}
\end{lstlisting}
\begin{BDef}
\Lcs{correctionstyle}
\end{BDef}
The appearance of the contents of the correction environment can be adjusted
by using the \Lcs{correctionstyle} macro. By default, \Lcs{itshape} is used.
\end{document}
|