From a4ba8b9d5e456c4fb21da286fc063ebab747a7a9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 10 Nov 2018 22:19:58 +0000 Subject: thesis-qom (10nov18) git-svn-id: svn://tug.org/texlive/trunk@49124 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/thesis-qom/README | 4 ++-- .../doc/xelatex/thesis-qom/bib-index.tex | 4 ++-- .../doc/xelatex/thesis-qom/installation.tex | 2 ++ .../doc/xelatex/thesis-qom/latexCommands.tex | 6 ++---- .../doc/xelatex/thesis-qom/morelatex.tex | 13 +++++-------- .../texmf-dist/doc/xelatex/thesis-qom/qomlogo.png | Bin 282147 -> 0 bytes .../doc/xelatex/thesis-qom/thesis-qom.pdf | Bin 922226 -> 921637 bytes .../tex/xelatex/thesis-qom/thesis-qom.cls | 16 +++++++++------- 8 files changed, 22 insertions(+), 23 deletions(-) delete mode 100644 Master/texmf-dist/doc/xelatex/thesis-qom/qomlogo.png diff --git a/Master/texmf-dist/doc/xelatex/thesis-qom/README b/Master/texmf-dist/doc/xelatex/thesis-qom/README index de06100a6dc..106e2d65860 100644 --- a/Master/texmf-dist/doc/xelatex/thesis-qom/README +++ b/Master/texmf-dist/doc/xelatex/thesis-qom/README @@ -1,12 +1,12 @@ these-qom; Thesis style of the University of Qom, Iran. -ver 0.41 +ver 0.42 _____________________ The class has been written for the University of Qom students who want to write their projects, theses, and dissertations. For more information, please see the documentation. -Current version release date: 2018/10/15 +Current version release date: 2018/11/10 The style assumes that the user has the following fonts installed on its system: XB Niloofar, IranNastaliq, IRlotus, XB Zar, XB Titre, Yas. diff --git a/Master/texmf-dist/doc/xelatex/thesis-qom/bib-index.tex b/Master/texmf-dist/doc/xelatex/thesis-qom/bib-index.tex index 475618188b7..1927e534cc9 100644 --- a/Master/texmf-dist/doc/xelatex/thesis-qom/bib-index.tex +++ b/Master/texmf-dist/doc/xelatex/thesis-qom/bib-index.tex @@ -63,7 +63,7 @@ می‌افزاییم. تنها تفاوت در اینجا اضافه‌شدن یک فیلد دیگر برای تعیین \linebreak زبان حروفچینی مدخل است که در اینجا مقصود زبان پارسی است. لذا باید فیلد \linebreak \Verb+LANGUAGE={Persian}+ را به مداخل فارسی خود نیز بیفزاییم. - \begin{LTR} + \begin{latin} \begin{Verbatim}[commandchars=+\[\]] @article{manifold, title= {+rl[هندسه منیفلد]}, @@ -73,7 +73,7 @@ LANGUAGE={Persian} } \end{Verbatim} - \end{LTR} + \end{latin} \subsection{حذف مداخل} در صورتی که بخواهید مدخلی را از فایل مراجع خود به صورت موقتی حذف نمایید لازم به حذف کل اطلاعات مدخل مورد نظر نیست بلکه تنها diff --git a/Master/texmf-dist/doc/xelatex/thesis-qom/installation.tex b/Master/texmf-dist/doc/xelatex/thesis-qom/installation.tex index c4a860e2b90..8219664e00b 100644 --- a/Master/texmf-dist/doc/xelatex/thesis-qom/installation.tex +++ b/Master/texmf-dist/doc/xelatex/thesis-qom/installation.tex @@ -130,11 +130,13 @@ حال با زدن کلید \lr{F6} در ادیتور، پنجره اجرای دستور باز می‌شود. نمونه دستوری که می‌توانید وارد کنید به صورت زیر است: +\begin{latin} \begin{Verbatim} NPP_SAVE cd $(CURRENT_DIRECTORY) xelatex --shell-escape $(NAME_PART) \end{Verbatim} +\end{latin} برای تایپ از راست به چپ کلیدهای \lr{Alt+CTRL+R} را بزنید و برای از چپ به راست نویسی کلیدهای \lr{Alt+Ctrl+L} را بزنید. diff --git a/Master/texmf-dist/doc/xelatex/thesis-qom/latexCommands.tex b/Master/texmf-dist/doc/xelatex/thesis-qom/latexCommands.tex index 48a90481dc9..b85704ed855 100644 --- a/Master/texmf-dist/doc/xelatex/thesis-qom/latexCommands.tex +++ b/Master/texmf-dist/doc/xelatex/thesis-qom/latexCommands.tex @@ -183,15 +183,13 @@ $$U:=\left\lbrace U\in O: U=\uparrow U\right\rbrace $$ در لاتک به راحتی می‌توان مراجع خود را نوشت و به آن‌ها ارجاع داد. به عنوان مثال برای معرفی کتاب گنزالس \cite{Gonzalez02book} به عنوان یک مرجع می‌توان آن را به صورت زیر معرفی نمود: -%\singlespacing -\begin{LTR} +\begin{latin} \begin{Verbatim} \bibitem{Gonzalez02book} Gonzalez, R.C., and Woods, R.E. {\em Digital Image Processing}, 3rd ed., Prentice-Hall, Inc., Upper Saddle River, NJ, USA, 2006. \end{Verbatim} -\end{LTR} -%\doublespacing +\end{latin} در دستورات فوق \lr{Gonzalez02book} برچسبی است که به‌این مرجع داده شده است و با استفاده از دستور \Verb!\cite{Gonzalez02book}! می توان به آن ارجاع داد؛ بدون این که شماره‌اش را در فهرست مراجع بدانیم. diff --git a/Master/texmf-dist/doc/xelatex/thesis-qom/morelatex.tex b/Master/texmf-dist/doc/xelatex/thesis-qom/morelatex.tex index 778d4fa1347..4a42224ad39 100644 --- a/Master/texmf-dist/doc/xelatex/thesis-qom/morelatex.tex +++ b/Master/texmf-dist/doc/xelatex/thesis-qom/morelatex.tex @@ -43,6 +43,7 @@ برای استفاده از بیب‌تک باید مراجع خود را در یک فایل با پسوند \lr{bib} ذخیره نمایید. یک فایل \lr{bib} در واقع یک پایگاه داده از مراجع\LTRfootnote{Bibliography Database} شماست که هر مرجع در آن به عنوان یک رکورد از این پایگاه داده با قالبی خاص ذخیره می‌شود. به هر رکورد یک مدخل\LTRfootnote{Entry} گفته می‌شود. یک نمونه مدخل برای معرفی کتاب \lr{Digital Image Processing} در ادامه آمده است: +\begin{latin} \begin{Verbatim} @BOOK{Gonzalez02image, AUTHOR = {Rafael Gonzalez and Richard Woods}, @@ -53,6 +54,7 @@ ADDRESS = {Upper Saddle River, NJ, USA} } \end{Verbatim} +\end{latin} در مثال فوق، \lr{@BOOK} مشخصهٔ شروع یک مدخل مربوط به یک کتاب و \lr{Gonzalez02book} برچسبی است که به‌این مرجع منتسب شده است. این برچسب بایستی یکتا باشد. برای آنکه فرد به راحتی بتواند برچسب مراجع خود را به خاطر بسپارد و حتی‌الامکان برچسب‌ها متفاوت با هم باشند معمولاً از قوانین خاصی به‌این منظور استفاده می‌شود. یک قانون می‌تواند فامیل نویسندهٔ اول+دو رقم سال نشر+اولین کلمهٔ عنوان اثر باشد. به \lr{AUTHOR} و $\dots$ و \lr{ADDRESS} فیلدهای این مدخل گفته می‌شود؛ که هر یک با مقادیر مربوط به مرجع مقدار گرفته‌اند. ترتیب فیلدها مهم نیست. @@ -145,9 +147,9 @@ $\mathbf{x}_i\leftrightarrow\mathbf{x}'_i$ درج کد به زبانهای مختلف نیز به سادگی امکان‌پذیر است. برنامه \ref{Code:MATLAB1} یک قطعه کد \lr{MATLAB} را نشان می‌دهد. -%\begin{figure} -%\begin{latin} -\begin{lstlisting}[language=MATLAB,breaklines=true,numbers=right, numberstyle=\footnotesize, numbersep=-10pt, frame=single, breakatwhitespace=false, + +\pagebreak +\begin{lstlisting}[language=MATLAB,breaklines=true,numbers=right, numberstyle=\footnotesize, numbersep=-10pt, frame=single, breakatwhitespace=false, caption={نمونه کد \lr{MATLAB}},label={Code:MATLAB1}] % define a continuous function f = '4*sin(2*pi*t)'; @@ -156,11 +158,6 @@ for i=1:10 disp(i) end \end{lstlisting} -%\end{latin} - - -%\end{figure} -%\doublespacing \section{فرمول‌های ریاضی} diff --git a/Master/texmf-dist/doc/xelatex/thesis-qom/qomlogo.png b/Master/texmf-dist/doc/xelatex/thesis-qom/qomlogo.png deleted file mode 100644 index afdbb7a3af6..00000000000 Binary files a/Master/texmf-dist/doc/xelatex/thesis-qom/qomlogo.png and /dev/null differ diff --git a/Master/texmf-dist/doc/xelatex/thesis-qom/thesis-qom.pdf b/Master/texmf-dist/doc/xelatex/thesis-qom/thesis-qom.pdf index 8d6e5d75cd4..5f93705603b 100644 Binary files a/Master/texmf-dist/doc/xelatex/thesis-qom/thesis-qom.pdf and b/Master/texmf-dist/doc/xelatex/thesis-qom/thesis-qom.pdf differ diff --git a/Master/texmf-dist/tex/xelatex/thesis-qom/thesis-qom.cls b/Master/texmf-dist/tex/xelatex/thesis-qom/thesis-qom.cls index 420aac46e2f..e96a15e7319 100644 --- a/Master/texmf-dist/tex/xelatex/thesis-qom/thesis-qom.cls +++ b/Master/texmf-dist/tex/xelatex/thesis-qom/thesis-qom.cls @@ -1,4 +1,4 @@ -%%% Version 0.41 +%%% Version 0.42 %%% This work is inspired by `Tabriz_thesis.cls' by Vahid Damanafshan, %%% `yazd-thesis.cls' by Vahid Damanafshan, `KNTU_thesis.cls' by Farschad Torabi, and %%% `aut-thesis' by Vafa Khalighi. @@ -10,6 +10,8 @@ %%% __________________________________ %%% %%% Change Log: +%%% ver 0.42, Nov 10th, 2018 +%%% logo is replaced by logo.jpg because of a conflict with ls-R databese. %%% ver 0.41, Oct 15th, 2018 %%% thesis-qom.pdf is now attached to the class documentation. %%% ver 0.4, Oct 12th, 2018 @@ -49,8 +51,8 @@ %%% First Release \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\def\qom@thesis@date{2018/10/15} -\def\qom@thesis@version{0.41} +\def\qom@thesis@date{2018/11/10} +\def\qom@thesis@version{0.42} \ProvidesClass{thesis-qom}[% \qom@thesis@date\space version\qom@thesis@version\space University of Qom thesis class% @@ -504,7 +506,7 @@ bookmarksnumbered = true \baselineskip=.76cm \begin{center} \setlength{\baselineskip}{.7\baselineskip} - {\zarfont\fontsize{12}{14}\selectfont\includegraphics[width=2cm, height=2cm]{logo}\\ دانشگاه قم}\\ + {\zarfont\fontsize{12}{14}\selectfont\includegraphics[width=2cm, height=2cm]{logo.jpg}\\ دانشگاه قم}\\ {\bfseries\titrfont مدیریت تحصیلات تکمیلی\\ «تعهدنامه اصالت \ifcase\qom@thesistype{رساله}\or{پایان‌نامه}\fi»} @@ -583,7 +585,7 @@ bookmarksnumbered = true % \begin{center} \begingroup \centerline{\zarfont%\fontsize{12}{14}\selectfont - \includegraphics[width=2cm, height=2cm]{logo} %\\ دانشگاه قم\\ + \includegraphics[width=2cm, height=2cm]{logo.jpg} %\\ دانشگاه قم\\ }%\par%[5pt] \centerline{\titrfont\bfseries «صورت جلسه دفاع از \ifcase\qom@thesistype{رساله دکتری}\or{پایان‌نامه کارشناسی ارشد}\fi»} \endgroup @@ -720,7 +722,7 @@ bookmarksnumbered = true %%%%%%%%%%%%%%% صفحه عنوان %%%%%%%%%%%%%%% \begin{preamblepage} \begin{titlepage} - {\zarfont\fontsize{12}{14}\selectfont\includegraphics[width=2cm, height=2cm]{logo}\\[-7pt] \bfseries دانشگاه قم} + {\zarfont\fontsize{12}{14}\selectfont\includegraphics[width=2cm, height=2cm]{logo.jpg}\\[-7pt] \bfseries دانشگاه قم} \\[-5pt] {\zarfont\fontsize{12}{14}\selectfont\bfseries دانشکده \ifx\@faculty\undefined\qom@dotline{علوم ریاضی}\else\@faculty\fi @@ -1144,7 +1146,7 @@ bookmarksnumbered = true \begin{preamblepage} \begin{titlepage} \begin{latin} - {\fontsize{12}{14}\selectfont\includegraphics[width=2cm, height=2cm]{logo}\\ The University of Qom} + {\fontsize{12}{14}\selectfont\includegraphics[width=2cm, height=2cm]{logo.jpg}\\ The University of Qom} \\[5pt] {\fontsize{12}{14}\selectfont Faculty of \ifx\@faculty@english\undefined\qom@dotline{Mathematics}\else\@faculty@english\fi -- cgit v1.2.3