summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls')
-rw-r--r--Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls69
1 files changed, 51 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
index 847391dc3bb..a5845e8b613 100644
--- a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
+++ b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
@@ -8,7 +8,9 @@
%%
%% This is a generated file.
%%
-%% Copyright (c) 2016 by Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP
+%% Copyright (c) 2019 by Edgaras SAKURAS, VTeX, Lithuania for EJP-ECP
+%% Copyright (c) 2018 by Deimantas GALCIUS, VTeX, Lithuania for EJP-ECP
+%% Copyright (c) 2016-2017 by Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP
%% Copyright (c), 2011-2015 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP
%%
%% This file may be distributed and/or modified under the conditions of
@@ -23,8 +25,10 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ejpecp}
- [2019/03/28 v1.6 .dtx ejpecp file]
-\ClassInfo{ejpecp}{Copyright (c) 2016 Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP.}
+ [2019/04/04 v1.7 class for EJP and ECP journals]
+\ClassInfo{ejpecp}{Copyright (c) 2019 Edgaras SAKURAS, VTeX, Lithuania.}
+\ClassInfo{ejpecp}{Copyright (c) 2018 Deimantas GALCIUS, VTeX, Lithuania.}
+\ClassInfo{ejpecp}{Copyright (c) 2016-2017 Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP.}
\ClassInfo{ejpecp}{Copyright (c), 2011-2015 BURDZY and CHAFAI for EJP-ECP.}
%% We declare and handle our class options
\DeclareOption{EJP}{%
@@ -66,16 +70,14 @@
%% We use the standard article class
\LoadClass[a4paper,10pt,twoside]{article}
%% Packages and their options
+\RequirePackage{graphicx}
\ifx\@PSTRICKS\undefined
- \RequirePackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG}
\else
- \RequirePackage{graphicx}
\RequirePackage[pdf]{pstricks}
\RequirePackage{auto-pst-pdf}
\fi
\RequirePackage{mathtools}
-\RequirePackage{fixltx2e}
\RequirePackage{microtype}
\RequirePackage{lastpage}
\RequirePackage{latexsym}
@@ -88,14 +90,15 @@
\RequirePackage{geometry}
\geometry{a4paper,portrait,left=3.5cm,right=3.5cm,top=3.5cm,bottom=3.5cm}
\RequirePackage{bera} % beware that the logo is sensitive to default font change
-\ifx\@PSTRICKS\undefined
- \RequirePackage[pdftex,pagebackref=false]{hyperref}
-\else
- \RequirePackage[pagebackref=false]{hyperref}
-\fi
-\hypersetup{pdfborder=0 0 0}
-\hypersetup{pdfstartview={FitH}}
-\hypersetup{hypertexnames=false}
+\RequirePackage{hyperref}
+\hypersetup{
+ pagebackref=false,
+ pdfborder={0 0 0},
+ pdfstartview={FitH},
+ hypertexnames=false,
+ breaklinks,
+}
+\def\UrlFont{}
%%%% Macros et Environments
%% General macros
\newcommand{\@TITLE}{FIXME!}
@@ -114,6 +117,8 @@
\newcommand{\SHORTTITLE}[1]{\renewcommand{\@SHORTTITLE}{#1}}
\newcommand{\DEDICATORY}[1]{\gdef\@DEDICATORY{#1}}
\newcommand{\AUTHORS}[1]{\author{#1}}
+\let\FIRSTNAMES\@firstofone
+\let\SURNAME\@firstofone
\newcommand{\KEYWORDS}[1]{\renewcommand{\@KEYWORDS}{#1}}
\newcommand{\AMSSUBJ}[1]{\renewcommand{\@AMSSUBJ}{#1}}
\newcommand{\AMSSUBJSECONDARY}[1]{\gdef\@AMSSUBJSECONDARY{#1}}
@@ -186,6 +191,8 @@
}%ECPLOGO
\def\@doiprefix{https://doi.org/}
\def\printdoi{\texttt{\href{\@doiprefix\@DOI}{\@doiprefix\@DOI}}}
+%% make title long
+\renewcommand\title[1]{\gdef\@title{#1}}
%% Macro handling the first page
\newcommand{\FIRSTPAGE}{%
\setcounter{page}{\@PAGESTART}%
@@ -201,7 +208,7 @@
\fi}%
\bigskip
\bigskip
- {\Large\bfseries\@TITLE}%
+ {\Large\bfseries\@TITLE\par}%
\fi
\ifx\@ECP\undefined
\else
@@ -218,7 +225,7 @@
\@ECPLOGO\\
\bigskip
\bigskip
- {\Large\@TITLE}%
+ {\Large\@TITLE\par}%
\fi
}% end title
\date{%
@@ -279,6 +286,7 @@
\xdef\@MRSTRIP{\@MRExtract#1 !}%
\href{http://www.ams.org/mathscinet-getitem?mr=\@MRSTRIP}{MR-\@MRSTRIP}}
\newcommand{\ARXIV}[1]{\href{http://arXiv.org/abs/#1}{arXiv:#1}}
+\def\bibliography@size{\small}
\renewenvironment{thebibliography}[1]
{%
\section*{\refname
@@ -287,7 +295,7 @@
\addcontentsline{toc}{section}{\refname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
- \small
+ \bibliography@size
\setlength{\labelsep}{0.4em}%
\setlength{\leftmargin}{\labelwidth}%
\addtolength{\leftmargin}{\labelsep}%
@@ -401,7 +409,32 @@
{\baselineskip}
{0.25\baselineskip}
{\normalfont\bfseries}}
-\IfFileExists{ejpecp-hook.sty}{\RequirePackage{ejpecp-hook}}{}
+\RequirePackage{afterpackage}
+\AfterPackage{natbib}
+{%
+ \def\bibcleanup{\vskip-\lastskip\vskip10\p@}%
+ \renewcommand{\bibfont}{\small}%
+ \newlength{\standard@parsep}%
+ \newlength{\standard@itemsep}%
+ \setlength{\standard@parsep}{4.0pt plus 2.0pt minus 1.0pt}%
+ \setlength{\standard@itemsep}{-2.02498pt}%
+ \setlength{\bibsep}{\standard@parsep}%
+ \addtolength{\bibsep}{\standard@itemsep}%
+ \renewcommand\NAT@bibsetnum[1]%
+ {%
+ \settowidth\labelwidth{\@biblabel{#1}}%
+ \setlength{\leftmargin}{\labelwidth}\addtolength{\leftmargin}{\labelsep}%
+ \setlength{\labelsep}{3pt}%
+ \setlength{\itemsep}{\bibsep}\setlength{\parsep}{\z@}%
+ \ifNAT@openbib
+ \addtolength{\leftmargin}{\bibindent}%
+ \setlength{\itemindent}{-\bibindent}%
+ \setlength{\listparindent}{\itemindent}%
+ \setlength{\parsep}{0pt}%
+ \fi
+ }%
+}%
+\InputIfFileExists{ejpecp.cfg}{}{}
%% Macros
\AtBeginDocument{\FIRSTPAGE\PDFFIELDS}
\AtEndDocument{\vfill}