diff options
author | Norbert Preining <norbert@preining.info> | 2020-04-23 03:02:25 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-04-23 03:02:25 +0000 |
commit | b86f6f3256611ce04f593d897b9cf412d18fa062 (patch) | |
tree | c5fecf75a10834f6ca5b39548a48f67d6294918c /macros | |
parent | e0e2537ccbac6924b371be81092c1177e817162c (diff) |
CTAN sync 202004230302
Diffstat (limited to 'macros')
-rw-r--r-- | macros/latex/contrib/willowtreebook/README | 20 | ||||
-rw-r--r-- | macros/latex/contrib/willowtreebook/willow.jpg | bin | 0 -> 10482937 bytes | |||
-rw-r--r-- | macros/latex/contrib/willowtreebook/willowtreebook.bib | 11 | ||||
-rw-r--r-- | macros/latex/contrib/willowtreebook/willowtreebook.cls | 618 | ||||
-rw-r--r-- | macros/latex/contrib/willowtreebook/willowtreebook.pdf | bin | 0 -> 13965747 bytes | |||
-rw-r--r-- | macros/latex/contrib/willowtreebook/willowtreebook.tex | 99 | ||||
-rw-r--r-- | macros/xetex/latex/parsa/README.md | 9 | ||||
-rw-r--r-- | macros/xetex/latex/parsa/parsa.sty | 550 |
8 files changed, 993 insertions, 314 deletions
diff --git a/macros/latex/contrib/willowtreebook/README b/macros/latex/contrib/willowtreebook/README new file mode 100644 index 0000000000..fa86ae90f3 --- /dev/null +++ b/macros/latex/contrib/willowtreebook/README @@ -0,0 +1,20 @@ +Willow Tree Book Class +v1.0 +22 April 2020 + +Authors: +Ben McKay + +Maintainer: +Ben McKay + +E-mail: +b.mckay@ucc.ie + +Licence: +Released under the LaTeX Project Public License v1.3c or later. +See http://www.latex-project.org/lppl.txt + +The willowtreebook class is a simple book class, which I use for lecture notes. +It actually just selects options for the more sophisticated memoir class. + diff --git a/macros/latex/contrib/willowtreebook/willow.jpg b/macros/latex/contrib/willowtreebook/willow.jpg Binary files differnew file mode 100644 index 0000000000..1bbbd17e75 --- /dev/null +++ b/macros/latex/contrib/willowtreebook/willow.jpg diff --git a/macros/latex/contrib/willowtreebook/willowtreebook.bib b/macros/latex/contrib/willowtreebook/willowtreebook.bib new file mode 100644 index 0000000000..d7c1c37f40 --- /dev/null +++ b/macros/latex/contrib/willowtreebook/willowtreebook.bib @@ -0,0 +1,11 @@ +@book {Homer:Iliad, + AUTHOR = {Homer}, + TITLE = {The {I}liad}, + EDITION = {Third}, + NOTE = {An epic poem in dactylic hexameter, translated from the Greek by A. Guy}, + PUBLISHER = {McHaw-Grill Book Co., New Cork}, + YEAR = {1978}, + PAGES = {xi+331}, + ISBN = {0-07-000657-1}, +} + diff --git a/macros/latex/contrib/willowtreebook/willowtreebook.cls b/macros/latex/contrib/willowtreebook/willowtreebook.cls new file mode 100644 index 0000000000..61964a97fb --- /dev/null +++ b/macros/latex/contrib/willowtreebook/willowtreebook.cls @@ -0,0 +1,618 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{willowtreebook}[2020/04/22 Willow Tree book LaTeX class v1.0] +\DeclareOption{ContainsChinese}{\def\ChineseTextInThisDocument{}} +\DeclareOption*{% +\PassOptionsToClass{\CurrentOption}{article}% +} +\ProcessOptions\relax + +\LoadClass{memoir} + +\RequirePackage{xparse} + +\def\emptystring{} + +\edef\mckaybook@title{\emptystring} +\edef\mckaybook@subtitle{\emptystring} +\edef\mckaybook@author{\emptystring} +\edef\mckaybook@bibliography{\emptystring} +\edef\mckaybook@colophon{This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.} + +\NewDocumentCommand\Title{m}{\global\def\mckaybook@title{#1}} +\NewDocumentCommand\Subtitle{m}{\global\def\mckaybook@subtitle{#1}} +\NewDocumentCommand\Author{m}{\global\def\mckaybook@author{#1}} +\NewDocumentCommand\BibliographyFile{m}{\global\def\mckaybook@bibliography{#1}} +\NewDocumentCommand\Colophon{m}{\global\def\mckaybook@colophon{#1}} + +% For handling names like Benjamin McKay, where the letter c should be raised up, type in as Benjamin \scotsMc{}Kay. +\makeatletter +\DeclareRobustCommand{\scotsMc}{\scotsMcx{c}} +\DeclareRobustCommand{\scotsMC}{\scotsMcx{\textsc{c}}} +\DeclareRobustCommand{\scotsMcx}[1]{% + M% + \raisebox{\dimexpr\fontcharht\font`M-\height}{% + \check@mathfonts\fontsize{\sf@size}{0}\selectfont + \kern.3ex\underline{\kern-.3ex #1\kern-.3ex}\kern.3ex + }% +} +\expandafter\def\expandafter\@uclclist\expandafter{% + \@uclclist\scotsMc\scotsMC +} +\makeatother + +\RequirePackage{etex} +\RequirePackage{newunicodechar} +\RequirePackage[utf8]{inputenc} % Default input file encoding +\ifdefined\ChineseTextInThisDocument +\RequirePackage{CJKutf8} +\let\I\relax +\NewDocumentCommand\Chinese{m}{\begin{CJK*}{UTF8}{gbsn}#1\end{CJK*}} +\else +\fi + +\RequirePackage[T1]{fontenc} +\RequirePackage{lmodern} +\RequirePackage{isomath} +\RequirePackage[tt=lining]{cfr-lm} +\RequirePackage[mathscr]{eucal} +\RequirePackage[% +activate={true,nocompatibility},% +final,% +tracking=true,% +kerning=true,% +spacing=true,% +factor=1100,% +stretch=10,% +shrink=10]{microtype} +\microtypecontext{spacing=nonfrench} +\usepackage{embrac} % fixes parentheses and brackets in italic text. +\RequirePackage{amsmath} +\RequirePackage{amsthm} +\RequirePackage{amssymb} +\RequirePackage{braket} +\RequirePackage{mathtools} +\mathtoolsset{showonlyrefs,showmanualtags,centercolon,mathic} + +% If we need more room between rows of matrices and arrays, we can write +% \begin{pmatrix}[1.5] +% instead of +% \begin{pmatrix} +\makeatletter +\RenewDocumentCommand\env@matrix{O{\arraystretch}} +{% +\edef\arraystretch{#1}% + \hskip -\arraycolsep + \let\@ifnextchar\new@ifnextchar + \array{*\c@MaxMatrixCols c} +}% +\makeatother +\NewDocumentCommand\tallmatrix{}{1.5} + +\RequirePackage{varioref} +\RequirePackage{longtable} +\RequirePackage{multicol} +\setmarginnotes{2em}{3cm}{.5cm} + +% Indices +\newcommand{\NotationIndexName}{List of notation} +\makeindex +\makeglossary[not] +\changeglossnum[not]{\thepage} +\changeglossnumformat[not]{|hyperpage} +\renewcommand*{\glossaryname}{\NotationIndexName} +\renewcommand*{\glossarymark}{\markboth{\glossaryname}{}} +\renewcommand{\begintheglossaryhook} +{% +\begin{longtable}[c]{lp{9cm}}% +\endfirsthead% +\endhead% +\endfoot% +\endlastfoot% +}% +\renewcommand{\atendtheglossaryhook} +{% +\end{longtable}% +}% +\renewcommand{\glossitem}[4]{#1 & #2, #4 \\[4pt]} +\renewcommand{\glossaryspace}{} +\newcommand{\paddedpagenumber}% +% Returns the current page number, zero padded, +% so page 3 is 003, page 12 is 012, page 101 is 101 +{%% +\ifnum\value{page}<100 0\fi% +\ifnum\value{page}<10 0\fi% +\arabic{page}% +}%% + +\newcounter{howmany@notation} +\setcounter{howmany@notation}{0} +\newcommand{\Notation}[3]%% +%%use: \Notation{Nonmathmode token for comparing}{math mode expression}{description} +{\glossary[not](\paddedpagenumber){\(#2\)}{#3}% +\stepcounter{howmany@notation}% +} + +\newcounter{howmany@indexentries} +\setcounter{howmany@indexentries}{0} +\newcommand{\SubIndex}[1]% +{% +\stepcounter{howmany@indexentries}% +\index{#1}% +}% +% There is a serious problem with Notation. You can't +% use absolute value signs or floor or ceiling signs anywhere. Replace them +% with the following: +\newcommand{\leftAbs}{\left"|} +\newcommand{\rightAbs}{\right"|} +\newcommand{\leftDoubleAbs}{"| "| } +\newcommand{\rightDoubleAbs}{"| "| } +\newcommand{\normNotation}[1]{\leftDoubleAbs#1\rightDoubleAbs} +\newcommand{\orderForNotationIndex}[1]{\leftAbs{#1}\rightAbs} +\newcommand{\lengthForNotationIndex}[1]{\leftDoubleAbs{#1}\rightDoubleAbs} +\newcommand{\normForNotationIndex}[1]{\leftDoubleAbs{#1}\rightDoubleAbs} +\newcommand{\lcl}{ +\rule[-2.5pt]{.4pt}{1em} +\rule[6.4pt]{2pt}{.4pt} +} +\newcommand{\rcl}{ +\rule[6.4pt]{2pt}{.4pt} +\rule[-2.5pt]{.4pt}{1em} +} +\newcommand{\lflr}{ +\rule[-2.5pt]{.4pt}{1em} +\rule[-2.5pt]{2pt}{.4pt} +} +\newcommand{\rflr}{ +\rule[-2.5pt]{2pt}{.4pt} +\rule[-2.5pt]{.4pt}{1em} +} +\newcommand{\ceilForNotationIndex}[1]{\lcl{#1}\rcl} +\newcommand{\floorForNotationIndex}[1]{\lflr{#1}\rflr} + +% For the subject index: +% Example: +% \define{interest rate} +% puts into the Subject index a reference +% to the current page saying that this is +% where the term ``interest rate'' is defined. +\newcommand{\FancyIndexEntry}[1]{\emph{\textbf{\hyperpage{#1}}}} +\newcommand{\define}[1] +{% +\stepcounter{howmany@indexentries}% +\index{#1|FancyIndexEntry}% +}% +%% PDF Output +\ifpdf + \pdfoutput=1 + \makeatletter + \RequirePackage[plainpages=false, + hyperfigures, + pdftitle={\mckaybook@title}, + pdfauthor={\mckaybook@author}, + colorlinks=true, + pdfpagelabels=true, + bookmarksnumbered, + hidelinks, + pagebackref, + pdftex] + {hyperref} + \makeatother + \RequirePackage{memhfixc} +% Hyperref uses very bright colours to highlight links. Change them: + \RequirePackage[svgnames]{xcolor} + \definecolor{dark-red}{rgb}{0.4,0.15,0.15} + \definecolor{dark-blue}{rgb}{0.15,0.15,0.4} + \definecolor{medium-blue}{rgb}{0,0,0.5} + \hypersetup{ + colorlinks, linkcolor={dark-red}, + citecolor={dark-blue}, urlcolor={medium-blue} + } +\fi + +\newcommand{\idxmark}[1]{#1\markboth{#1}{#1}} +\newcommand{\doidxbookmark}[1]{{\def\@tempa{Symbols}\def\@tempb{#1}% +\ifx\@tempa\@tempb % +Analphabetics +\phantomsection% +\pdfbookmark[0]{Analphabetics}{Analphabetics-idx}% +\else +#1% +\phantomsection% +\pdfbookmark[0]{#1}{#1-idx}% +\fi% +\vskip\onelineskip\par}} + +\newcommand\doglobookmark[1]{% +}% + +%......Figures +\newcommand{\stdFigSize}{1in} +\newsubfloat{figure} % Memoir class, instead of subfigure class. +\let\subfigure\subbottom +\newcommand{\subfigcapskip}{3em} +\setfloatadjustment{figure}{\scriptsize\centering} +\setfloatadjustment{marginfigure}{\scriptsize\centering} +\setmpjustification{\scriptsize\RaggedLeft}{\scriptsize\RaggedRight} +\captionnamefont{\scriptsize} +\captiontitlefont{\scriptsize} +\newcommand{\heading}{\sffamily} + +\newcommand{\chapterSummary}[1]{{\small{#1}}\vspace{0.5cm}\par\noindent} + +\makechapterstyle{bobo}{% +\aliaspagestyle{part}{empty} +\renewcommand{\partnamefont}{\raggedleft\normalfont\huge\heading} +\renewcommand{\partnumfont}{\normalfont\huge\heading} +\renewcommand{\printpartnum}{} +\renewcommand{\partname}{} +\renewcommand*{\parttitlefont}{\huge\heading} +\setlength{\beforechapskip}{0pt} +\renewcommand*{\chapnamefont}{\large\centering} +\renewcommand*{\chapnumfont}{\large} +\renewcommand*{\printchapternonum}{% +\vphantom{\printchaptername}% +\vphantom{\chapnumfont 1}% +\afterchapternum} +\renewcommand*{\chaptitlefont}{\Large\heading} +\renewcommand*{\printchaptertitle}[1]{% +\centering\smallcolouredbox\chaptitlefont ##1}} + +\chapterstyle{bobo} + +\setsecheadstyle{\large\heading\raggedright} +\setsubsecheadstyle{\heading\raggedright} +\setsubsubsecheadstyle{\heading\raggedright} +\setheadfoot{2\onelineskip}{3\onelineskip} + +\newcommand{\optionalSection}[1]% +{%% +\section{#1} +{\small{This section can be omitted without loss of continuity.}}% +\medskip\par\noindent% +}%% + +%......Table of contents +% depth of numbering of sectioning commands: +\setsecnumdepth{chapter} +\maxsecnumdepth{chapter} +%% depth of table of contents: +\setcounter{tocdepth}{0} + +\RenewDocumentCommand\cftpartfont{}{\heading\small} +\RenewDocumentCommand\cftpartpagefont{}{\normalfont\small} + +\RenewDocumentCommand\cftchapterfont{}{\heading\small} +\RenewDocumentCommand\cftchapterpagefont{}{\normalfont\small} + +\setlength{\cftbeforechapterskip}{3pt} +\RenewDocumentCommand\cftchapterleader{}{\quad} +\setpnumwidth{1em} +\RenewDocumentCommand\cftchapterafterpnum{}{\cftparfillskip} + +\setlength{\cftbeforepartskip}{10pt} +\RenewDocumentCommand\cftpartleader{}{\quad} +\setpnumwidth{1em} +\RenewDocumentCommand\cftpartafterpnum{}{\cftparfillskip} + + +%......Title page +\pretitle{\begin{center}\HUGE} +\posttitle{\end{center}} +\preauthor{\vspace{2cm}\begin{center}} +\postauthor{\end{center}} +\predate{\begin{center}} +\postdate{\end{center}} + +\usepackage{tcolorbox} +\tcbuselibrary{breakable} +\tcbuselibrary{skins} + +%......Theorem Styles +%\newtheoremstyle{RegularStyle}% name +% {}% Space above, empty = `usual value' +% {}% Space below +% {\normalfont}% Body font +% {}% Indent amount (empty = no indent, \parindent = para indent) +% {\normalfont\scshape}% Thm head font +% {.}% Punctuation after thm head +% {.5em}% Space after thm head: " " = normal interword space; +% % \newline = linebreak +% {} % {\thmnote{#3}}% Thm head spec +%\theoremstyle{RegularStyle} +%{% +\newtheorem{theorem}{Theorem}[chapter] +\newtheorem{lemma}[theorem]{Lemma} +\newtheorem{corollary}[theorem]{Corollary} +\newtheorem{proposition}[theorem]{Proposition} + +\colorlet{exampleBackgroundColour}{gray!16} + +\newtcolorbox{example}{% +enhanced,% +breakable,% +colback=gray!16,% +colframe=gray!22,% +leftrule=1.4pt,% +toprule=1.4pt,% +bottomrule=1.4pt,% +rightrule=1.4pt,% +arc=3mm,% +before upper={\parindent15pt\noindent}% +} +\newenvironment{exampleAndImage}[1]% +{% +\begin{tcolorbox}[enhanced,% +breakable,% +colback=gray!16,% +colframe=gray!22,% +leftrule=1.4pt,% +toprule=1.4pt,% +bottomrule=1.4pt,% +rightrule=1.4pt,% +arc=3mm,% +sidebyside,% +lower separated=false,% +righthand width=#1,% +before upper={\parindent15pt\noindent}% +]% +}% +{% +\end{tcolorbox}% +}% +\NewDocumentEnvironment{examples}{}{% +\begin{example}% +\begin{itemize}}% +{\end{itemize}% +\end{example}} + +% In the middle of an example, the background color is not white. If you need a white background to put an image on it, it looks best to use an imageborderinexample. +\definecolor{image-border-color}{gray}{.975} +\NewDocumentCommand\imageborderinexample{m}{\begin{center}\tcbox[colframe=image-border-color, colback=white] +{#1}\end{center}} +\NewDocumentCommand\includegraphicsinexample{om}% +{\IfValueTF{#1}{\imageborderinexample{\includegraphics[#1]{#2}}}{\imageborderinexample{\includegraphics{#2}}}} +\NewDocumentCommand\inputinexample{m}{\imageborderinexample{\input{#1}}} + + +%......Problems +% To define a new problem, use: +% \begin{problem}{<label>} <statement> \end{problem} +% To give a solution to that problem: +% \begin{answer{<label>} <statement> \end{answer} +% using the same <label>. +% The label is for use in \ref{problem:label}, to refer to the problem. +% To say that a problem is exceptionally important, write +% \begin{problem*}{<label>} <statement> \end{problem*} +\NewDocumentEnvironment{ReviewExercises}{}{\section{Review~problems}}{} +\NewDocumentEnvironment{subproblems}{}{\begin{enumerate}}{\end{enumerate}} +\swapnumbers +\newtheoremstyle{ProblemStyle}% name + {}% Space above, empty = `usual value' + {}% Space below + {\normalfont}% Body font + {}% Indent amount (empty = no indent, \parindent = para indent) + {\bfseries}% Theorem head font + {}% Punctuation after thm head + {.5em}% Space after thm head: " " = normal interword space; \newline = linebreak + {}% Theorem head specification +\newtheoremstyle{HardProblemStyle}% name + {}% Space above, empty = `usual value' + {}% Space below + {\normalfont}% Body font + {}% Indent amount (empty = no indent, \parindent = para indent) + {\bfseries}% Theorem head font + {\({}^*\)}% Punctuation after thm head + {.5em}% Space after thm head: " " = normal interword space; \newline = linebreak + {}% Theorem head spec + +{% + \theoremstyle{ProblemStyle} + \newtheorem{problemTheorem}{}[chapter] + \theoremstyle{HardProblemStyle} + \newtheorem{HardProblemTheorem}[problemTheorem]{} +}% +\swapnumbers +\NewDocumentEnvironment{problem}{m}{\begin{problemTheorem}\label{problem:#1}}{\end{problemTheorem}} +\NewDocumentEnvironment{problem*}{m}{\begin{HardProblemTheorem}\label{problem:#1}}{\end{HardProblemTheorem}} +\newoutputstream{ansout} +\NewDocumentCommand\printanswers{}{\closeoutputstream{ansout}\input{\jobname.ans}} +% Unfortunately, some complications involving `at' signs +% and protection make it apparently necessary to define a +% \newparagraph symbol, which will later expand to \par. +% Otherwise, we get mysterious errors. We could probably +% just make use of \protect here. +\let\newparagraph=\par +\makeatletter +\NewDocumentEnvironment{@nswer}{m}{\@bsphack\IfStreamOpen{ansout}{}{\openoutputfile{\jobname.ans}{ansout}} +\addtostream{ansout}{\smallskip\newparagraph\noindent\textbf{\protect\ref{problem:#1}.}}}{\@esphack} +\newcounter{howmany@answers} +\setcounter{howmany@answers}{0} +\NewDocumentEnvironment{answer}{m}% +{\stepcounter{howmany@answers}\@bsphack\@nswer{#1}\writeverbatim{ansout}}{\par\endwriteverbatim\end@nswer\@esphack} +\makeatother + +% Colour for the rulings in tables: +\RequirePackage{colortbl} +\newcommand{\defaultArrayRuleColor}{gray!30} +\arrayrulecolor{\defaultArrayRuleColor} +\makeatletter + \def\rulecolor#1#{\CT@arc{#1}} + \def\CT@arc#1#2{% + \ifdim\baselineskip=\z@\noalign\fi + {\gdef\CT@arc@{\color#1{#2}}}} + \let\CT@arc@\relax +\rulecolor{gray!30} +\makeatother + +\RequirePackage{enumitem} +\setlist[enumerate,1]{label=\emph{\alph*.}} +\setlist[enumerate,2]{label=\arabic*., +ref=\theenumi.\emph{\alph*}} +\setlist[enumerate,3]{label=\roman*), ref=\theenumii.\roman*} + +\makeatletter +\NewDocumentCommand\writetitlepage{} +{% + \ifx\mckaybook@title\emptystring + \else + \begingroup + \raggedleft + \vspace*{\baselineskip} + {\Large \mckaybook@author + }\\[0.167\textheight] + \ifx\mckaybook@subtitle\emptystring% + \Huge\heading\mckaybook@title\\[\baselineskip]% + \else% + \Huge\heading\mckaybook@title\\[\baselineskip]% + \Large\heading\mckaybook@subtitle\\[\baselineskip]% + \fi + \normalfont + \vfill + {\Large \today}\par + \vspace*{3\baselineskip} + \endgroup + \fi +}% +\makeatother + +%% \newclr generates a colour based on the current chapter number, so we execute it every time we create a new chapter. It saves that colour in a global color variable called chpclr. This colour is used to highlight the chapter name at the beginning of the chapter and in all of the headings at the top of each page. +\newcommand*{\newcolr}%% +{%% +\newcount\mycount +% First mod out by 15: +\mycount=\value{chapter} +\divide\mycount by 15 +\multiply\mycount by 15 +\multiply\mycount by -1 +\advance\mycount by \value{chapter} +% Second, choose which color scheme to interpolate: +\ifnum\mycount>9 + \advance\mycount -10 + \multiply\mycount by 20 + \xglobal\colorlet{chpclr}{colorAAA!\the\mycount!colorCCC} +\else + \ifnum\mycount>4 + \advance\mycount -5 + \multiply\mycount by 20 + \xglobal\colorlet{chpclr}{colorCCC!\the\mycount!colorBBB} + \else + \multiply\mycount by 20 + \xglobal\colorlet{chpclr}{colorBBB!\the\mycount!colorAAA} + \fi +\fi +}%% +\newlength{\smallboxh} +\newlength{\smallboxd} +\newlength{\smallboxw} +\setlength{\smallboxw}{.1mm} +\settoheight{\smallboxh}{l} +\settodepth{\smallboxd}{l} +\newcommand*{\blanksp}{\phantom{\rule[\smallboxd]{\smallboxw}{\smallboxh}}} + +\newif\ifchaptercolours +\chaptercoloursfalse + +\NewDocumentCommand\smallcolouredbox{}% +{%% +\ifchaptercolours\,{\colorbox{chpclr}{\blanksp}}\,\else\fi +}%% +\RenewDocumentCommand\chapnamefont{m}{\newcolr\large\centering#1} + +\definecolor{colorAAA}{rgb}{.75,1,1} +\definecolor{colorBBB}{rgb}{1,.75,1} +\definecolor{colorCCC}{rgb}{1,1,.75} + + + +\makeatletter +\AtBeginDocument% +{%% +\frontmatter +% Title page +\ifx\mckaybook@title\emptystring +\else + \ifx\mckaybook@subtitle\emptystring% + \title{\MakeUppercase{\mckaybook@title}} + \else + \title{\MakeUppercase{\mckaybook@title} \\ \MakeUppercase{\mckaybook@subtitle}} + \fi + \ifx\mckaybook@author\emptystring% + \else + \author + {% + {% + \LARGE{\mckaybook@author} + }% + \\ + }% + \fi +\fi +\makeatother +\writetitlepage +\thispagestyle{empty} +\pagenumbering{roman} +\makeheadrule{companion}{\headwidth}{0pt} +\makeevenhead{companion}% +{\normalfont\thepage}{}{\small\heading\leftmark\smallcolouredbox\negphantom{\smallcolouredbox}} +\makeoddhead{companion}% +{\small\negphantom{\smallcolouredbox}\smallcolouredbox\heading\rightmark}{}{\normalfont\thepage} + +\setlength{\cftchapterindent}{4cm} +\setlength{\cftpartindent}{4cm} +\pagestyle{empty} +\clearpage{\footnotesize\vspace*{18cm}\par\noindent{\mckaybook@colophon}} +\clearpage +\pagestyle{companion} +}%% + +\NewDocumentCommand\negphantom{m}{\settowidth{\dimen0}{#1}\hspace*{-\dimen0}} + +\NewDocumentCommand\afterpreface{} +{% +\clearpage +\tableofcontents* +\mainmatter +\chaptercolourstrue +\pagenumbering{arabic} +}% + +\NewDocumentCommand\hintsPreamble{}{} +\AtEndDocument% +{%% + +\backmatter +\chaptercoloursfalse +\ifnum\value{howmany@answers}>0\relax% +% Hints for the problems +% Lets add a space in the table of contents. +\chapter{Hints}\label{chp:Hints}% +\hintsPreamble% +\printanswers% +\fi% + +\makeatletter +\ifx\mckaybook@bibliography\emptystring +\else +% Bibliography +\bibliographystyle{amsplain} +\bibliography{\mckaybook@bibliography} +\flushbottom +\fi +\makeatother + +% Notation Index +\ifnum\value{howmany@notation}>0 +\indexintoc +{\RenewDocumentCommand{\indexspace}{}{}\small{\printglossary[not]}} +\cleardoublepage +\fi + +% Index +\ifnum\value{howmany@indexentries}>0 +\indexintoc +\RenewDocumentCommand\indexname{}{Index} +{\small{\printindex}} +\fi + + +}%% AtEndDocument diff --git a/macros/latex/contrib/willowtreebook/willowtreebook.pdf b/macros/latex/contrib/willowtreebook/willowtreebook.pdf Binary files differnew file mode 100644 index 0000000000..b3a61d60a6 --- /dev/null +++ b/macros/latex/contrib/willowtreebook/willowtreebook.pdf diff --git a/macros/latex/contrib/willowtreebook/willowtreebook.tex b/macros/latex/contrib/willowtreebook/willowtreebook.tex new file mode 100644 index 0000000000..f284c8d734 --- /dev/null +++ b/macros/latex/contrib/willowtreebook/willowtreebook.tex @@ -0,0 +1,99 @@ +\documentclass{willowtreebook} +\Title{The Willow Tree Book Class v1.0} +\Author{Benjamin \scotsMc{}Kay} +\Colophon{Released under the \LaTeX{} Public Project License 1.3c} +\BibliographyFile{willowtreebook} +\usepackage{fancyvrb} +\usepackage{inconsolata} +\begin{document} +\includegraphics[width=\textwidth]{willow-2.jpg}% +\chapter{Preface} +The Willow Tree Book class is a simplified derivative of the \verb!memoir! book class. +I use it for my lecture notes. +The document you are reading is in the Willow Tree Book class. +\afterpreface +\chapter{Use} +Here is a typical book using the Willow Tree Book class: +\begin{Verbatim}[frame=leftline] +\documentclass{willowtreebook} +\Title{Odyssey} +\Author{Homer} +\BibliographyFile{odyssey} + % The name of the .bib file, without file extension. +\begin{document} +\chapter{Preface} +This is the preface to my book. +\afterpreface +\chapter{We meet Odysseus} +Tell me, O muse, of that ingenious hero \dots +Thus spoke Minerva, and Ulysses obeyed her gladly. Then Minerva assumed +the form and voice of Mentor, and presently made a covenant of peace +between the two contending parties. +\par\bigskip\noindent +THE END + % End the document without loading the bibliography + % or the index, or the list of notation. +\end{document} +\end{Verbatim} +Compile with \verb!latex! or \verb!pdflatex!. +\chapter{Definitions, Problems and Theorems} +\section{Definitions} +We can define a term like \emph{hamster}\define{hamster}, or say that the term hamster appears again later\SubIndex{hamster}. +We add notation like when we use a variable called \(\omega\), we put it in the list of notation.\Notation{omega}{\omega}{A variable called $\omega$} +\begin{Verbatim}[frame=leftline] +\chapter{Definitions, Problems and Theorems} +\section{Definitions} +We can define a term like \emph{hamster}\define{hamster}, +or say that the term hamster appears again later\SubIndex{hamster}. +\end{Verbatim} +Compile, for a book called \verb!filename.tex!, with +\begin{Verbatim}[frame=leftline] + makeindex filename +\end{Verbatim} +We add notation like when we use a variable called \(\omega\), +we put it in the list of notation.% +\Notation{omega}{\omega}{A variable called $\omega$}. +If you use notation, compile with +\begin{Verbatim}[frame=leftline] + makeindex -s notation.gst -o not.gls not.glo +\end{Verbatim} +\section{Problems} +\begin{problem}{label.for.the.first.problem} +What is the point of your life? +\end{problem} +\begin{answer}{label.for.the.first.problem} +Your life is pointless. +\end{answer} +In problem~\ref{problem:label.for.the.first.problem}, we can clearly see ... +\begin{Verbatim}[frame=leftline] + % We add problems by: +\begin{problem}{label.for.the.first.problem} +What is the point of your life? +\end{problem} + % and answers by: +\begin{answer}{label.for.the.first.problem} +Your life is pointless. +\end{answer} +In problem~\ref{problem:label.for.the.first.problem}, we can clearly see ... +\end{Verbatim} +\chapter{Citations} +Our bibliography file looks like +\VerbatimInput[frame=leftline]{willowtreebook.bib} +We can cite works from the bibliography, like Homer~\cite{Homer:Iliad}, p. 12. +\begin{Verbatim}[frame=leftline] +We can cite works from the bibliography, like Homer~\cite{Homer:Iliad}, p. 12. +\end{Verbatim} +Compile with \verb!bibtex!. +\section{Theorems} +You have the usual theorem environments, like \texttt{amsthm}. +\begin{theorem}[Pythagoras] +In any triangle with sides of lengths \(a,b,c\), \(a^2+b^2=c^2\) just when the angle opposite the side of length \(c\) is a right angle. +\end{theorem} +\begin{Verbatim}[frame=leftline] +\begin{theorem}[Pythagoras] +In any triangle with sides of lengths \(a,b,c\), +\(a^2+b^2=c^2\) just when the angle opposite the +side of length \(c\) is a right angle. +\end{theorem} +\end{Verbatim} +\end{document} diff --git a/macros/xetex/latex/parsa/README.md b/macros/xetex/latex/parsa/README.md index c22ed75a47..12665b01fb 100644 --- a/macros/xetex/latex/parsa/README.md +++ b/macros/xetex/latex/parsa/README.md @@ -1,8 +1,9 @@ ____________________ -# parsa +parsa + A XeLaTeX package for theses and dissertations at Iranian Universities as fast and as efficiently as possible. ______________ -The Parsa package v1.2 +The Parsa package v1.3 While time is limited, preparing theses and dissertations take a lot of time for editing required forms. This package will help you to prepare the forms you need most easily and as soon as possible. @@ -15,7 +16,7 @@ documentation, please use the issue tracker: In doing so, please always explain your issue well enough, and always include a minimal working example showing the issue. -First version release date: 2019/12/12 Current version release date: 2020/3/6 +First version release date: 2019/12/12 Current version release date: 2020/4/22 ______________ Farshad Rasuli @@ -26,4 +27,4 @@ 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. +by Farshad Rasuli.
\ No newline at end of file diff --git a/macros/xetex/latex/parsa/parsa.sty b/macros/xetex/latex/parsa/parsa.sty index 2f09946929..80d0833935 100644 --- a/macros/xetex/latex/parsa/parsa.sty +++ b/macros/xetex/latex/parsa/parsa.sty @@ -1,5 +1,5 @@ %% -%% This is file `parsa.sty', +%% This is file “parsa.sty”, %% %% __________________________________________________ %% Copyright (c) 2019-2020 Farshad Rasuli @@ -21,10 +21,10 @@ -% --- Package structure: Identification +% === Package structure: Identification \NeedsTeXFormat{LaTeX2e} -\def\parsa@version{1.2} -\def\parsadate{2020/3/6} +\def\parsa@version{1.3} +\def\parsadate{2020/4/22} \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] @@ -50,7 +50,7 @@ A XeLaTeX package for theses and dissertations at Iranian Universities as fast a * ^^J% ****************************************************} -% --- Package structure: Options +% === Package structure: Options \newcommand{\ParsaTargetPa}{~} \newcommand{\ParsaTargetLa}{~} \newcommand{\ParsaTypePa}{~} \newcommand{\ParsaTypeLa}{~} \DeclareOption{thesis}{% @@ -67,7 +67,7 @@ for Doctoral degree}% \ProcessOptions\relax -% --- Package structure: Preliminary declarations +% === Package structure: Preliminary declarations \RequirePackage{xparse} \RequirePackage{fancyhdr} @@ -77,14 +77,14 @@ for Doctoral degree}% \RequirePackage{adjustbox} -% --- Package structure: More declarations +% === Package structure: More declarations -% PAGE STYLE + % 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 + % Create [This Page Intentionally Left Blank] by \cleardoublepage command. \newcommand*{\blankpage}{% \vspace*{\fill} {\centering ~\par} @@ -97,7 +97,9 @@ for Doctoral degree}% \if@twocolumn\hbox{}\newpage\fi\fi\fi} \makeatother -% Commands + % Commands + +% Institute's Information \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}}} @@ -114,6 +116,11 @@ for Doctoral degree}% \newcommand{\StudentNamePa}{~} \newcommand{\StudentNameLa}{~} \NewDocumentCommand{\StudentName}{m m}{\renewcommand{\StudentNamePa}{#1} \renewcommand{\StudentNameLa}{#2}\renewcommand{\captiononePa}{نگارنده}\renewcommand{\captiononeLa}{by}} + + + + +% Student's Information \newcommand{\StudentMajorPa}{~} \newcommand{\StudentMajorLa}{~} \NewDocumentCommand{\StudentMajor}{m m}{\renewcommand{\StudentMajorPa}{#1} \renewcommand{\StudentMajorLa}{#2}} @@ -132,6 +139,11 @@ for Doctoral degree}% \newcommand{\Studentemail}{~} \NewDocumentCommand{\StudentEMAIL}{m}{\renewcommand{\Studentemail}{#1}} + + + + +% Parsa Information \newcommand{\ParsaTitlePa}{~} \newcommand{\ParsaTitleLa}{~} \NewDocumentCommand{\ParsaTitle}{m m}{\renewcommand{\ParsaTitlePa}{#1} \renewcommand{\ParsaTitleLa}{#2}} @@ -143,6 +155,11 @@ for Doctoral degree}% \newcommand{\ParsaExamDatePa}{~} \newcommand{\ParsaExamDateLa}{~} \NewDocumentCommand{\ParsaExamDate}{m m}{\renewcommand{\ParsaExamDatePa}{#1} \renewcommand{\ParsaExamDateLa}{#2}} + + + + +% Supervisor \newcommand{\SupervisorNamePa}{~} \newcommand{\SupervisorNameLa}{~} \newcommand{\SupervisorTitlePa}{~} \newcommand{\SupervisorTitleLa}{~} \newcommand{\SupervisorAffiliationPa}{~} \newcommand{\SupervisorAffiliationLa}{~} @@ -152,41 +169,15 @@ for Doctoral degree}% \newcommand{\SupervisorReportPa}{~} \newcommand{\SupervisorReportLa}{~} \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} \\ -\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}}\renewcommand{\SupervisorVspace}{~\\[2mm]}} +\begin{tabular}{p{0.17\textwidth}p{0.28\textwidth}p{0.15\textwidth}p{0.17\textwidth}p{0.1\textwidth}} +\textit{مرتبهٔ علمی} & \textbf{\SupervisorTitlePa} & \textit{شمارهٔ ملی} & \Supervisorid & \multicolumn{1}{c}{امضا} \\ +\textit{وابستگی سازمانی} & \SupervisorAffiliationPa & \textit{رایانامه سازمانی} & \lr{\Supervisoremail} & ~ +\end{tabular} +} \renewcommand{\SupervisorReportLa}{\noindent Supervisor:~\textbf{\SupervisorNameLa} \hrulefill \\ +\begin{tabular}{p{0.11\textwidth}p{0.29\textwidth}p{0.18\textwidth}p{0.17\textwidth}p{0.12\textwidth}} +\textit{Title} & \textbf{\SupervisorTitleLa} & \textit{National ID} & \Supervisorid & \multicolumn{1}{c}{Signature} \\ +\textit{Affiliation} & \SupervisorAffiliationLa & \textit{Official E-Mail} & \Supervisoremail & ~ +\end{tabular}}\renewcommand{\SupervisorVspace}{~\\[0.5mm]}} \NewDocumentCommand{\SupervisorTitle}{m m}{\renewcommand{\SupervisorTitlePa}{#1}\renewcommand{\SupervisorTitleLa}{#2}} @@ -196,6 +187,11 @@ Signature \NewDocumentCommand{\SupervisorEMAIL}{m}{\renewcommand{\Supervisoremail}{#1}} + + + + +% 2nd Supervisor \newcommand{\SecondSupervisorNamePa}{~} \newcommand{\SecondSupervisorNameLa}{~} \newcommand{\SecondSupervisorTitlePa}{~} \newcommand{\SecondSupervisorTitleLa}{~} \newcommand{\SecondSupervisorAffiliationPa}{~} \newcommand{\SecondSupervisorAffiliationLa}{~} @@ -204,41 +200,15 @@ Signature \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} -\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 Second 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}}\renewcommand{\SecondSupervisorVspace}{~\\[2mm]}} +\begin{tabular}{p{0.17\textwidth}p{0.28\textwidth}p{0.15\textwidth}p{0.17\textwidth}p{0.1\textwidth}} +\textit{مرتبهٔ علمی} & \textbf{\SecondSupervisorTitlePa} & \textit{شمارهٔ ملی} & \SecondSupervisorid & \multicolumn{1}{c}{امضا} \\ +\textit{وابستگی سازمانی} & \SecondSupervisorAffiliationPa & \textit{رایانامه سازمانی} & \lr{\SecondSupervisoremail} & ~ +\end{tabular} +} \renewcommand{\SecondSupervisorReportLa}{\noindent Second Supervisor:~\textbf{\SecondSupervisorNameLa} \hrulefill \\ +\begin{tabular}{p{0.11\textwidth}p{0.29\textwidth}p{0.18\textwidth}p{0.17\textwidth}p{0.12\textwidth}} +\textit{Title} & \textbf{\SecondSupervisorTitleLa} & \textit{National ID} & \SecondSupervisorid & \multicolumn{1}{c}{Signature} \\ +\textit{Affiliation} & \SecondSupervisorAffiliationLa & \textit{Official E-Mail} & \SecondSupervisoremail & ~ +\end{tabular} }\renewcommand{\SecondSupervisorVspace}{~\\[0.5mm]}} \NewDocumentCommand{\SecondSupervisorTitle}{m m}{\renewcommand{\SecondSupervisorTitlePa}{#1}\renewcommand{\SecondSupervisorTitleLa}{#2}} @@ -248,6 +218,11 @@ Signature \NewDocumentCommand{\SecondSupervisorEMAIL}{m}{\renewcommand{\SecondSupervisoremail}{#1}} + + + + +% Co-supervisor \newcommand{\CosupervisorNamePa}{~} \newcommand{\CosupervisorNameLa}{~} \newcommand{\CosupervisorTitlePa}{~} \newcommand{\CosupervisorTitleLa}{~} \newcommand{\CosupervisorAffiliationPa}{~} \newcommand{\CosupervisorAffiliationLa}{~} @@ -257,41 +232,15 @@ Signature \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} -\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}}\renewcommand{\CosupervisorVspace}{~\\[2mm]}} +\begin{tabular}{p{0.17\textwidth}p{0.28\textwidth}p{0.15\textwidth}p{0.17\textwidth}p{0.1\textwidth}} +\textit{مرتبهٔ علمی} & \textbf{\CosupervisorTitlePa} & \textit{شمارهٔ ملی} & \Cosupervisorid & \multicolumn{1}{c}{امضا} \\ +\textit{وابستگی سازمانی} & \CosupervisorAffiliationPa & \textit{رایانامه سازمانی} & \lr{\Cosupervisoremail} & ~ +\end{tabular} +} \renewcommand{\CosupervisorReportLa}{\noindent Co-supervisor:~\textbf{\CosupervisorNameLa} \hrulefill \\ +\begin{tabular}{p{0.11\textwidth}p{0.29\textwidth}p{0.18\textwidth}p{0.17\textwidth}p{0.12\textwidth}} +\textit{Title} & \textbf{\CosupervisorTitleLa} & \textit{National ID} & \Cosupervisorid & \multicolumn{1}{c}{Signature} \\ +\textit{Affiliation} & \CosupervisorAffiliationLa & \textit{Official E-Mail} & \Cosupervisoremail & ~ +\end{tabular} }\renewcommand{\CosupervisorVspace}{~\\[0.5mm]}} \NewDocumentCommand{\CosupervisorTitle}{m m}{\renewcommand{\CosupervisorTitlePa}{#1}\renewcommand{\CosupervisorTitleLa}{#2}} @@ -301,6 +250,12 @@ Signature \NewDocumentCommand{\CosupervisorEMAIL}{m}{\renewcommand{\Cosupervisoremail}{#1}} + + + + + +% 2nd Co-supervisor \newcommand{\SecondCosupervisorNamePa}{~} \newcommand{\SecondCosupervisorNameLa}{~} \newcommand{\SecondCosupervisorTitlePa}{~} \newcommand{\SecondCosupervisorTitleLa}{~} \newcommand{\SecondCosupervisorAffiliationPa}{~} \newcommand{\SecondCosupervisorAffiliationLa}{~} @@ -309,41 +264,15 @@ Signature \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} -\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 Second 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}}\renewcommand{\SecondCosupervisorVspace}{~\\[2mm]}} +\begin{tabular}{p{0.17\textwidth}p{0.28\textwidth}p{0.15\textwidth}p{0.17\textwidth}p{0.1\textwidth}} +\textit{مرتبهٔ علمی} & \textbf{\SecondCosupervisorTitlePa} & \textit{شمارهٔ ملی} & \SecondCosupervisorid & \multicolumn{1}{c}{امضا} \\ +\textit{وابستگی سازمانی} & \SecondCosupervisorAffiliationPa & \textit{رایانامه سازمانی} & \lr{\SecondCosupervisoremail} & ~ +\end{tabular} +} \renewcommand{\SecondCosupervisorReportLa}{\noindent Second Co-supervisor:~\textbf{\SecondCosupervisorNameLa} \hrulefill \\ +\begin{tabular}{p{0.11\textwidth}p{0.29\textwidth}p{0.18\textwidth}p{0.17\textwidth}p{0.12\textwidth}} +\textit{Title} & \textbf{\SecondCosupervisorTitleLa} & \textit{National ID} & \SecondCosupervisorid & \multicolumn{1}{c}{Signature} \\ +\textit{Affiliation} & \SecondCosupervisorAffiliationLa & \textit{Official E-Mail} & \SecondCosupervisoremail & ~ +\end{tabular} }\renewcommand{\SecondCosupervisorVspace}{~\\[0.5mm]}} \NewDocumentCommand{\SecondCosupervisorTitle}{m m}{\renewcommand{\SecondCosupervisorTitlePa}{#1}\renewcommand{\SecondCosupervisorTitleLa}{#2}} @@ -353,6 +282,12 @@ Signature \NewDocumentCommand{\SecondCosupervisorEMAIL}{m}{\renewcommand{\SecondCosupervisoremail}{#1}} + + + + + +% 1st Examiner \newcommand{\FirstExaminerNamePa}{~} \newcommand{\FirstExaminerNameLa}{~} \newcommand{\FirstExaminerTitlePa}{~} \newcommand{\FirstExaminerTitleLa}{~} \newcommand{\FirstExaminerAffiliationPa}{~} \newcommand{\FirstExaminerAffiliationLa}{~} @@ -361,41 +296,15 @@ Signature \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} -\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 First 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}}\renewcommand{\FirstExaminerVspace}{~\\[2mm]}} +\begin{tabular}{p{0.17\textwidth}p{0.28\textwidth}p{0.15\textwidth}p{0.17\textwidth}p{0.1\textwidth}} +\textit{مرتبهٔ علمی} & \textbf{\FirstExaminerTitlePa} & \textit{شمارهٔ ملی} & \FirstExaminerid & \multicolumn{1}{c}{امضا} \\ +\textit{وابستگی سازمانی} & \FirstExaminerAffiliationPa & \textit{رایانامه سازمانی} & \lr{\FirstExamineremail} & ~ +\end{tabular} +} \renewcommand{\FirstExaminerReportLa}{\noindent First Examiner:~\textbf{\FirstExaminerNameLa} \hrulefill \\ +\begin{tabular}{p{0.11\textwidth}p{0.29\textwidth}p{0.18\textwidth}p{0.17\textwidth}p{0.12\textwidth}} +\textit{Title} & \textbf{\FirstExaminerTitleLa} & \textit{National ID} & \FirstExaminerid & \multicolumn{1}{c}{Signature} \\ +\textit{Affiliation} & \FirstExaminerAffiliationLa & \textit{Official E-Mail} & \FirstExamineremail & ~ +\end{tabular} }\renewcommand{\FirstExaminerVspace}{~\\[0.5mm]}} \NewDocumentCommand{\FirstExaminerTitle}{m m}{\renewcommand{\FirstExaminerTitlePa}{#1}\renewcommand{\FirstExaminerTitleLa}{#2}} @@ -405,6 +314,12 @@ Signature \NewDocumentCommand{\FirstExaminerEMAIL}{m}{\renewcommand{\FirstExamineremail}{#1}} + + + + + +% 2nd Examiner \newcommand{\SecondExaminerNamePa}{~} \newcommand{\SecondExaminerNameLa}{~} \newcommand{\SecondExaminerTitlePa}{~} \newcommand{\SecondExaminerTitleLa}{~} \newcommand{\SecondExaminerAffiliationPa}{~} \newcommand{\SecondExaminerAffiliationLa}{~} @@ -413,41 +328,15 @@ Signature \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} -\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} +\begin{tabular}{p{0.17\textwidth}p{0.28\textwidth}p{0.15\textwidth}p{0.17\textwidth}p{0.1\textwidth}} +\textit{مرتبهٔ علمی} & \textbf{\SecondExaminerTitlePa} & \textit{شمارهٔ ملی} & \SecondExaminerid & \multicolumn{1}{c}{امضا} \\ +\textit{وابستگی سازمانی} & \SecondExaminerAffiliationPa & \textit{رایانامه سازمانی} & \lr{\SecondExamineremail} & ~ +\end{tabular} }\renewcommand{\SecondExaminerReportLa}{\noindent Second 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}}\renewcommand{\SecondExaminerVspace}{~\\[2mm]}} +\begin{tabular}{p{0.11\textwidth}p{0.29\textwidth}p{0.18\textwidth}p{0.17\textwidth}p{0.12\textwidth}} +\textit{Title} & \textbf{\SecondExaminerTitleLa} & \textit{National ID} & \SecondExaminerid & \multicolumn{1}{c}{Signature} \\ +\textit{Affiliation} & \SecondExaminerAffiliationLa & \textit{Official E-Mail} & \SecondExamineremail & ~ +\end{tabular}}\renewcommand{\SecondExaminerVspace}{~\\[0.5mm]}} \NewDocumentCommand{\SecondExaminerTitle}{m m}{\renewcommand{\SecondExaminerTitlePa}{#1}\renewcommand{\SecondExaminerTitleLa}{#2}} @@ -457,6 +346,12 @@ Signature \NewDocumentCommand{\SecondExaminerEMAIL}{m}{\renewcommand{\SecondExamineremail}{#1}} + + + + + +% 3rd Examiner \newcommand{\ThirdExaminerNamePa}{~} \newcommand{\ThirdExaminerNameLa}{~} \newcommand{\ThirdExaminerTitlePa}{~} \newcommand{\ThirdExaminerTitleLa}{~} \newcommand{\ThirdExaminerAffiliationPa}{~} \newcommand{\ThirdExaminerAffiliationLa}{~} @@ -465,41 +360,15 @@ Signature \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} -\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} +\begin{tabular}{p{0.17\textwidth}p{0.28\textwidth}p{0.15\textwidth}p{0.17\textwidth}p{0.1\textwidth}} +\textit{مرتبهٔ علمی} & \textbf{\ThirdExaminerTitlePa} & \textit{شمارهٔ ملی} & \ThirdExaminerid & \multicolumn{1}{c}{امضا} \\ +\textit{وابستگی سازمانی} & \ThirdExaminerAffiliationPa & \textit{رایانامه سازمانی} & \lr{\ThirdExamineremail} & ~ +\end{tabular} }\renewcommand{\ThirdExaminerReportLa}{\noindent Third 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}}\renewcommand{\ThirdExaminerVspace}{~\\[2mm]}} +\begin{tabular}{p{0.11\textwidth}p{0.29\textwidth}p{0.18\textwidth}p{0.17\textwidth}p{0.12\textwidth}} +\textit{Title} & \textbf{\ThirdExaminerTitleLa} & \textit{National ID} & \ThirdExaminerid & \multicolumn{1}{c}{Signature} \\ +\textit{Affiliation} & \ThirdExaminerAffiliationLa & \textit{Official E-Mail} & \ThirdExamineremail & ~ +\end{tabular} }\renewcommand{\ThirdExaminerVspace}{~\\[0.5mm]}} \NewDocumentCommand{\ThirdExaminerTitle}{m m}{\renewcommand{\ThirdExaminerTitlePa}{#1}\renewcommand{\ThirdExaminerTitleLa}{#2}} @@ -509,37 +378,28 @@ Signature \NewDocumentCommand{\ThirdExaminerEMAIL}{m}{\renewcommand{\ThirdExamineremail}{#1}} + + + + + +% Representative \newcommand{\RepresentativeNamePa}{~} \newcommand{\RepresentativeNameLa}{~} \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} -\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} +\begin{tabular}{p{0.15\textwidth}p{0.52\textwidth}p{0.2\textwidth}} +\textit{نام کامل} & \textbf{\RepresentativeNamePa} & \\ +\textit{رایانامه سازمانی} & \lr{\Representativeemail} & \multicolumn{1}{c}{امضا} \\ +\textit{شمارهٔ ملی} & \Representativeid & +\end{tabular} }\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}}\renewcommand{\RepresentativeVspace}{~\\[2mm]}} +\begin{tabular}{p{0.18\textwidth}p{0.49\textwidth}p{0.20\textwidth}} +\textit{Full Name} & \textbf{\RepresentativeNameLa} & \\ +\textit{Official E-Mail} & \Representativeemail & \multicolumn{1}{c}{Signature} \\ +\textit{National ID} & \Representativeid & +\end{tabular} } } \NewDocumentCommand{\RepresentativeTitle}{m m}{\renewcommand{\RepresentativeTitlePa}{#1}\renewcommand{\RepresentativeTitleLa}{#2}} @@ -549,6 +409,11 @@ Signature \NewDocumentCommand{\RepresentativeEMAIL}{m}{\renewcommand{\Representativeemail}{#1}} + + + + +% Persian Title Page \NewDocumentCommand{\titlepageParsi}{}{\begin{center} \InstituteLogoPa ~\\[0.25cm] \InstitutePa ~\\ @@ -572,6 +437,12 @@ Signature \textbf{\ParsaCompilationDatePa} \end{center}} + + + + + +% Latin Title Page \NewDocumentCommand{\titlepageLatin}{}{\begin{latin} \begin{center} \InstituteLogoLa ~\\[0.25cm] \InstituteLa ~\\ @@ -595,11 +466,21 @@ Signature \textbf{\ParsaCompilationDateLa} \end{center} \end{latin}} + + + + +%Persian Abstract \NewDocumentEnvironment{ParsaAbstractParsi}{+b}{ -\section*{چکیده} +\section*{چکیده} \addcontentsline{toc}{chapter}{چکیده} #1 \vspace*{\fill}}{} + + + + +% Latin Abstract \NewDocumentEnvironment{ParsaAbstractLatin}{+b}{ \begin{latin} \section*{Abstract} @@ -607,10 +488,20 @@ Signature \end{latin} \vspace*{\fill}}{} + + + + +% Page of In the name of god \newcommand{\parsapicture}{~} \NewDocumentCommand{\ParsaPicture}{m}{~\newpage \vspace*{\fill} \includegraphics[width=\textwidth]{#1} ~ \vspace*{\fill} ~\newpage} + + + + +% Credit \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}، بر پایهی قوانین و مقررات، از جمله «دستورالعمل نحوهی بررسی تخلفات پژوهشی» و «مصادیق تخلفات پژوهشی» مصوب ۲۵ اسفند ۱۳۹۳ وزارت علوم، تحقیقات و فناوری، متعهد میشوم که: @@ -628,6 +519,11 @@ Signature این گزارش و همهی حقوق مادی و محصولات آن (مقالهها، کتابها، پروانههای اختراع، برنامههای رایانهای، نرمافزارها، تجهیزات ساخته شده و مانند آنها) بر پایهی «قانون حمایت حقوق مولفان و مصنفان و هنرمندان» مصوب سال ۱۳۴۸ و اصلاحیههای بعدی آن و همچنین «آئیننامهی اجرایی این قانون» از آن ~\InstitutePa ~ است و هرگونه استفاده از همه یا پارهای از آن شامل نقلقول، تکثیر، انتشار، کاربرد نتایج، تکمیل و مانند آنها به صورت چاپی، الکترونیکی یا وسایل دیگر، تنها با اجازه نوشتاری ~\InstitutePa ~ شدنیاست. نقلقول محدود در انتشارات علمی مانند کتابها و مقالهها یا پایاننامهها و رسالههای دیگر با نوشتن اطلاعات کامل کتابشناختی، نیازی به مجوز ~\InstitutePa ~ ندارد. \end{minipage}} + + + + +% Persian Examination Report \NewDocumentCommand{\ExaminationReportPa}{}{ \begin{table}[H] \adjustbox{pagecenter}{ \begin{tabular}{ccc} @@ -636,71 +532,95 @@ Signature & صورت جلسهی دفاع از \ParsaTypePa ~\StudentDegreePa & \ParsaExamDatePa \end{tabular} } \end{table} -\begin{minipage}{1\textwidth} -\begin{flushright} \begin{tabular}{p{0.2\textwidth}p{0.75\textwidth}} +\begin{minipage}{1\textwidth} \begin{flushright} +\begin{tabular}{p{0.23\textwidth}p{0.66\textwidth}} \textit{نام کامل دانشآموخته} & \textbf{\StudentNamePa} \\ \textit{رشتهی تحصیلی} & \StudentMajorPa ~\StudentMinorPa \\ \textit{شماره ملی} & \Studentid \\ \textit{رایانامه شخصی} & \Studentemail \\ \textit{عنوان \ParsaTypePa :} & \textbf{\ParsaTitlePa} -\end{tabular} \end{flushright} +\end{tabular} +\end{flushright} \end{minipage} ~\\ + +\begin{minipage}{1\textwidth} \begin{center} \textbf{ هیئت داوران پس از شنیدن گزارش و دفاع دانشجو، \ParsaTypePa ی وی را داوری کرده \\ و با درجهی عالی $\bigcirc$ بسیار خوب $\bigcirc$ خوب $\bigcirc$ پذیرفتهنشده $\bigcirc$ ارزیابی کرد. -} \end{center} \end{minipage} ~\\ +} \end{center} +\end{minipage} ~\\ -\SupervisorReportPa \SupervisorVspace -\SecondSupervisorReportPa \SecondSupervisorVspace -\CosupervisorReportPa \CosupervisorVspace +\SupervisorReportPa \SupervisorVspace +\SecondSupervisorReportPa \SecondSupervisorVspace +\CosupervisorReportPa \CosupervisorVspace \SecondCosupervisorReportPa \SecondCosupervisorVspace -\FirstExaminerReportPa \FirstExaminerVspace -\SecondExaminerReportPa \SecondExaminerVspace -\ThirdExaminerReportPa \ThirdExaminerVspace -\RepresentativeReportPa \RepresentativeVspace} +\FirstExaminerReportPa \FirstExaminerVspace +\SecondExaminerReportPa \SecondExaminerVspace +\ThirdExaminerReportPa \ThirdExaminerVspace +\RepresentativeReportPa } + + + + +% Latin Examination Report \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 +\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 \\ +\begin{tabular}{p{0.2\textwidth}p{0.7\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} +\end{tabular} +\end{minipage} ~\\ + +\begin{minipage}{0.9\textwidth} \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} ~\\ +} \end{center} +\end{minipage} ~\\ -\SupervisorReportLa \SupervisorVspace -\SecondSupervisorReportLa \SecondSupervisorVspace -\CosupervisorReportLa \CosupervisorVspace +\SupervisorReportLa \SupervisorVspace +\SecondSupervisorReportLa \SecondSupervisorVspace +\CosupervisorReportLa \CosupervisorVspace \SecondCosupervisorReportLa \SecondCosupervisorVspace -\FirstExaminerReportLa \FirstExaminerVspace -\SecondExaminerReportLa \SecondExaminerVspace -\ThirdExaminerReportLa \ThirdExaminerVspace -\RepresentativeReportLa \RepresentativeVspace \end{latin}} +\FirstExaminerReportLa \FirstExaminerVspace +\SecondExaminerReportLa \SecondExaminerVspace +\ThirdExaminerReportLa \ThirdExaminerVspace +\RepresentativeReportLa \end{latin}} + -\NewDocumentCommand{\ParsaCopyleft}{}{\begin{center} \begin{minipage}{0.8\textwidth} + + + + +% Copyleft Page +\NewDocumentCommand{\ParsaCopyleft}{}{\begin{center} \begin{minipage}{0.67\textwidth} \section*{\centering مجوز بهرهبرداری} بهرهبرداری از این \ParsaTypePa ~در چهارچوب مقررات کتابخانه و با توجه به محدودیتی که توسط استاد راهنما به شرح زیر تعیین میگردد، بلامانع است:\\ \begin{itemize} \item[$\bigcirc$] بهرهبرداری از این \ParsaTypePa ~برای همگان و با ذکر منبع، بلامانع است. \item[$\bigcirc$] بهرهبرداری از این \ParsaTypePa ~با اخذ مجوز از استاد راهنما و با ذکر منبع، بلامانع است. -\item[$\bigcirc$] بهرهبرداری از این \ParsaTypePa ~تا تاریخ \hspace{35mm} ممنوع است. +\item[$\bigcirc$] بهرهبرداری از این \ParsaTypePa ~تا تاریخ .................... ممنوع است. \end{itemize} \begin{center} استاد راهنما: \SupervisorNamePa \\ امضا \end{center} \end{minipage} \end{center} } + + + + +% Dedicate \NewDocumentCommand{\ParsaDedicate}{+m}{ \vspace*{\fill} \begin{center} @@ -710,11 +630,21 @@ Excellent $\bigcirc$ Very Good $\bigcirc$ Good $\bigcirc$ Not Acceptable $\bigci \end{center} \vspace*{\fill}} + + + + +% Acknowledgment \NewDocumentEnvironment{ParsaAcknowledgment}{+b}{ \chapter*{\centering سپاسگزاری} \addcontentsline{toc}{chapter}{سپاسگزاری} \thispagestyle{empty} #1}{} + + + + +% CV \NewDocumentEnvironment{ParsaCV}{+b}{\newpage \vspace*{\fill} \begin{center} @@ -722,4 +652,4 @@ Excellent $\bigcirc$ Very Good $\bigcirc$ Good $\bigcirc$ Not Acceptable $\bigci #1 \end{minipage} \end{center} -\vspace*{\fill}\newpage}{}
\ No newline at end of file +\vspace*{\fill}\newpage}{} |