summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-07 21:39:08 +0000
committerKarl Berry <karl@freefriends.org>2020-03-07 21:39:08 +0000
commit453f9828372f16e09a7f52e873deee90945f88fd (patch)
tree32a8186627569517649b5c60ac754006b50ac3d3 /Master/texmf-dist/tex/xelatex
parent9f9ade874c05164be3e476d10e51d54a71d428d7 (diff)
parsa (7mar20)
git-svn-id: svn://tug.org/texlive/trunk@54154 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r--Master/texmf-dist/tex/xelatex/parsa/parsa.sty85
1 files changed, 47 insertions, 38 deletions
diff --git a/Master/texmf-dist/tex/xelatex/parsa/parsa.sty b/Master/texmf-dist/tex/xelatex/parsa/parsa.sty
index 9b4ca1f7ed7..2f09946929b 100644
--- a/Master/texmf-dist/tex/xelatex/parsa/parsa.sty
+++ b/Master/texmf-dist/tex/xelatex/parsa/parsa.sty
@@ -2,7 +2,7 @@
%% This is file `parsa.sty',
%%
%% __________________________________________________
-%% Copyright (c) 2019 Farshad Rasuli
+%% Copyright (c) 2019-2020 Farshad Rasuli
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -23,8 +23,8 @@
% --- Package structure: Identification
\NeedsTeXFormat{LaTeX2e}
-\def\parsa@version{1.1}
-\def\parsadate{2019/12/14}
+\def\parsa@version{1.2}
+\def\parsadate{2020/3/6}
\def\parsafirstrelease{2019/12/12}
\ProvidesPackage{parsa}[\parsadate\space v\parsa@version\space
A XeLaTeX package for theses and dissertations at Iranian Universities as fast and as efficiently as possible]
@@ -35,7 +35,7 @@ A XeLaTeX package for theses and dissertations at Iranian Universities as fast a
* Description: The package designed for^^J%
* thesis/dissertation typography.^^J%
* ^^J%
-* Copyright (c) 2019 Farshad Rasuli^^J%
+* Copyright (c) 2019-2020 Farshad Rasuli^^J%
* ^^J%
* v\parsa@version, \parsadate^^J%
* ^^J%
@@ -150,7 +150,8 @@ for Doctoral degree}%
\newcommand{\Supervisoremail}{~}
\newcommand{\captiontwoPa}{~} \newcommand{\captiontwoLa}{~}
\newcommand{\SupervisorReportPa}{~} \newcommand{\SupervisorReportLa}{~}
-\NewDocumentCommand{\SupervisorName}{m m}{\renewcommand{\SupervisorNamePa}{#1}\renewcommand{\SupervisorNameLa}{#2}\renewcommand{\captiontwoPa}{استاد راهنما}\renewcommand{\captiontwoLa}{Supervisor}}\renewcommand{\SupervisorReportPa}{\noindent نام کامل استاد راهنما: ~\textbf{\SupervisorNamePa} \hrulefill \\
+\newcommand{\SupervisorVspace}{~}
+\NewDocumentCommand{\SupervisorName}{m m}{\renewcommand{\SupervisorNamePa}{#1}\renewcommand{\SupervisorNameLa}{#2}\renewcommand{\captiontwoPa}{استاد راهنما}\renewcommand{\captiontwoLa}{Supervisor}\renewcommand{\SupervisorReportPa}{\noindent نام کامل استاد راهنما: ~\textbf{\SupervisorNamePa} \hrulefill \\
\begin{minipage}{0.45\textwidth}
\begin{tabbing}
\textit{مرتبه‌ی علمی} \hspace{1cm} \= \textbf{\SupervisorTitlePa} \\
@@ -185,7 +186,7 @@ for Doctoral degree}%
\begin{center}
Signature
\end{center}
-\end{minipage}}
+\end{minipage}}\renewcommand{\SupervisorVspace}{~\\[2mm]}}
\NewDocumentCommand{\SupervisorTitle}{m m}{\renewcommand{\SupervisorTitlePa}{#1}\renewcommand{\SupervisorTitleLa}{#2}}
@@ -201,6 +202,7 @@ Signature
\newcommand{\SecondSupervisorid}{~}
\newcommand{\SecondSupervisoremail}{~}
\newcommand{\SecondSupervisorReportPa}{~} \newcommand{\SecondSupervisorReportLa}{~}
+\newcommand{\SecondSupervisorVspace}{~}
\NewDocumentCommand{\SecondSupervisorName}{m m}{\renewcommand{\SecondSupervisorNamePa}{#1}\renewcommand{\SecondSupervisorNameLa}{#2}\renewcommand{\captiontwoPa}{استادان راهنما}\renewcommand{\captiontwoLa}{Supervisors}\renewcommand{\SecondSupervisorReportPa}{\noindent نام کامل استاد راهنمای دوم: ~\textbf{\SecondSupervisorNamePa} \hrulefill \\
\begin{minipage}{0.45\textwidth}
\begin{tabbing}
@@ -219,7 +221,7 @@ Signature
امضا
\end{center}
\end{minipage}
-}\renewcommand{\SecondSupervisorReportLa}{\noindent 2nd Supervisor:~\textbf{\SecondSupervisorNameLa} \hrulefill \\
+}\renewcommand{\SecondSupervisorReportLa}{\noindent Second Supervisor:~\textbf{\SecondSupervisorNameLa} \hrulefill \\
\begin{minipage}{0.4\textwidth}
\begin{tabbing}
\textit{Title} \hspace{0.85cm} \= \textbf{\SecondSupervisorTitleLa} \\
@@ -236,7 +238,7 @@ Signature
\begin{center}
Signature
\end{center}
-\end{minipage}}}
+\end{minipage}}\renewcommand{\SecondSupervisorVspace}{~\\[2mm]}}
\NewDocumentCommand{\SecondSupervisorTitle}{m m}{\renewcommand{\SecondSupervisorTitlePa}{#1}\renewcommand{\SecondSupervisorTitleLa}{#2}}
@@ -253,6 +255,7 @@ Signature
\newcommand{\Cosupervisoremail}{~}
\newcommand{\captionthreePa}{~} \newcommand{\captionthreeLa}{~}
\newcommand{\CosupervisorReportPa}{~} \newcommand{\CosupervisorReportLa}{~}
+\newcommand{\CosupervisorVspace}{~}
\NewDocumentCommand{\CosupervisorName}{m m}{\renewcommand{\CosupervisorNamePa}{#1}\renewcommand{\CosupervisorNameLa}{#2}\renewcommand{\captionthreePa}{استاد مشاور}\renewcommand{\captionthreeLa}{Co-supervisor}\renewcommand{\CosupervisorReportPa}{\noindent نام کامل استاد مشاور: ~\textbf{\CosupervisorNamePa} \hrulefill \\
\begin{minipage}{0.45\textwidth}
\begin{tabbing}
@@ -288,7 +291,7 @@ Signature
\begin{center}
Signature
\end{center}
-\end{minipage}}}
+\end{minipage}}\renewcommand{\CosupervisorVspace}{~\\[2mm]}}
\NewDocumentCommand{\CosupervisorTitle}{m m}{\renewcommand{\CosupervisorTitlePa}{#1}\renewcommand{\CosupervisorTitleLa}{#2}}
@@ -304,6 +307,7 @@ Signature
\newcommand{\SecondCosupervisorid}{~}
\newcommand{\SecondCosupervisoremail}{~}
\newcommand{\SecondCosupervisorReportPa}{~} \newcommand{\SecondCosupervisorReportLa}{~}
+\newcommand{\SecondCosupervisorVspace}{~}
\NewDocumentCommand{\SecondCosupervisorName}{m m}{\renewcommand{\SecondCosupervisorNamePa}{#1}\renewcommand{\SecondCosupervisorNameLa}{#2}\renewcommand{\captionthreePa}{استادان مشاور}\renewcommand{\captionthreeLa}{Co-supervisors}\renewcommand{\SecondCosupervisorReportPa}{\noindent نام کامل استاد مشاور دوم: ~\textbf{\SecondCosupervisorNamePa} \hrulefill \\
\begin{minipage}{0.45\textwidth}
\begin{tabbing}
@@ -322,7 +326,7 @@ Signature
امضا
\end{center}
\end{minipage}
-}\renewcommand{\SecondCosupervisorReportLa}{\noindent 2nd Co-supervisor:~\textbf{\SecondCosupervisorNameLa} \hrulefill \\
+}\renewcommand{\SecondCosupervisorReportLa}{\noindent Second Co-supervisor:~\textbf{\SecondCosupervisorNameLa} \hrulefill \\
\begin{minipage}{0.4\textwidth}
\begin{tabbing}
\textit{Title} \hspace{0.85cm} \= \textbf{\SecondCosupervisorTitleLa} \\
@@ -339,7 +343,7 @@ Signature
\begin{center}
Signature
\end{center}
-\end{minipage}}}
+\end{minipage}}\renewcommand{\SecondCosupervisorVspace}{~\\[2mm]}}
\NewDocumentCommand{\SecondCosupervisorTitle}{m m}{\renewcommand{\SecondCosupervisorTitlePa}{#1}\renewcommand{\SecondCosupervisorTitleLa}{#2}}
@@ -355,6 +359,7 @@ Signature
\newcommand{\FirstExaminerid}{~}
\newcommand{\FirstExamineremail}{~}
\newcommand{\FirstExaminerReportPa}{~} \newcommand{\FirstExaminerReportLa}{~}
+\newcommand{\FirstExaminerVspace}{~}
\NewDocumentCommand{\FirstExaminerName}{m m}{\renewcommand{\FirstExaminerNamePa}{#1}\renewcommand{\FirstExaminerNameLa}{#2}\renewcommand{\FirstExaminerReportPa}{\noindent نام کامل استاد داور اول: ~\textbf{\FirstExaminerNamePa} \hrulefill \\
\begin{minipage}{0.45\textwidth}
\begin{tabbing}
@@ -373,7 +378,7 @@ Signature
امضا
\end{center}
\end{minipage}
-}\renewcommand{\FirstExaminerReportLa}{\noindent 1st Examiner:~\textbf{\FirstExaminerNameLa} \hrulefill \\
+}\renewcommand{\FirstExaminerReportLa}{\noindent First Examiner:~\textbf{\FirstExaminerNameLa} \hrulefill \\
\begin{minipage}{0.4\textwidth}
\begin{tabbing}
\textit{Title} \hspace{0.85cm} \= \textbf{\FirstExaminerTitleLa} \\
@@ -390,7 +395,7 @@ Signature
\begin{center}
Signature
\end{center}
-\end{minipage}}}
+\end{minipage}}\renewcommand{\FirstExaminerVspace}{~\\[2mm]}}
\NewDocumentCommand{\FirstExaminerTitle}{m m}{\renewcommand{\FirstExaminerTitlePa}{#1}\renewcommand{\FirstExaminerTitleLa}{#2}}
@@ -406,6 +411,7 @@ Signature
\newcommand{\SecondExaminerid}{~}
\newcommand{\SecondExamineremail}{~}
\newcommand{\SecondExaminerReportPa}{~} \newcommand{\SecondExaminerReportLa}{~}
+\newcommand{\SecondExaminerVspace}{~}
\NewDocumentCommand{\SecondExaminerName}{m m}{\renewcommand{\SecondExaminerNamePa}{#1}\renewcommand{\SecondExaminerNameLa}{#2}\renewcommand{\SecondExaminerReportPa}{\noindent نام کامل استاد داور دوم: ~\textbf{\SecondExaminerNamePa} \hrulefill \\
\begin{minipage}{0.45\textwidth}
\begin{tabbing}
@@ -424,7 +430,7 @@ Signature
امضا
\end{center}
\end{minipage}
-}\renewcommand{\SecondExaminerReportLa}{\noindent 2nd Examiner:~\textbf{\SecondExaminerNameLa} \hrulefill \\
+}\renewcommand{\SecondExaminerReportLa}{\noindent Second Examiner:~\textbf{\SecondExaminerNameLa} \hrulefill \\
\begin{minipage}{0.4\textwidth}
\begin{tabbing}
\textit{Title} \hspace{0.85cm} \= \textbf{\SecondExaminerTitleLa} \\
@@ -441,7 +447,7 @@ Signature
\begin{center}
Signature
\end{center}
-\end{minipage}}}
+\end{minipage}}\renewcommand{\SecondExaminerVspace}{~\\[2mm]}}
\NewDocumentCommand{\SecondExaminerTitle}{m m}{\renewcommand{\SecondExaminerTitlePa}{#1}\renewcommand{\SecondExaminerTitleLa}{#2}}
@@ -457,6 +463,7 @@ Signature
\newcommand{\ThirdExaminerid}{~}
\newcommand{\ThirdExamineremail}{~}
\newcommand{\ThirdExaminerReportPa}{~} \newcommand{\ThirdExaminerReportLa}{~}
+\newcommand{\ThirdExaminerVspace}{~}
\NewDocumentCommand{\ThirdExaminerName}{m m}{\renewcommand{\ThirdExaminerNamePa}{#1}\renewcommand{\ThirdExaminerNameLa}{#2}\renewcommand{\ThirdExaminerReportPa}{\noindent نام کامل استاد داور سوم: ~\textbf{\ThirdExaminerNamePa} \hrulefill \\
\begin{minipage}{0.45\textwidth}
\begin{tabbing}
@@ -475,7 +482,7 @@ Signature
امضا
\end{center}
\end{minipage}
-}\renewcommand{\ThirdExaminerReportLa}{\noindent 3rd Examiner:~\textbf{\ThirdExaminerNameLa} \hrulefill \\
+}\renewcommand{\ThirdExaminerReportLa}{\noindent Third Examiner:~\textbf{\ThirdExaminerNameLa} \hrulefill \\
\begin{minipage}{0.4\textwidth}
\begin{tabbing}
\textit{Title} \hspace{0.85cm} \= \textbf{\ThirdExaminerTitleLa} \\
@@ -492,7 +499,7 @@ Signature
\begin{center}
Signature
\end{center}
-\end{minipage}}}
+\end{minipage}}\renewcommand{\ThirdExaminerVspace}{~\\[2mm]}}
\NewDocumentCommand{\ThirdExaminerTitle}{m m}{\renewcommand{\ThirdExaminerTitlePa}{#1}\renewcommand{\ThirdExaminerTitleLa}{#2}}
@@ -506,6 +513,7 @@ Signature
\newcommand{\Representativeid}{~}
\newcommand{\Representativeemail}{~}
\newcommand{\RepresentativeReportPa}{~} \newcommand{\RepresentativeReportLa}{~}
+\newcommand{\RepresentativeVspace}{~}
\NewDocumentCommand{\RepresentativeName}{m m}{\renewcommand{\RepresentativeNamePa}{#1}\renewcommand{\RepresentativeNameLa}{#2}\renewcommand{\RepresentativeReportPa}{\noindent نماینده‌ی تحصیلات تکمیلی \hrulefill \\[0.25cm]
\begin{minipage}{0.8\textwidth}
\begin{tabbing}
@@ -531,7 +539,7 @@ Signature
\begin{center}
Signature
\end{center}
-\end{minipage}}}
+\end{minipage}}\renewcommand{\RepresentativeVspace}{~\\[2mm]}}
\NewDocumentCommand{\RepresentativeTitle}{m m}{\renewcommand{\RepresentativeTitlePa}{#1}\renewcommand{\RepresentativeTitleLa}{#2}}
@@ -629,7 +637,7 @@ Signature
\end{tabular} }
\end{table}
\begin{minipage}{1\textwidth}
-\begin{flushright} \begin{tabular}{p{0.16\textwidth}p{0.79\textwidth}}
+\begin{flushright} \begin{tabular}{p{0.2\textwidth}p{0.75\textwidth}}
\textit{نام کامل دانش‌آموخته} & \textbf{\StudentNamePa} \\
\textit{رشته‌ی تحصیلی} & \StudentMajorPa ~\StudentMinorPa \\
\textit{شماره ملی} & \Studentid \\
@@ -641,14 +649,14 @@ Signature
و با درجه‌ی عالی $\bigcirc$ بسیار خوب $\bigcirc$ خوب $\bigcirc$ پذیرفته‌نشده $\bigcirc$ ارزیابی کرد.
} \end{center} \end{minipage} ~\\
-\SupervisorReportPa ~\\[0.2cm]
-\SecondSupervisorReportPa ~\\[0.2cm]
-\CosupervisorReportPa ~\\[0.2cm]
-\SecondCosupervisorReportPa ~\\[0.2cm]
-\FirstExaminerReportPa ~\\[0.2cm]
-\SecondExaminerReportPa ~\\[0.2cm]
-\ThirdExaminerReportPa ~\\[0.2cm]
-\RepresentativeReportPa}
+\SupervisorReportPa \SupervisorVspace
+\SecondSupervisorReportPa \SecondSupervisorVspace
+\CosupervisorReportPa \CosupervisorVspace
+\SecondCosupervisorReportPa \SecondCosupervisorVspace
+\FirstExaminerReportPa \FirstExaminerVspace
+\SecondExaminerReportPa \SecondExaminerVspace
+\ThirdExaminerReportPa \ThirdExaminerVspace
+\RepresentativeReportPa \RepresentativeVspace}
\NewDocumentCommand{\ExaminationReportLa}{}{\begin{latin}
\begin{table}[H] \adjustbox{pagecenter}{
@@ -670,22 +678,23 @@ Signature
Following the oral defence by the student, the examination committee evaluated the \ParsaTypeLa ~as:\\
Excellent $\bigcirc$ Very Good $\bigcirc$ Good $\bigcirc$ Not Acceptable $\bigcirc$\@.
} \end{center} \end{minipage} ~\\
-\SupervisorReportLa ~\\[0.2cm]
-\SecondSupervisorReportLa ~\\[0.2cm]
-\CosupervisorReportLa ~\\[0.2cm]
-\SecondCosupervisorReportLa ~\\[0.2cm]
-\FirstExaminerReportLa ~\\[0.2cm]
-\SecondExaminerReportLa ~\\[0.2cm]
-\ThirdExaminerReportLa ~\\[0.2cm]
-\RepresentativeReportLa \end{latin}}
-
-\NewDocumentCommand{\ParsaCopyleft}{}{\begin{center} \begin{minipage}{0.67\textwidth}
+
+\SupervisorReportLa \SupervisorVspace
+\SecondSupervisorReportLa \SecondSupervisorVspace
+\CosupervisorReportLa \CosupervisorVspace
+\SecondCosupervisorReportLa \SecondCosupervisorVspace
+\FirstExaminerReportLa \FirstExaminerVspace
+\SecondExaminerReportLa \SecondExaminerVspace
+\ThirdExaminerReportLa \ThirdExaminerVspace
+\RepresentativeReportLa \RepresentativeVspace \end{latin}}
+
+\NewDocumentCommand{\ParsaCopyleft}{}{\begin{center} \begin{minipage}{0.8\textwidth}
\section*{\centering مجوز بهره‌برداری}
بهره‌برداری از این \ParsaTypePa ~در چهارچوب مقررات کتاب‌خانه و با توجه به محدودیتی که توسط استاد راهنما به شرح زیر تعیین می‌گردد، بلامانع است:\\
\begin{itemize}
\item[$\bigcirc$] بهره‌برداری از این \ParsaTypePa ~برای همگان و با ذکر منبع، بلامانع است.
\item[$\bigcirc$] بهره‌برداری از این \ParsaTypePa ~با اخذ مجوز از استاد راهنما و با ذکر منبع، بلامانع است.
-\item[$\bigcirc$] بهره‌برداری از این \ParsaTypePa ~تا تاریخ \hspace{4cm} ممنوع است.
+\item[$\bigcirc$] بهره‌برداری از این \ParsaTypePa ~تا تاریخ \hspace{35mm} ممنوع است.
\end{itemize}
\begin{center}
استاد راهنما: \SupervisorNamePa \\