summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/jourcl
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/jourcl')
-rw-r--r--macros/latex/contrib/jourcl/README.md21
-rw-r--r--macros/latex/contrib/jourcl/imgs/jourcl-signature.pngbin0 -> 13842 bytes
-rw-r--r--macros/latex/contrib/jourcl/jourcl.cls60
-rw-r--r--macros/latex/contrib/jourcl/jourcl.pdfbin102332 -> 113298 bytes
-rw-r--r--macros/latex/contrib/jourcl/jourcl.tex70
5 files changed, 79 insertions, 72 deletions
diff --git a/macros/latex/contrib/jourcl/README.md b/macros/latex/contrib/jourcl/README.md
index 8d0ac26819..ec8bb9b114 100644
--- a/macros/latex/contrib/jourcl/README.md
+++ b/macros/latex/contrib/jourcl/README.md
@@ -1,4 +1,4 @@
-# Journal Submissions Cover Letter
+# A cover letter template for a journal paper submission in LaTex
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
@@ -8,21 +8,22 @@
</p>
## Description
-Paper submission in the journal is usually accompanied by a cover letter. The repository hosts a cover letter template for journal submissions written in Latex that is minimalistic in one way while pre-defined with several commands that drastically speed up the process of preparing a cover letter for journal submission.
+Paper submission in the journal is usually accompanied by a cover letter. The repository hosts a cover letter template for journal submissions written in LaTex that is minimalistic in one way while pre-defined with several commands that drastically speed up the process of preparing a cover letter for journal submission.
### Main Features of this template:
-- Custom image
- Minimalistic design
-- Pre-defined commands for journal name, author, date, etc.
-- Many macros contained in this package speed up the process of preparing the necessary ingredients for the cover letter,
-- Defined macros for recommending up to 3 reviewers and/or editors,
-- ORCID logo and link to the submitting author's ORCID page,
-- controls for adding a "Conflict of interest" statement and declaration.
+- Include the custom logo of the affiliation
+- Predefined commands for a journal name, author, date, etc.
+- Many macros contained in this package speed up the process of preparing the necessary ingredients for the cover letter
+- Defined macros for recommending up to 3 reviewers or editor
+- ORCID logo and link to the submitting author's ORCID page
+- Controls for adding a "Conflict of interest" statement and declaration
- Predefined different valedictions for different types of submissions (e.g., Yours sincerely, Yours faithfully, Best regards, etc.)
-- Custom greeting (e.g., "Dear Editor" for a regular submission, "Dear Editor-in-Chief" for a submission to a journal's special issue, etc.)
+- Custom greeting (e.g., "Dear Editor" or "Dear Editor-in-Chief" for regular submission, etc.)
+- Option to add custom Signature (i.e. an image of your hand-written signature)
## Disclaimer
-This framework is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!
+This software is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!
## License
Material in this folder is licensed under a
diff --git a/macros/latex/contrib/jourcl/imgs/jourcl-signature.png b/macros/latex/contrib/jourcl/imgs/jourcl-signature.png
new file mode 100644
index 0000000000..d6427aa8e2
--- /dev/null
+++ b/macros/latex/contrib/jourcl/imgs/jourcl-signature.png
Binary files differ
diff --git a/macros/latex/contrib/jourcl/jourcl.cls b/macros/latex/contrib/jourcl/jourcl.cls
index 5acedf9d24..5bc3bb883d 100644
--- a/macros/latex/contrib/jourcl/jourcl.cls
+++ b/macros/latex/contrib/jourcl/jourcl.cls
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jourcl}[2022/11/14 Cover letter for journal submissions]
+\ProvidesClass{jourcl}[2022/12/16 Cover letter for journal submissions]
% include dependencies
\RequirePackage{graphicx}
@@ -219,7 +219,7 @@
%----------------------------------------------------------------------
% Command to add reviewers in cover letter
-\newcommand{\addreviewers} {
+\newcommand{\showreviewers} {
% Recommended people
\begin{center}
\parbox{.32\linewidth}{ \RecommendedPerson{\pFirstRecommended}{\pFirstNameSurname}{\pFirstInstitution}{\pFirstEmail} }
@@ -266,55 +266,11 @@
\def\signature#1{\def\@signature{#1}}
\newcommand{\psignature}{\@signature}
-\newcommand{\makecoverletter}{
-\large % Font size
-\aboutme{
- \pNameSurname \orcidlink{\pAuthorOrcid}\\
- \faIcon{university} \pInstitutionName\\
- \pStreetNo\\
- \pCityPostal\\
- \faIcon{envelope} \pEmail \\
- \faIcon{phone-square-alt} \pPhone
- }
-%----------------------------------------------------------------------
-
-\noindent\makebox[\linewidth]{\rule{0.9\paperwidth}{0.4pt}}
-
-% Today's date
-\today
-
-%\if \addreviewersPosition1 \addreviewers
-%\fi
-\if\addreviewersPosition1\vspace{-.5cm}\addreviewers\vspace{-.75cm}\fi
-
-\ptoEditor
-
-\if\addreviewersPosition2\vspace{-.3cm}\addreviewers\vspace{-1cm}\fi
-
-\vspace*{1\baselineskip}
-\pPersonAddressing,
-
-\pIntroduction
-
-\if\addreviewersPosition3\vspace{-.5cm}\addreviewers\vspace{-.75cm}\fi
-
-\begin{framed}
-Abstract: \pabstract
-\end{framed}
-
-\if\addreviewersPosition4\vspace{-.75cm}\addreviewers\vspace{-.75cm}\fi
-
-\pfinal\newline
-
-\if\addreviewersPosition5\vspace{-.75cm}\addreviewers\vspace{-.75cm}\fi
-
-\pdeclaration \newline
-
-\pconflictofinterest
-
-\vfill
-
-\pvalediction\par
+% SignaturePath
+\def\signaturePath#1{\def\@signaturePath{#1}}
+\newcommand{\pSignaturePath}{\@signaturePath}
-\psignature
+% Show Signature command
+\def \showSignature#1{
+\vspace{-3cm}\begin{flushright}\includegraphics[width=4cm,height=4cm,keepaspectratio]{#1}\end{flushright}
}
diff --git a/macros/latex/contrib/jourcl/jourcl.pdf b/macros/latex/contrib/jourcl/jourcl.pdf
index 5626b105b9..66f87092f8 100644
--- a/macros/latex/contrib/jourcl/jourcl.pdf
+++ b/macros/latex/contrib/jourcl/jourcl.pdf
Binary files differ
diff --git a/macros/latex/contrib/jourcl/jourcl.tex b/macros/latex/contrib/jourcl/jourcl.tex
index 26cb100d9f..16f2b429d6 100644
--- a/macros/latex/contrib/jourcl/jourcl.tex
+++ b/macros/latex/contrib/jourcl/jourcl.tex
@@ -1,7 +1,9 @@
-% options for the positioning of recommended Editors / Reviewers: top, afterToEditor, afterIntroduction, afterAbstract, bottom
-\documentclass[afterAbstract]{jourcl}
+\documentclass{jourcl}
+% Path to your logo
\ImagePath{imgs/jourcl-logo.png}
+% Path to your signature (if you have one).
+\signaturePath{imgs/jourcl-signature.png}
% recommended Editors / Reviewers -- change according to your data
%----------------------------------------------------------------------
@@ -9,7 +11,7 @@
% If you have recommended Editors / Reviewers
% Example
-\FirstRecommended{Editor}
+\FirstRecommended{Reviewer}
\FirstNameSurname{Name Surname}
\FirstInstitution{University of City, \\Faculty of Cover Letters}
\FirstEmail{name@organization.edu}
@@ -17,15 +19,15 @@
\SecondNameSurname{Name2 Surname2}
\SecondInstitution{University of City, \\Faculty of Cover Letters}
\SecondEmail{name2@organization.edu}
-\ThirdRecommended{Editor}
-\ThirdNameSurname{Name3 Surname3}
-\ThirdInstitution{University of City, \\Faculty of Cover Letters}
-\ThirdEmail{name3@organization.edu}
+%\ThirdRecommended{Editor}
+%\ThirdNameSurname{Name3 Surname3}
+%\ThirdInstitution{University of City, \\Faculty of Cover Letters}
+%\ThirdEmail{name3@organization.edu}
-% Else - leave blank
+% Else - leave blank. If only 2 reviewers, leave Third..{}
%\FirstRecommended{}\FirstNameSurname{}\FirstInstitution{}\FirstEmail{}
%\SecondRecommended{}\SecondNameSurname{}\SecondInstitution{}\SecondEmail{}
-%\ThirdRecommended{}\ThirdNameSurname{}\ThirdInstitution{}\ThirdEmail{}
+\ThirdRecommended{}\ThirdNameSurname{}\ThirdInstitution{}\ThirdEmail{}
%----------------------------------------------------------------------
% Your data
@@ -91,9 +93,57 @@
\signature{\pNameSurname, on behalf of all authors}
+% In this part you can change the position of reviewers
%----------------------------------------------------------------------
% Render document
%----------------------------------------------------------------------
\begin{document}
-\makecoverletter
+
+\large % Font size
+\aboutme{
+ \pNameSurname \orcidlink{\pAuthorOrcid}\\
+ \faIcon{university} \pInstitutionName\\
+ \pStreetNo\\
+ \pCityPostal\\
+ \faIcon{envelope} \pEmail \\
+ \faIcon{phone-square-alt} \pPhone
+ }
+%----------------------------------------------------------------------
+
+\noindent\makebox[\linewidth]{\rule{0.9\paperwidth}{0.4pt}}
+
+% Today's date
+\today
+
+\ptoEditor
+
+\vspace*{1\baselineskip}
+\pPersonAddressing,
+
+\pIntroduction
+
+\begin{framed}
+Abstract: \pabstract
+\end{framed}
+
+% Improved macro to ensure more freedom for the users. Place it in the position, where you want the reviewers
+\showreviewers
+
+\vspace{-.7cm}
+
+\pfinal\newline
+
+\pdeclaration \newline
+
+\pconflictofinterest
+
+\vfill
+
+\pvalediction\par
+
+\psignature
+
+% Next line shows your signature. Comment it out if you don't have one / plan to use digital on .pdf
+\showSignature{\pSignaturePath}
+
\end{document}