diff options
author | Karl Berry <karl@freefriends.org> | 2019-12-13 22:29:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-12-13 22:29:51 +0000 |
commit | ef4464dbeb7c2767a59e057b694ae9fb67c4ac25 (patch) | |
tree | 7b1bed879c7822436175c89685e3600c014e574b /Master/texmf-dist/tex/xelatex | |
parent | cb469a4cf6caa11c383e3d4e8d84d23007779586 (diff) |
parsa (13dec19)
git-svn-id: svn://tug.org/texlive/trunk@53118 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/parsa/parsa.sty | 712 |
1 files changed, 712 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/parsa/parsa.sty b/Master/texmf-dist/tex/xelatex/parsa/parsa.sty new file mode 100644 index 00000000000..f1e7678b9ef --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/parsa/parsa.sty @@ -0,0 +1,712 @@ +%% +%% This is file `parsa.sty', +%% +%% __________________________________________________ +%% Copyright (c) 2019 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 +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is “author-maintained” (as per LPPL maintenance status) +%% by Farshad Rasuli. +%% +%% Location on CTAN: /macros/xetex/latex/parsa +%% +%% Issue tracker: http://github.com/farshadrasuli/parsa +%% +%% + + + +% --- Package structure: Identification +\NeedsTeXFormat{LaTeX2e} +\def\parsa@version{1} +\def\parsadate{2019/12/12} +\ProvidesPackage{parsa}[\parsadate\space v\parsa@version\space +A useful assistant for making your thesis and dissertation for Iranian Universities] +\edef\@parsa@info{****************************************************^^J% +* ^^J% +* parsa package (A useful assistant for making your thesis and dissertation for Iranian universities)^^J% +* ^^J% +* Description: The package designed for^^J% +* thesis/dissertation typography.^^J% +* ^^J% +* Copyright (c) 2019 Farshad Rasuli^^J% +* ^^J% +* v\parsa@version, \parsadate^^J% +* ^^J% +* License: LaTeX Project Public License, version^^J% +* 1.3c or higher (your choice)^^J% +* ^^J% +* Location on CTAN: /macros/xetex/latex/parsa^^J% +* ^^J% +* Issue tracker: http://github.com/farshadrasuli/parsa^^J% +* ^^J% +****************************************************} + +% --- Package structure: Options +\newcommand{\ParsaTargetPa}{~} \newcommand{\ParsaTargetLa}{~} +\newcommand{\ParsaTypePa}{~} \newcommand{\ParsaTypeLa}{~} +\DeclareOption{thesis}{% +\renewcommand{\ParsaTargetPa}{پایان نامه \\ برای دریافت درجهی کارشناسیارشد}% +\renewcommand{\ParsaTargetLa}{A Thesis \\ submitted in fulfillment of the requirements +for Master's degree}% +\renewcommand{\ParsaTypePa}{پایاننامه}\renewcommand{\ParsaTypeLa}{Thesis}} + +\DeclareOption{dissertation}{% +\renewcommand{\ParsaTargetPa}{رساله \\ برای دریافت درجهی دکتری}% +\renewcommand{\ParsaTargetLa}{A Dissertation \\ submitted in fulfillment of the requirements +for Doctoral degree}% +\renewcommand{\ParsaTypePa}{رساله}\renewcommand{\ParsaTypeLa}{Dissertation}} + +\ProcessOptions\relax + +% --- Package structure: Preliminary declarations + +\RequirePackage{xparse} +\RequirePackage{fancyhdr} +\RequirePackage{graphicx} +\RequirePackage{multirow} +\RequirePackage{float} +\RequirePackage{adjustbox} + + +% --- Package structure: More declarations + +% PAGE STYLE +\fancypagestyle{plain}{\fancyhf{}\fancyfoot[OL,ER]{\ParsaHeaderFont \thepage}\renewcommand{\headrulewidth}{0pt}} + +\fancypagestyle{headings}{\fancyhf{}\fancyhead[OL,ER]{\ParsaHeaderFont \thepage}\fancyhead[OR]{\ParsaHeaderFont \rightmark}\fancyhead[EL]{\ParsaHeaderFont \leftmark}\renewcommand{\headrulewidth}{0.3pt}} + +% Create [This Page Intentionally Left Blank] by \cleardoublepage +\newcommand*{\blankpage}{% +\vspace*{\fill} +{\centering ~\par} +\vspace{\fill}} +\makeatletter +\renewcommand*{\cleardoublepage}{\clearpage\if@twoside \ifodd\c@page\else +\blankpage +\thispagestyle{empty} +\newpage +\if@twocolumn\hbox{}\newpage\fi\fi\fi} +\makeatother + +% Commands +\newcommand{\InstituteLogoPa}{~} \newcommand{\InstituteLogoLa}{~} \newcommand{\InstituteLogoPaSmall}{~} \newcommand{\InstituteLogoLaSmall}{~} +\NewDocumentCommand{\InstituteLogo}{m m O{3cm} O{3cm}}{\renewcommand{\InstituteLogoPa}{\includegraphics[width=#3,height=#4]{#1}}\renewcommand{\InstituteLogoLa}{\includegraphics[width=#3,height=#4]{#2}}\renewcommand{\InstituteLogoPaSmall}{\includegraphics[width=1.6cm,height=1.6cm]{#1}}\renewcommand{\InstituteLogoLaSmall}{\includegraphics[width=1.6cm,height=1.6cm]{#2}}} + +\newcommand{\InstitutePa}{~} \newcommand{\InstituteLa}{~} +\NewDocumentCommand{\Institute}{m m}{\renewcommand{\InstitutePa}{#1} \renewcommand{\InstituteLa}{#2}} + +\newcommand{\FacultyPa}{~} \newcommand{\FacultyLa}{~} +\NewDocumentCommand{\Faculty}{m m}{\renewcommand{\FacultyPa}{#1} \renewcommand{\FacultyLa}{#2}} + +\newcommand{\DepartmentPa}{~} \newcommand{\DepartmentLa}{~} +\NewDocumentCommand{\Department}{m m}{\renewcommand{\DepartmentPa}{#1}\renewcommand{\DepartmentLa}{#2}} + +\newcommand{\captiononePa}{~} \newcommand{\captiononeLa}{~} +\newcommand{\StudentNamePa}{~} \newcommand{\StudentNameLa}{~} +\NewDocumentCommand{\StudentName}{m m}{\renewcommand{\StudentNamePa}{#1} \renewcommand{\StudentNameLa}{#2}\renewcommand{\captiononePa}{نگارنده}\renewcommand{\captiononeLa}{by}} + +\newcommand{\StudentMajorPa}{~} \newcommand{\StudentMajorLa}{~} +\NewDocumentCommand{\StudentMajor}{m m}{\renewcommand{\StudentMajorPa}{#1} \renewcommand{\StudentMajorLa}{#2}} + +\newcommand{\StudentMinorPa}{~} \newcommand{\StudentMinorLa}{~} +\NewDocumentCommand{\StudentMinor}{m m}{\renewcommand{\StudentMinorPa}{#1} \renewcommand{\StudentMinorLa}{#2}} + +\newcommand{\StudentDegreePa}{~} \newcommand{\StudentDegreeLa}{~} +\NewDocumentCommand{\StudentDegree}{m m}{\renewcommand{\StudentDegreePa}{#1} \renewcommand{\StudentDegreeLa}{#2}} + +\newcommand{\Studentid}{~} +\NewDocumentCommand{\StudentID}{m}{\renewcommand{\Studentid}{#1}} + +\newcommand{\Studentnumber}{~} +\NewDocumentCommand{\StudentNumber}{m}{\renewcommand{\Studentnumber}{#1}} + +\newcommand{\Studentemail}{~} +\NewDocumentCommand{\StudentEMAIL}{m}{\renewcommand{\Studentemail}{#1}} + +\newcommand{\ParsaTitlePa}{~} \newcommand{\ParsaTitleLa}{~} +\NewDocumentCommand{\ParsaTitle}{m m}{\renewcommand{\ParsaTitlePa}{#1} \renewcommand{\ParsaTitleLa}{#2}} + +\NewDocumentCommand{\ParsaTarget}{m m}{\renewcommand{\ParsaTargetPa}{#1} \renewcommand{\ParsaTargetLa}{#2}} + +\newcommand{\ParsaCompilationDatePa}{~} \newcommand{\ParsaCompilationDateLa}{~} +\NewDocumentCommand{\ParsaCompilationDate}{m m}{\renewcommand{\ParsaCompilationDatePa}{#1} \renewcommand{\ParsaCompilationDateLa}{#2}} + +\newcommand{\ParsaExamDatePa}{~} \newcommand{\ParsaExamDateLa}{~} +\NewDocumentCommand{\ParsaExamDate}{m m}{\renewcommand{\ParsaExamDatePa}{#1} \renewcommand{\ParsaExamDateLa}{#2}} + +\newcommand{\SupervisorNamePa}{~} \newcommand{\SupervisorNameLa}{~} +\newcommand{\SupervisorTitlePa}{~} \newcommand{\SupervisorTitleLa}{~} +\newcommand{\SupervisorAffiliationPa}{~} \newcommand{\SupervisorAffiliationLa}{~} +\newcommand{\Supervisorid}{~} +\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 \\ +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{مرتبهی علمی} \hspace{1cm} \= \textbf{\SupervisorTitlePa} \\ +\textit{وابستگی سازمانی} \> \SupervisorAffiliationPa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{شماره ملی} \hspace{0.5cm} \= \Supervisorid \\ +\textit{رایانامه سازمانی} \> \Supervisoremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +امضا +\end{center} +\end{minipage} +}\renewcommand{\SupervisorReportLa}{\noindent Supervisor:~\textbf{\SupervisorNameLa} \hrulefill \\ +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{Title} \hspace{0.85cm} \= \textbf{\SupervisorTitleLa} \\ +\textit{Affiliation} \> \SupervisorAffiliationLa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{National ID} \hspace{0.5cm} \= \Supervisorid \\ +\textit{Official E-Mail} \> \Supervisoremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +Signature +\end{center} +\end{minipage}} + +\NewDocumentCommand{\SupervisorTitle}{m m}{\renewcommand{\SupervisorTitlePa}{#1}\renewcommand{\SupervisorTitleLa}{#2}} + +\NewDocumentCommand{\SupervisorAffiliation}{m m}{\renewcommand{\SupervisorAffiliationPa}{#1}\renewcommand{\SupervisorAffiliationLa}{#2}} + +\NewDocumentCommand{\SupervisorID}{m}{\renewcommand{\Supervisorid}{#1}} + +\NewDocumentCommand{\SupervisorEMAIL}{m}{\renewcommand{\Supervisoremail}{#1}} + +\newcommand{\SecondSupervisorNamePa}{~} \newcommand{\SecondSupervisorNameLa}{~} +\newcommand{\SecondSupervisorTitlePa}{~} \newcommand{\SecondSupervisorTitleLa}{~} +\newcommand{\SecondSupervisorAffiliationPa}{~} \newcommand{\SecondSupervisorAffiliationLa}{~} +\newcommand{\SecondSupervisorid}{~} +\newcommand{\SecondSupervisoremail}{~} +\newcommand{\SecondSupervisorReportPa}{~} \newcommand{\SecondSupervisorReportLa}{~} +\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} +\textit{مرتبهی علمی} \hspace{1cm} \= \textbf{\SecondSupervisorTitlePa} \\ +\textit{وابستگی سازمانی} \> \SecondSupervisorAffiliationPa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{شماره ملی} \hspace{0.5cm} \= \SecondSupervisorid \\ +\textit{رایانامه سازمانی} \> \SecondSupervisoremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +امضا +\end{center} +\end{minipage} +}\renewcommand{\SecondSupervisorReportLa}{\noindent 2nd Supervisor:~\textbf{\SecondSupervisorNameLa} \hrulefill \\ +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{Title} \hspace{0.85cm} \= \textbf{\SecondSupervisorTitleLa} \\ +\textit{Affiliation} \> \SecondSupervisorAffiliationLa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{National ID} \hspace{0.5cm} \= \SecondSupervisorid \\ +\textit{Official E-Mail} \> \SecondSupervisoremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +Signature +\end{center} +\end{minipage}}} + +\NewDocumentCommand{\SecondSupervisorTitle}{m m}{\renewcommand{\SecondSupervisorTitlePa}{#1}\renewcommand{\SecondSupervisorTitleLa}{#2}} + +\NewDocumentCommand{\SecondSupervisorAffiliation}{m m}{\renewcommand{\SecondSupervisorAffiliationPa}{#1}\renewcommand{\SecondSupervisorAffiliationLa}{#2}} + +\NewDocumentCommand{\SecondSupervisorID}{m}{\renewcommand{\SecondSupervisorid}{#1}} + +\NewDocumentCommand{\SecondSupervisorEMAIL}{m}{\renewcommand{\SecondSupervisoremail}{#1}} + +\newcommand{\CosupervisorNamePa}{~} \newcommand{\CosupervisorNameLa}{~} +\newcommand{\CosupervisorTitlePa}{~} \newcommand{\CosupervisorTitleLa}{~} +\newcommand{\CosupervisorAffiliationPa}{~} \newcommand{\CosupervisorAffiliationLa}{~} +\newcommand{\Cosupervisorid}{~} +\newcommand{\Cosupervisoremail}{~} +\newcommand{\captionthreePa}{~} \newcommand{\captionthreeLa}{~} +\newcommand{\CosupervisorReportPa}{~} \newcommand{\CosupervisorReportLa}{~} +\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} +\textit{مرتبهی علمی} \hspace{1cm} \= \textbf{\CosupervisorTitlePa} \\ +\textit{وابستگی سازمانی} \> \CosupervisorAffiliationPa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{شماره ملی} \hspace{0.5cm} \= \Cosupervisorid \\ +\textit{رایانامه سازمانی} \> \Cosupervisoremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +امضا +\end{center} +\end{minipage} +}\renewcommand{\CosupervisorReportLa}{\noindent Co-supervisor:~\textbf{\CosupervisorNameLa} \hrulefill \\ +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{Title} \hspace{0.85cm} \= \textbf{\CosupervisorTitleLa} \\ +\textit{Affiliation} \> \CosupervisorAffiliationLa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{National ID} \hspace{0.5cm} \= \Cosupervisorid \\ +\textit{Official E-Mail} \> \Cosupervisoremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +Signature +\end{center} +\end{minipage}}} + +\NewDocumentCommand{\CosupervisorTitle}{m m}{\renewcommand{\CosupervisorTitlePa}{#1}\renewcommand{\CosupervisorTitleLa}{#2}} + +\NewDocumentCommand{\CosupervisorAffiliation}{m m}{\renewcommand{\CosupervisorAffiliationPa}{#1}\renewcommand{\CosupervisorAffiliationLa}{#2}} + +\NewDocumentCommand{\CosupervisorID}{m}{\renewcommand{\Cosupervisorid}{#1}} + +\NewDocumentCommand{\CosupervisorEMAIL}{m}{\renewcommand{\Cosupervisoremail}{#1}} + +\newcommand{\SecondCosupervisorNamePa}{~} \newcommand{\SecondCosupervisorNameLa}{~} +\newcommand{\SecondCosupervisorTitlePa}{~} \newcommand{\SecondCosupervisorTitleLa}{~} +\newcommand{\SecondCosupervisorAffiliationPa}{~} \newcommand{\SecondCosupervisorAffiliationLa}{~} +\newcommand{\SecondCosupervisorid}{~} +\newcommand{\SecondCosupervisoremail}{~} +\newcommand{\SecondCosupervisorReportPa}{~} \newcommand{\SecondCosupervisorReportLa}{~} +\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} +\textit{مرتبهی علمی} \hspace{1cm} \= \textbf{\SecondCosupervisorTitlePa} \\ +\textit{وابستگی سازمانی} \> \SecondCosupervisorAffiliationPa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{شماره ملی} \hspace{0.5cm} \= \SecondCosupervisorid \\ +\textit{رایانامه سازمانی} \> \SecondCosupervisoremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +امضا +\end{center} +\end{minipage} +}\renewcommand{\SecondCosupervisorReportLa}{\noindent 2nd Co-supervisor:~\textbf{\SecondCosupervisorNameLa} \hrulefill \\ +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{Title} \hspace{0.85cm} \= \textbf{\SecondCosupervisorTitleLa} \\ +\textit{Affiliation} \> \SecondCosupervisorAffiliationLa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{National ID} \hspace{0.5cm} \= \SecondCosupervisorid \\ +\textit{Official E-Mail} \> \SecondCosupervisoremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +Signature +\end{center} +\end{minipage}}} + +\NewDocumentCommand{\SecondCosupervisorTitle}{m m}{\renewcommand{\SecondCosupervisorTitlePa}{#1}\renewcommand{\SecondCosupervisorTitleLa}{#2}} + +\NewDocumentCommand{\SecondCosupervisorAffiliation}{m m}{\renewcommand{\SecondCosupervisorAffiliationPa}{#1}\renewcommand{\SecondCosupervisorAffiliationLa}{#2}} + +\NewDocumentCommand{\SecondCosupervisorID}{m}{\renewcommand{\SecondCosupervisorid}{#1}} + +\NewDocumentCommand{\SecondCosupervisorEMAIL}{m}{\renewcommand{\SecondCosupervisoremail}{#1}} + +\newcommand{\FirstExaminerNamePa}{~} \newcommand{\FirstExaminerNameLa}{~} +\newcommand{\FirstExaminerTitlePa}{~} \newcommand{\FirstExaminerTitleLa}{~} +\newcommand{\FirstExaminerAffiliationPa}{~} \newcommand{\FirstExaminerAffiliationLa}{~} +\newcommand{\FirstExaminerid}{~} +\newcommand{\FirstExamineremail}{~} +\newcommand{\FirstExaminerReportPa}{~} \newcommand{\FirstExaminerReportLa}{~} +\NewDocumentCommand{\FirstExaminerName}{m m}{\renewcommand{\FirstExaminerNamePa}{#1}\renewcommand{\FirstExaminerNameLa}{#2}\renewcommand{\FirstExaminerReportPa}{\noindent نام کامل استاد داور اول: ~\textbf{\FirstExaminerNamePa} \hrulefill \\ +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{مرتبهی علمی} \hspace{1cm} \= \textbf{\FirstExaminerTitlePa} \\ +\textit{وابستگی سازمانی} \> \FirstExaminerAffiliationPa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{شماره ملی} \hspace{0.5cm} \= \FirstExaminerid \\ +\textit{رایانامه سازمانی} \> \FirstExamineremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +امضا +\end{center} +\end{minipage} +}\renewcommand{\FirstExaminerReportLa}{\noindent 1st Examiner:~\textbf{\FirstExaminerNameLa} \hrulefill \\ +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{Title} \hspace{0.85cm} \= \textbf{\FirstExaminerTitleLa} \\ +\textit{Affiliation} \> \FirstExaminerAffiliationLa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{National ID} \hspace{0.5cm} \= \FirstExaminerid \\ +\textit{Official E-Mail} \> \FirstExamineremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +Signature +\end{center} +\end{minipage}}} + +\NewDocumentCommand{\FirstExaminerTitle}{m m}{\renewcommand{\FirstExaminerTitlePa}{#1}\renewcommand{\FirstExaminerTitleLa}{#2}} + +\NewDocumentCommand{\FirstExaminerAffiliation}{m m}{\renewcommand{\FirstExaminerAffiliationPa}{#1}\renewcommand{\FirstExaminerAffiliationLa}{#2}} + +\NewDocumentCommand{\FirstExaminerID}{m}{\renewcommand{\FirstExaminerid}{#1}} + +\NewDocumentCommand{\FirstExaminerEMAIL}{m}{\renewcommand{\FirstExamineremail}{#1}} + +\newcommand{\SecondExaminerNamePa}{~} \newcommand{\SecondExaminerNameLa}{~} +\newcommand{\SecondExaminerTitlePa}{~} \newcommand{\SecondExaminerTitleLa}{~} +\newcommand{\SecondExaminerAffiliationPa}{~} \newcommand{\SecondExaminerAffiliationLa}{~} +\newcommand{\SecondExaminerid}{~} +\newcommand{\SecondExamineremail}{~} +\newcommand{\SecondExaminerReportPa}{~} \newcommand{\SecondExaminerReportLa}{~} +\NewDocumentCommand{\SecondExaminerName}{m m}{\renewcommand{\SecondExaminerNamePa}{#1}\renewcommand{\SecondExaminerNameLa}{#2}\renewcommand{\SecondExaminerReportPa}{\noindent نام کامل استاد داور دوم: ~\textbf{\SecondExaminerNamePa} \hrulefill \\ +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{مرتبهی علمی} \hspace{1cm} \= \textbf{\SecondExaminerTitlePa} \\ +\textit{وابستگی سازمانی} \> \SecondExaminerAffiliationPa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{شماره ملی} \hspace{0.5cm} \= \SecondExaminerid \\ +\textit{رایانامه سازمانی} \> \SecondExamineremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +امضا +\end{center} +\end{minipage} +}\renewcommand{\SecondExaminerReportLa}{\noindent 2nd Examiner:~\textbf{\SecondExaminerNameLa} \hrulefill \\ +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{Title} \hspace{0.85cm} \= \textbf{\SecondExaminerTitleLa} \\ +\textit{Affiliation} \> \SecondExaminerAffiliationLa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{National ID} \hspace{0.5cm} \= \SecondExaminerid \\ +\textit{Official E-Mail} \> \SecondExamineremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +Signature +\end{center} +\end{minipage}}} + +\NewDocumentCommand{\SecondExaminerTitle}{m m}{\renewcommand{\SecondExaminerTitlePa}{#1}\renewcommand{\SecondExaminerTitleLa}{#2}} + +\NewDocumentCommand{\SecondExaminerAffiliation}{m m}{\renewcommand{\SecondExaminerAffiliationPa}{#1}\renewcommand{\SecondExaminerAffiliationLa}{#2}} + +\NewDocumentCommand{\SecondExaminerID}{m}{\renewcommand{\SecondExaminerid}{#1}} + +\NewDocumentCommand{\SecondExaminerEMAIL}{m}{\renewcommand{\SecondExamineremail}{#1}} + +\newcommand{\ThirdExaminerNamePa}{~} \newcommand{\ThirdExaminerNameLa}{~} +\newcommand{\ThirdExaminerTitlePa}{~} \newcommand{\ThirdExaminerTitleLa}{~} +\newcommand{\ThirdExaminerAffiliationPa}{~} \newcommand{\ThirdExaminerAffiliationLa}{~} +\newcommand{\ThirdExaminerid}{~} +\newcommand{\ThirdExamineremail}{~} +\newcommand{\ThirdExaminerReportPa}{~} \newcommand{\ThirdExaminerReportLa}{~} +\NewDocumentCommand{\ThirdExaminerName}{m m}{\renewcommand{\ThirdExaminerNamePa}{#1}\renewcommand{\ThirdExaminerNameLa}{#2}\renewcommand{\ThirdExaminerReportPa}{\noindent نام کامل استاد داور سوم: ~\textbf{\ThirdExaminerNamePa} \hrulefill \\ +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{مرتبهی علمی} \hspace{1cm} \= \textbf{\ThirdExaminerTitlePa} \\ +\textit{وابستگی سازمانی} \> \ThirdExaminerAffiliationPa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{شماره ملی} \hspace{0.5cm} \= \ThirdExaminerid \\ +\textit{رایانامه سازمانی} \> \ThirdExamineremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +امضا +\end{center} +\end{minipage} +}\renewcommand{\ThirdExaminerReportLa}{\noindent 3rd Examiner:~\textbf{\ThirdExaminerNameLa} \hrulefill \\ +\begin{minipage}{0.4\textwidth} +\begin{tabbing} +\textit{Title} \hspace{0.85cm} \= \textbf{\ThirdExaminerTitleLa} \\ +\textit{Affiliation} \> \ThirdExaminerAffiliationLa +\end{tabbing} +\end{minipage} +\begin{minipage}{0.45\textwidth} +\begin{tabbing} +\textit{National ID} \hspace{0.5cm} \= \ThirdExaminerid \\ +\textit{Official E-Mail} \> \ThirdExamineremail +\end{tabbing} +\end{minipage} +\begin{minipage}{0.1\textwidth} +\begin{center} +Signature +\end{center} +\end{minipage}}} + +\NewDocumentCommand{\ThirdExaminerTitle}{m m}{\renewcommand{\ThirdExaminerTitlePa}{#1}\renewcommand{\ThirdExaminerTitleLa}{#2}} + +\NewDocumentCommand{\ThirdExaminerAffiliation}{m m}{\renewcommand{\ThirdExaminerAffiliationPa}{#1}\renewcommand{\ThirdExaminerAffiliationLa}{#2}} + +\NewDocumentCommand{\ThirdExaminerID}{m}{\renewcommand{\ThirdExaminerid}{#1}} + +\NewDocumentCommand{\ThirdExaminerEMAIL}{m}{\renewcommand{\ThirdExamineremail}{#1}} + +\newcommand{\RepresentativeNamePa}{~} \newcommand{\RepresentativeNameLa}{~} +\newcommand{\Representativeid}{~} +\newcommand{\Representativeemail}{~} +\newcommand{\RepresentativeReportPa}{~} \newcommand{\RepresentativeReportLa}{~} +\NewDocumentCommand{\RepresentativeName}{m m}{\renewcommand{\RepresentativeNamePa}{#1}\renewcommand{\RepresentativeNameLa}{#2}\renewcommand{\RepresentativeReportPa}{\noindent نمایندهی تحصیلات تکمیلی \hrulefill \\[0.25cm] +\begin{minipage}{0.8\textwidth} +\begin{tabbing} +\textit{نام کامل} \hspace{1.5cm} \= \textbf{\RepresentativeNamePa} \\ +\textit{رایانامه سازمانی} \> \Representativeemail \\ +\textit{شماره ملی} \> \Representativeid +\end{tabbing} +\end{minipage} +\begin{minipage}{0.2\textwidth} +\begin{center} +امضا +\end{center} +\end{minipage} +}\renewcommand{\RepresentativeReportLa}{\noindent The Representative of Graduate and Professional Studies Office \hrulefill \\ +\begin{minipage}{0.8\textwidth} +\begin{tabbing} +\textit{Full Name} \hspace{1.5cm} \= \textbf{\RepresentativeNameLa} \\ +\textit{Official E-Mail} \> \Representativeemail \\ +\textit{National ID} \> \Representativeid +\end{tabbing} +\end{minipage} +\begin{minipage}{0.2\textwidth} +\begin{center} +Signature +\end{center} +\end{minipage}}} + +\NewDocumentCommand{\RepresentativeTitle}{m m}{\renewcommand{\RepresentativeTitlePa}{#1}\renewcommand{\RepresentativeTitleLa}{#2}} + +\NewDocumentCommand{\RepresentativeAffiliation}{m m}{\renewcommand{\RepresentativeAffiliationPa}{#1}\renewcommand{\RepresentativeAffiliationLa}{#2}} + +\NewDocumentCommand{\RepresentativeID}{m}{\renewcommand{\Representativeid}{#1}} + +\NewDocumentCommand{\RepresentativeEMAIL}{m}{\renewcommand{\Representativeemail}{#1}} + +\NewDocumentCommand{\titlepageParsi}{}{\begin{center} +\InstituteLogoPa ~\\[0.25cm] +\InstitutePa ~\\ +\FacultyPa ~\\ +\DepartmentPa ~\\[0.5cm] + +\ParsaTargetPa ~\\ +\StudentMajorPa ~ \StudentMinorPa ~\\[1cm] + +{\Large \textbf \ParsaTitlePa} ~\\[0.25cm] + +\captiononePa ~\\ +\textbf{\StudentNamePa} ~\\[1cm] + +\captiontwoPa ~\\ +\textbf{\SupervisorNamePa \\ \SecondSupervisorNamePa} ~\\[1cm] + +\captionthreePa ~\\ +\textbf{\CosupervisorNamePa \\ \SecondCosupervisorNamePa} ~\\[1cm] +\vfill +\textbf{\ParsaCompilationDatePa} +\end{center}} + +\NewDocumentCommand{\titlepageLatin}{}{\begin{latin} \begin{center} +\InstituteLogoLa ~\\[0.25cm] +\InstituteLa ~\\ +\FacultyLa ~\\ +\DepartmentLa ~\\[0.5cm] + +\emph{\ParsaTargetLa} ~\\ +\StudentMajorLa ~ \StudentMinorLa ~\\[1cm] + +{\Large \textbf \ParsaTitleLa} ~\\[0.25cm] + +\captiononeLa ~\\ +\textbf{\StudentNameLa} ~\\[1cm] + +\captiontwoLa ~\\ +\textbf{\SupervisorNameLa \\ \SecondSupervisorNameLa} ~\\[1cm] + +\captionthreeLa ~\\ +\textbf{\CosupervisorNameLa \\ \SecondCosupervisorNameLa} ~\\[1cm] +\vfill +\textbf{\ParsaCompilationDateLa} +\end{center} \end{latin}} + +\NewDocumentEnvironment{ParsaAbstractParsi}{+b}{ +\section*{چکیده} +#1 +\vspace*{\fill}}{} + +\NewDocumentEnvironment{ParsaAbstractLatin}{+b}{ +\begin{latin} +\section*{Abstract} +#1 +\end{latin} +\vspace*{\fill}}{} + +\newcommand{\parsapicture}{~} +\NewDocumentCommand{\ParsaPicture}{m}{~\newpage \vspace*{\fill} \includegraphics[width=\textwidth]{#1} ~ \vspace*{\fill} ~\newpage} + + +\NewDocumentCommand{\ParsaCredit}{}{\begin{minipage}{1\textwidth} +\section*{\centering اصالت و مالکیت اثر} +\noindent اینجانب ~\textbf{\StudentNamePa}~ دانشآموختهی ~\textbf{\StudentDegreePa}~ \textbf{\StudentMajorPa}~ \textbf{\StudentMinorPa}~ \textbf{\FacultyPa}~ \textbf{\InstitutePa}~ به شماره دانشجویی ~\textbf{\Studentnumber}~ پدیدآورندهی ~\textbf{\ParsaTypePa}~ با عنوان ~\textbf{\ParsaTitlePa}~ با راهنمایی ~\textbf{\SupervisorNamePa}، بر پایهی قوانین و مقررات، از جمله «دستورالعمل نحوهی بررسی تخلفات پژوهشی» و «مصادیق تخلفات پژوهشی» مصوب ۲۵ اسفند ۱۳۹۳ وزارت علوم، تحقیقات و فناوری، متعهد میشوم که: +\begin{enumerate} +\item این ~\ParsaTypePa ~ دستاورد پژوهش اینجانب و محتوای آن از درستی و اصالت برخوردار است؛ +\item حقوق معنوی همهی کسانی را که در به دست آمدن نتایج اصلی ~\ParsaTypePa ~ تأثیرگذار بودهاند، رعایت کردهام و هنگام کاربرد دستاورد پژوهشهای دیگران در آن، با دقت و بهدرستی به آنها استناد کردهام؛ +\item این ~\ParsaTypePa ~ و محتوای آن، تاکنون توسط اینجانب یا فرد دیگری، برای دریافت هیچگونه مدرک یا امتیازی در هیچجا ارائه نشدهاست؛ +\item همهی حقوق مادی این ~\ParsaTypePa ~ از آن ~\InstitutePa ~ است و آثار برگرفته از آن با وابستگی سازمانی ~\InstitutePa ~ منتشر خواهد شد؛ +\item در همهی آثار برگرفته از این ~\ParsaTypePa ، نام استاد(ان) راهنما و اگر استاد راهنمای نخست تشخیص دهد، نام استاد(ان) مشاور و رایانامهی سازمانی آنان را میآورم؛ +\item در همهی گامهای انجام این ~\ParsaTypePa ، هرگاه به اطلاعات شخصی افراد یا اطلاعات سازمانها دسترسی داشتهباشم یا آنها را به کار بردهام، رازداری و اخلاق پژوهشی را رعایت کردهام. +\end{enumerate} +\begin{center} تاریخ و امضا \end{center} +\vspace{1.5cm} +\section*{\centering حقوق \InstitutePa} +این گزارش و همهی حقوق مادی و محصولات آن (مقالهها، کتابها، پروانههای اختراع، برنامههای رایانهای، نرمافزارها، تجهیزات ساخته شده و مانند آنها) بر پایهی «قانون حمایت حقوق مولفان و مصنفان و هنرمندان» مصوب سال ۱۳۴۸ و اصلاحیههای بعدی آن و همچنین «آئیننامهی اجرایی این قانون» از آن ~\InstitutePa ~ است و هرگونه استفاده از همه یا پارهای از آن شامل نقلقول، تکثیر، انتشار، کاربرد نتایج، تکمیل و مانند آنها به صورت چاپی، الکترونیکی یا وسایل دیگر، تنها با اجازه نوشتاری ~\InstitutePa ~ شدنیاست. نقلقول محدود در انتشارات علمی مانند کتابها و مقالهها یا پایاننامهها و رسالههای دیگر با نوشتن اطلاعات کامل کتابشناختی، نیازی به مجوز ~\InstitutePa ~ ندارد. +\end{minipage}} + +\NewDocumentCommand{\ExaminationReportPa}{}{ +\begin{table}[H] \adjustbox{pagecenter}{ +\begin{tabular}{ccc} +\multirow{3}{*}{\InstituteLogoPaSmall} & به نام خدا & ~ \\ + & \InstitutePa & تاریخ دفاع \\ + & صورت جلسهی دفاع از \ParsaTypePa ~\StudentDegreePa & \ParsaExamDatePa +\end{tabular} } +\end{table} +\begin{minipage}{1\textwidth} +\begin{flushright} \begin{tabular}{p{0.16\textwidth}p{0.79\textwidth}} +\textit{نام کامل دانشآموخته} & \textbf{\StudentNamePa} \\ +\textit{رشتهی تحصیلی} & \StudentMajorPa ~\StudentMinorPa \\ +\textit{شماره ملی} & \Studentid \\ +\textit{رایانامه شخصی} & \Studentemail \\ +\textit{عنوان \ParsaTypePa :} & \textbf{\ParsaTitlePa} +\end{tabular} \end{flushright} +\begin{center} \textbf{ +هیئت داوران پس از شنیدن گزارش و دفاع دانشجو، \ParsaTypePa ی وی را داوری کرده \\ +و با درجهی عالی $\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} + +\NewDocumentCommand{\ExaminationReportLa}{}{\begin{latin} +\begin{table}[H] \adjustbox{pagecenter}{ +\begin{tabular}{ccc} +\multirow{3}{*}{\InstituteLogoLaSmall} & \textsc{In The Name of God} & ~ \\ + & \InstituteLa & Date \\ + & \emph{A \ParsaTypeLa ~Examination Report} & \ParsaExamDateLa +\end{tabular} } +\end{table} +\begin{minipage}{1\textwidth} +\begin{flushright} \begin{tabular}{p{0.2\textwidth}p{0.77\textwidth}} +\textit{Full Name} & \textbf{\StudentNameLa} \\ +\textit{Discipline} & \StudentMajorLa ~\StudentMinorLa \\ +\textit{National ID} & \Studentid \\ +\textit{Personal E-Mail} & \Studentemail \\ +\textit{\ParsaTypeLa ~Title} & \textbf{\ParsaTitleLa} \\ +\end{tabular} \end{flushright} +\begin{center} \textbf{ +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} ~\\ +{\small +\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} +\section*{\centering مجوز بهرهبرداری} +بهرهبرداری از این \ParsaTypePa ~در چهارچوب مقررات کتابخانه و با توجه به محدودیتی که توسط استاد راهنما به شرح زیر تعیین میگردد، بلامانع است:\\ +\begin{itemize} +\item[$\bigcirc$] بهرهبرداری از این \ParsaTypePa ~برای همگان و با ذکر منبع، بلامانع است. +\item[$\bigcirc$] بهرهبرداری از این \ParsaTypePa ~با اخذ مجوز از استاد راهنما و با ذکر منبع، بلامانع است. +\item[$\bigcirc$] بهرهبرداری از این \ParsaTypePa ~تا تاریخ \hspace{4cm} ممنوع است. +\end{itemize} +\begin{center} +استاد راهنما: \SupervisorNamePa \\ +امضا +\end{center} \end{minipage} \end{center} } + +\NewDocumentCommand{\ParsaDedicate}{+m}{ +\vspace*{\fill} +\begin{center} +\begin{Large} +#1 +\end{Large} +\end{center} +\vspace*{\fill}} + +\NewDocumentEnvironment{ParsaAcknowledge}{+b}{ +\chapter*{\centering سپاسگزاری} +\addcontentsline{toc}{chapter}{سپاسگزاری} \thispagestyle{empty} +#1}{} + +\NewDocumentEnvironment{ParsaCV}{+b}{\newpage +\vspace*{\fill} +\begin{center} +\begin{minipage}{0.67\textwidth} +#1 +\end{minipage} +\end{center} +\vspace*{\fill}\newpage}{}
\ No newline at end of file |