diff options
author | Karl Berry <karl@freefriends.org> | 2023-06-04 19:58:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-06-04 19:58:10 +0000 |
commit | e40ab8ea6bafc61d758338f1c6b10c536c79908e (patch) | |
tree | 7ad965d6e479bbf57ecf74d86091e4233b9ee971 /Master/texmf-dist/tex | |
parent | 2653f3bfe50001129f41a8f74caa84d305ee5c55 (diff) |
jourrr (4jun23)
git-svn-id: svn://tug.org/texlive/trunk@67281 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/jourrr/jourrr.cls | 184 |
1 files changed, 184 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/jourrr/jourrr.cls b/Master/texmf-dist/tex/latex/jourrr/jourrr.cls new file mode 100644 index 00000000000..42420539c71 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jourrr/jourrr.cls @@ -0,0 +1,184 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{jourrr}[2023/06/04 Response to reviewers template] + +% load class +\LoadClass[11pt,a4paper]{article} % Font size and paper type + +% include dependencies +\RequirePackage{graphicx} +\RequirePackage{fancyhdr} +\RequirePackage{parskip} +\RequirePackage[utf8]{inputenc} +\RequirePackage[english]{babel} +\RequirePackage[iso,american]{isodate} +\RequirePackage{fontawesome5} +\RequirePackage{geometry} +\RequirePackage{wasysym} +\RequirePackage{array} +\RequirePackage{xcolor} +\RequirePackage{bookmark} + +% no indent for whole document +\setlength\parindent{0pt} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} +%---------------------------------------------------------------------- +% process options +\ProcessOptions\relax + +% styling of document +%---------------------------------------------------------------------- + +% set margins + \newgeometry{ % Defaults for a4 + left=35mm, % default 25 + right=35mm, % default 25 + top=20mm, % default 20 + bottom=45mm} % default 20 +\savegeometry{title} + \newgeometry{ % Defaults for a4 + left=25mm, % default 25 + right=25mm, % default 25 + top=20mm, % default 20 + bottom=20mm} % default 20 +\savegeometry{doc} + +\setlength{\headheight}{42.0pt} + +% set a little indendation for paragraphs +\setlength{\parindent}{0pt} + +% space between paragraphs +\setlength{\parskip}{1em} + +%---------------------------------------------------------------------- +% new command for the information of author +\newcommand{\responseheader}[1]{ +%\noindent +\fancyfoot{} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footrulewidth}{0pt} + +\pagestyle{fancy} + \fancyhf{} + % show in the middle + \fancyhead[C]{\leavevmode\large + \begin{tabular}[t]{c@{}} + #1 + \end{tabular}} +} + + +%---------------------------------------------------------------------- +% Your data +%---------------------------------------------------------------------- +% % Name and Surname of the reviewer +\def\NameSurname#1{\def\@NameSurname{#1}} +\newcommand{\pNameSurname}{\@NameSurname} +%---------------------------------------------------------------------- +% Submission data +%---------------------------------------------------------------------- + +% journal name +\def\JournalName#1{\def\@JournalName{#1}} +\newcommand{\pJournalName}{\@JournalName} + +% title of your manuscript +\def\Title#1{\def\@Title{#1}} +\newcommand{\pTitle}{\@Title} + +% manuscript Id +\def\ManuscriptID#1{\def\@ManuscriptID{#1}} +\newcommand{\pManuscriptID}{\@ManuscriptID} + +% name of the Editor +\def\toEditor#1{\def\@toEditor{#1}} +\newcommand{\ptoEditor}{\@toEditor} + +% name of the Editor +\def\Editor#1{\def\@Editor{#1}} +\newcommand{\pEditor}{\@Editor} + +% name of the Associate Editor +\def\AssociateEditor#1{\def\@AssociateEditor{#1}} +\newcommand{\pAssociateEditor}{\@AssociateEditor} + +% name of the Special issue (optional) +\def\SpecialIssue#1{\def\@SpecialIssue{#1}} +\newcommand{\pSpecialIssue}{\@SpecialIssue} + + +% +% FIRST PART +% + +% Addressing the Person +\def\PersonAddressing#1{\def\@PersonAddressing{#1}} +\newcommand{\pPersonAddressing}{\@PersonAddressing} + +% We thank editor +\def\Introduction#1{\def\@Introduction{#1}} +\newcommand{\pIntroduction}{\@Introduction} + +% We thank reviewers +\def\ReviewerThank#1{\def\@ReviewerThank{#1}} +\newcommand{\pReviewerThank}{\@ReviewerThank} + +% Valediction - Ending of the letter +\def\valediction#1{\def\@valediction{#1}} +\newcommand{\pvalediction}{\@valediction} + +% Different predefined valedictions +\newcommand{\yourssincerely}[1]{Yours sincerely,\\} +\newcommand{\yoursfaithfully}[1]{Yours faithfully,\\} +\newcommand{\yourstruly}[1]{Yours truly,\\} +\newcommand{\bestregards}[1]{Best regards,\\} + +% Signature +\def\signature#1{\def\@signature{#1}} +\newcommand{\psignature}{\@signature} + +% SignaturePath +\def\signaturePath#1{\def\@signaturePath{#1}} +\newcommand{\pSignaturePath}{\@signaturePath} + +% Show Signature command +\def \showSignature#1{ +\vspace{-2cm}\begin{flushright}\includegraphics[width=4cm,height=4cm,keepaspectratio]{#1}\end{flushright}} + +% Checkbox +\newcommand{\checkbox}{\Square} % Checkbox symbol command +\newcommand{\checkedbox}{\CheckedBox} % Checked checkbox symbol command + +\newcommand{\completed}[1]{\ifthenelse{\equal{#1}{true}}{\rlap{{\checkedbox}}} {\hspace{0.6cm}\checkbox}} % if true - checked; else - unchecked (square) + +% Page 2 - N commands + +\newcounter{refereecounter} +\setcounter{refereecounter}{1} +\newcounter{commentcounter} +\setcounter{commentcounter}{0} +\newcounter{eiccommentcounter} +\setcounter{eiccommentcounter}{1} +\newcounter{aecommentcounter} +\setcounter{aecommentcounter}{1} + +\newcommand{\referee}[0]{\underline{\large The authors’ reply to the Reviewer \therefereecounter:} \phantomsection \addcontentsline{toc}{section}{Author's reply to reviewer \therefereecounter} \\ \newline +\textbf{\Large Referee \therefereecounter:} \addtocounter{refereecounter}{1}\\\setcounter{commentcounter}{1}} + +\newcommand{\response}[3]{% +\hspace{-0.3cm} + \begin{tabular}{p{14cm} w{c}{3cm}} + \textbf{Response:} {\color{#2} #3} & {\Huge \completed{#1}} \\ % Set font of checkbox here + \end{tabular} % +} + + +\newcommand{\comment}[1]{\textbf{Comment \thecommentcounter:} #1 \addtocounter{commentcounter}{1}} + + +% macros for responding editor/associate editor +\newcommand{\editorcomment}[1]{\textbf{Editor's Comment \theeiccommentcounter: } #1\addtocounter{eiccommentcounter}{1}} +\newcommand{\editorresponse}[0]{\underline{\large The authors’ reply to the Editor-in-Chief} \phantomsection \addcontentsline{toc}{section}{Editor in Chief}} + +\newcommand{\associateeditorcomment}[1]{\textbf{Associate Editor's Comment \theaecommentcounter: } #1\addtocounter{aecommentcounter}{1}} +\newcommand{\associateeditorresponse}[0]{\underline{\large The authors’ reply to the Associate Editor} \phantomsection \addcontentsline{toc}{section}{Associate Editor}} |