From b4018dc564b751d9bf61f3efe82c82f5bae5f31d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Feb 2016 22:57:05 +0000 Subject: emisa (25feb16) git-svn-id: svn://tug.org/texlive/trunk@39868 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/emisa/emisa.dtx | 72 ++++++++++++++++++-------- 1 file changed, 51 insertions(+), 21 deletions(-) (limited to 'Master/texmf-dist/source/latex/emisa') diff --git a/Master/texmf-dist/source/latex/emisa/emisa.dtx b/Master/texmf-dist/source/latex/emisa/emisa.dtx index 68189ffb1d5..18d39584320 100644 --- a/Master/texmf-dist/source/latex/emisa/emisa.dtx +++ b/Master/texmf-dist/source/latex/emisa/emisa.dtx @@ -46,7 +46,7 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesClass{emisa}% %<*class> -[2016/02/06 2.0 LaTeX class EMISA] +[2016/02/23 2.0.1 LaTeX class EMISA] % % %<*driver> @@ -162,7 +162,8 @@ This work consists of all files listed in manifest.txt. \usepackage[T1]{fontenc} \usepackage{newtxtext} \usepackage[zerostyle=b,straightquotes]{newtxtt} -\usepackage{microtype} +\usepackage[final,tracking=smallcaps,expansion=alltext,protrusion=true]{microtype}% +\SetTracking{encoding=*,shape=sc}{50}% \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts \usepackage[autostyle=once,english=british,strict]{csquotes} \usepackage{amssymb} @@ -179,7 +180,8 @@ This work consists of all files listed in manifest.txt. basicstyle=\MacroFont, keywordstyle={}, %%% keywordstyle=\MacroFont\bfseries\color{blue}, - morekeywords={editor,received,accepted,volume,issue,specialissuetitle,CCBYNCSAFour,CCBYNCSAThree,license,address,subtitle,acknowledgements,authornote,author*,abstract,keywords,subsection}, + morekeywords={editor,received,accepted,volume,issue,specialissuetitle,CCBYNCSAFour,CCBYNCSAThree,license,% + address,subtitle,acknowledgements,authornote,author*,abstract,keywords,subsection}, commentstyle={\color{black!50}\bfseries}, breaklines, emptylines=1, @@ -949,9 +951,17 @@ This work consists of all files listed in manifest.txt. % % \author{Stefan Strecker (stefan.strecker@fernuni-hagen.de) \and Martin Sievers (martin.sievers@schoenerpublizieren.de)} % \title{A \LaTeX{} package for preparing manuscripts for submissions to the OA journal \enquote{Enterprise Modelling and Information Systems Architectures – An International Journal} (\DTXclassname)} +% \date{\today{} -- Version \fileversion} % \maketitle % %\changes{v2.0}{2016/02/06}{First official release on GitHub and CTAN} +%\changes{v2.0.1}{2016/02/15}{Set uniquelist option to false in order to change the cite output} +%\changes{v2.0.1}{2016/02/16}{Changed maxcitenames=3 to maxcitenames=2} +%\changes{v2.0.1}{2016/02/18}{Added \string\FloatBarrier from the placeins package at the end of the appendix} +%\changes{v2.0.1}{2016/02/22}{Added tracking (5\%) for smallcaps} +%\changes{v2.0.1}{2016/02/22}{Moved special issue title below title in page header} +%\changes{v2.0.1}{2016/02/22}{Modified insertion of license text} +%\changes{v2.0.1}{2016/02/23}{Special issue title now right aligned on even pages} % % % @@ -967,9 +977,11 @@ This work consists of all files listed in manifest.txt. % \section{Installation} % The \DTXclassname \LaTeX{} package consists of the document class \file{\DTXname.cls}, the \pkg{biblatex} bibliography style \file{emisa.bbx} and the \pkg{biblatex} citation style \file{emisa.cbx}. % -% The package also includes a quick-start template for authors \file{emisa-author-template.tex} and the present instructions \file{emisa.pdf}. +% The package also includes a quick-start template for authors (\file{emisa-author-template.tex}) and the present author instructions and style guidelines (\file{emisa.pdf}). % -% The package is available from the correspondig GitHub website (\url{https://github.com/sstrecker/emisa-latex-package}) and the \textsc{Comprehensive \TeX{} Archive Network} (CTAN, \url{http://www.ctan.org/pkg/emisa}). It will be available for installation through the recent \TeX{} distribution's package installer (\eg \TeX{}~Live's \file{tlmgr}). This type of installation is recommended in order to always get the latest version automatically. If you prefer a manual installation, please run \verb|pdflatex emisa.dtx| twice, and copy the resulting files to the same directory (folder) in which the source files for the manuscript will be maintained. +% \DescribeOption{Automatic installation}The preferred installation method of the canonical \emph{release} version is through your \TeX{} distribution's package installer (\eg \TeX{}~Live's \file{tlmgr} or the MiK\TeX{} Package Manager). For the later you may need to first update (or synchronise) the package database. This type of installation is recommended in order to always get the latest \emph{release} version automatically. The canonical release version of the package is also available from CTAN at \url{http://www.ctan.org/pkg/emisa}, while the \emph{current development} (i.\,e.\ most recent) version of the package with bug fixes and new features (relative to the release version) is available from GitHub (\url{https://github.com/sstrecker/emisa-latex-package}). +% +% \DescribeOption{Manual installation}If you prefer a manual installation (or want to install the latest development version), download the corresponding Zip archive from Github (the latest development version is always available as Zip archive at \url{https://github.com/sstrecker/emisa-latex-package/archive/master.zip}), uncompress it in the same directory (folder) in which the source files for the manuscript will be maintained, and then run \verb|pdflatex emisa.dtx| twice, and start from \file{emisa-author-template.tex}. % % % \section{Instructions and guidelines} @@ -978,13 +990,9 @@ This work consists of all files listed in manifest.txt. % % % \section{Preliminary remarks} -% The \DTXclassname document class is derived from the standard \LaTeX{} article class, and produces a customised two-column layout with bibliographic information about the manuscript in a multi-line page headline (including the name of the journal, volume and issue number, date of publication, short title as well as author names) on A4-sized paper. -% -% The \DTXclassname class builds on a number of standard \LaTeX{} packages available in distributions such as \TeX{}~Live and MiK\TeX{}. It is highly recommended to install the \emph{full} set of packages to make the required packages available to the \DTXclassname package. Alternatively, missing packages may be installed on-the-fly or via the distribution's package manager. The list of required packages for using the \DTXclassname package is rather comprehensive (see \file{emisa.cls}), but the implementation has taken care to use only packages commonly included in the widely used \TeX{} distributions \TeX{}~Live and MiK\TeX{}. Among the required packages are \pkg{geometry}, \pkg{newtxtext}, \pkg{newtxmath}, \pkg{newtxtt}, \pkg{ntheorem}, \pkg{amsthm}, \pkg{booktabs}, \pkg{tabularx}. +% The \DTXclassname document class is derived from the standard \LaTeX{} article class, and produces a customised two-column layout with bibliographic information about the manuscript in a multi-line page headline (including the name of the journal, volume and issue number, date of publication, short title as well as author names) on A4-sized paper. The \DTXclassname class builds on a number of standard \LaTeX{} packages. It is highly recommended to install the \emph{full} set of \LaTeX{} packages that come with your \LaTeX\ distribution to make the required packages available to the \DTXclassname package. Alternatively, missing packages may be installed via your TeX{} distribution's package manager or on-the-fly (if supported by your distribution). % -% The production process at the \DTXclassname editorial office is based entirely on \LaTeX{}, and runs pdf\LaTeX{} and \verb|biber| to produce the final proof and publication-ready PDF of an article. \pkg{biblatex} package is used to typeset citations and references in conjunction with the \verb|biber| tool. Make sure to use \verb|biber| rather than \verb|bibtex| to process your bibliography data base file(s). The production tool chain at the editorial office requires that all text files of an article are provided in \emph{UTF-8 file encoding}\DescribeOption{UTF-8}. -% -% The \pkg{biblatex} package is used to typeset citations and references in conjunction with the \verb|biber| tool. Make sure to use \verb|biber| rather than \verb|bibtex| to process your bibliography data base file(s). Most \TeX{} editors have an option to easily switch to \verb|biber|. +% \DescribeOption{UTF-8}\DescribeOption{File naming convention}The production process at the \DTXclassname editorial office is based entirely on \LaTeX{}, and runs pdf\LaTeX{} and \verb|biber| to produce the final proof and publication-ready PDF of an article. The \pkg{biblatex} package is used to typeset citations and references in conjunction with the \verb|biber| tool. Make sure to use \verb|biber| rather than \verb|bibtex| to process your bibliography data base file(s). Most \TeX{} editors have an option to easily switch to \verb|biber|. The production tool chain at the editorial office requires that all text files of an article are provided in \emph{UTF-8 file encoding}, and that all submitted files are provided with \emph{lower case filenames only}. Do \emph{not} use upper case characters in filenames at all and avoid non-ASCII characters in filenames. % % \DescribeOption{Author template}The file \file{emisa-author-template.tex} provides a good starting point for manuscript preparation (if the \DTXclassname package is available through your \TeX{} distribution, the file is stored at \texttt{/doc/latex/emisa/} inside your \TeX{} installation folder/directory. Just copy it to your working directory). It is also recommended to review the example of an article typeset with \file{emisa.cls} provided in Sec.~\ref{sec:example}. % @@ -1254,13 +1262,13 @@ This work consists of all files listed in manifest.txt. % % \DescribeMacro{issue}Enter the issue number and issue year of the article. Format example: \verb|\issue{1}{2016}| % -% \DescribeMacro{specialissuetitle}Enter the title of the Special Issue to which the article belongs if any. Note that the prefix 'Special Issue on' is added automatically. Example: \verb|\specialissuetitle{Multilevel Modelling}| +% \DescribeMacro{specialissuetitle}Enter the title of the Special Issue to which the article belongs if any. Note that the prefix \enquote{Special Issue on} is added automatically. Example: \verb|\specialissuetitle{Multilevel Modelling}| % % Note that volume, issue number and issue date and, optionally, the title of the special issue appear in the multiline page headline of the article. % -% \DescribeMacro{\CCBYNCSAFour}\DescribeMacro{\CCBYNCSAThree}If an article is licensed under a Creative Commons BY-NC-SA 4.0 or 3.0 licence, the reference to the licence can be automatically displayed at the end of the article by adding \cs{CCBYNCSAFour} and \cs{CCBYNCSAThree}, respectively. Read the licence text at \url{https://creativecommons.org/licenses/by-nc-sa/4.0/} (for version 4.0; likewise for version 3.0). +% \DescribeMacro{\CCBYNCSAFour}\DescribeMacro{\CCBYNCSAThree}If an article is licensed under a Creative Commons BY-NC-SA 4.0 or 3.0 licence, the reference to the licence can be automatically displayed at the end of the article by adding \cs{CCBYNCSAFour} and \cs{CCBYNCSAThree}, respectively. % -% \DescribeMacro{\license,\licence}Alternatively, enter a license text by \cs{license} (or \cs{licence}).\\ Example: \verb|\license{This work is licensed under LPPL 1.3c.}| +% \DescribeMacro{\license,\licence}Alternatively, enter a license text using the \cs{license} (or \cs{licence}) commands.\\ Example: \verb|\license{This work is licensed under LPPL 1.3c.}| % % \section{Example file for both, authors and editorial office}\label{sec:example} % \begin{examplecode} @@ -1748,7 +1756,8 @@ This work consists of all files listed in manifest.txt. % Settings for various fonts are provided. % \begin{macrocode} \if@microtype - \RequirePackage{microtype}% + \RequirePackage[final,tracking=smallcaps,expansion=alltext,protrusion=true]{microtype}% + \SetTracking{encoding=*,shape=sc}{50}% \else \ClassWarning{emisa}{Package `microtype' not loaded!% \MessageBreak Output will differ from final result in the journal!% @@ -1888,7 +1897,7 @@ This work consists of all files listed in manifest.txt. % % \begin{macrocode} \ExecuteBibliographyOptions{% - maxcitenames=3,% + maxcitenames=2,% maxbibnames=999,% terseinits=false,% isbn=false,% @@ -1899,7 +1908,8 @@ This work consists of all files listed in manifest.txt. bibencoding=inputenc,% sorting=anyt,% hyperref=true,% - uniquename=minfull%% + uniquename=minfull,% + uniquelist=false% }% % \end{macrocode} % @@ -2034,6 +2044,9 @@ This work consists of all files listed in manifest.txt. \RequirePackage{eso-pic}% % \end{macrocode} % +% \begin{macrocode} +\RequirePackage{placeins}% +% \end{macrocode} % % %^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2858,7 +2871,7 @@ This work consists of all files listed in manifest.txt. % The main formatting routine for the running head is a % \env{tabular*} environment. % \begin{macrocode} -\newcommand{\headbox}[6]{\bgroup% +\newcommand{\headbox}[8]{\bgroup% \setstretch{1}% \reset@font\pageheadfont \tabcolsep\z@ @@ -2875,6 +2888,7 @@ This work consists of all files listed in manifest.txt. \hline #5 & #6\\ \hline + #7 & #8\\ \end{tabular*}% \hskip-\headmargin \egroup @@ -2889,7 +2903,12 @@ This work consists of all files listed in manifest.txt. % These macros are used to assemble the page head, \ldots % \begin{macrocode} \newcommand{\theheadvolume}{% - \begingroup\hypersetup{urlcolor=headtextcolor}\textcolor{headtextcolor}{Vol.\,\@volume, No.\,\@issue\ (\@issuedate).\ifx\@doi\@empty\else\ \outdoi{\@doi}\fi\ifx\@specialissuetitle\relax\else\ \@specialissuetitle.\fi}\endgroup}% + \begingroup% + \hypersetup{urlcolor=headtextcolor}% + \textcolor{headtextcolor}{% + Vol.\,\@volume, No.\,\@issue\ (\@issuedate).% + \ifx\@doi\@empty\else\ \outdoi{\@doi}\fi}% + \endgroup}% \newlength{\headpageoffset}% \setlength{\headpageoffset}{10mm}% \def\theoddheadpage{% @@ -2956,11 +2975,13 @@ This work consists of all files listed in manifest.txt. \headbox{\@journalname}{}% {\theheadvolume}{}% {{\@headmarkstyle\@oddmark}}{\theoddheadpage}% + {\ifx\@specialissuetitle\relax\else\textcolor{headtextcolor}{\@specialissuetitle}\fi}{}% }% \def\@evenhead{% \headbox{}{\@journalname}% {}{\theheadvolume}% {\theevenheadpage}{{\@headmarkstyle\@evenmark}}% + {}{\ifx\@specialissuetitle\relax\else\textcolor{headtextcolor}{\@specialissuetitle}\fi}% }% \let\@oddmark\relax \let\@evenmark\relax @@ -3347,12 +3368,21 @@ This work consists of all files listed in manifest.txt. \ignorespaces }{% \end{refsection}% - \outputarticleappendix\par% + \outputarticleappendix\FloatBarrier\par% \vspace{\baselineskip}% \noindent\ignorespaces \if@licenseset + \edef\doclicenseURL{% + \doclicense@baseUrlCC/% + licenses/% + \doclicense@modifier/% + \doclicense@versionUsed\doclicense@UrlLangPart% + } \begin{minipage}{\columnwidth} - \parbox[t]{\dimexpr 0.975\columnwidth-\doclicense@imagewidth\relax}{\vskip 0pt\raggedright\fontsize{9pt}{10.8pt}\selectfont\doclicenseLongText}% + \parbox[t]{\dimexpr 0.975\columnwidth-\doclicense@imagewidth\relax}{\vskip 0pt\raggedright\fontsize{9pt}{10.8pt}\selectfont% + \doclicense@lang@thisDoc\space + \href{\doclicenseURL}{\doclicenseLongType\space\enquote{\doclicense@longName}}% + \doclicense@lang@word@license.}% \hfill% \parbox[t]{\doclicense@imagewidth}{\vskip 0pt\doclicenseImage}% \end{minipage}% -- cgit v1.2.3