texlive[65290] Master/texmf-dist: jourcl (16dec22)

commits+karl at tug.org commits+karl at tug.org
Fri Dec 16 22:03:42 CET 2022


Revision: 65290
          http://tug.org/svn/texlive?view=revision&revision=65290
Author:   karl
Date:     2022-12-16 22:03:41 +0100 (Fri, 16 Dec 2022)
Log Message:
-----------
jourcl (16dec22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/jourcl/README.md
    trunk/Master/texmf-dist/doc/latex/jourcl/jourcl.pdf
    trunk/Master/texmf-dist/doc/latex/jourcl/jourcl.tex
    trunk/Master/texmf-dist/tex/latex/jourcl/jourcl.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/jourcl/imgs/jourcl-signature.png

Modified: trunk/Master/texmf-dist/doc/latex/jourcl/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jourcl/README.md	2022-12-16 21:03:23 UTC (rev 65289)
+++ trunk/Master/texmf-dist/doc/latex/jourcl/README.md	2022-12-16 21:03:41 UTC (rev 65290)
@@ -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

Added: trunk/Master/texmf-dist/doc/latex/jourcl/imgs/jourcl-signature.png
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/jourcl/imgs/jourcl-signature.png
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jourcl/imgs/jourcl-signature.png	2022-12-16 21:03:23 UTC (rev 65289)
+++ trunk/Master/texmf-dist/doc/latex/jourcl/imgs/jourcl-signature.png	2022-12-16 21:03:41 UTC (rev 65290)

Property changes on: trunk/Master/texmf-dist/doc/latex/jourcl/imgs/jourcl-signature.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/jourcl/jourcl.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jourcl/jourcl.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jourcl/jourcl.tex	2022-12-16 21:03:23 UTC (rev 65289)
+++ trunk/Master/texmf-dist/doc/latex/jourcl/jourcl.tex	2022-12-16 21:03:41 UTC (rev 65290)
@@ -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 at organization.edu}
@@ -17,15 +19,15 @@
 \SecondNameSurname{Name2 Surname2}
 \SecondInstitution{University of City, \\Faculty of Cover Letters}
 \SecondEmail{name2 at organization.edu}
-\ThirdRecommended{Editor}
-\ThirdNameSurname{Name3 Surname3}
-\ThirdInstitution{University of City, \\Faculty of Cover Letters}
-\ThirdEmail{name3 at organization.edu}
+%\ThirdRecommended{Editor}
+%\ThirdNameSurname{Name3 Surname3}
+%\ThirdInstitution{University of City, \\Faculty of Cover Letters}
+%\ThirdEmail{name3 at 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}

Modified: trunk/Master/texmf-dist/tex/latex/jourcl/jourcl.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jourcl/jourcl.cls	2022-12-16 21:03:23 UTC (rev 65289)
+++ trunk/Master/texmf-dist/tex/latex/jourcl/jourcl.cls	2022-12-16 21:03:41 UTC (rev 65290)
@@ -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
-    }
-%----------------------------------------------------------------------
+% SignaturePath
+\def\signaturePath#1{\def\@signaturePath{#1}}
+\newcommand{\pSignaturePath}{\@signaturePath}
 
-\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
-
-\psignature
+% Show Signature command
+\def \showSignature#1{
+\vspace{-3cm}\begin{flushright}\includegraphics[width=4cm,height=4cm,keepaspectratio]{#1}\end{flushright}
 }



More information about the tex-live-commits mailing list.