texlive[44212] Master: lni (5may17)
commits+karl at tug.org
commits+karl at tug.org
Sat May 6 00:48:33 CEST 2017
Revision: 44212
http://tug.org/svn/texlive?view=revision&revision=44212
Author: karl
Date: 2017-05-06 00:48:32 +0200 (Sat, 06 May 2017)
Log Message:
-----------
lni (5may17)
Modified Paths:
--------------
trunk/Master/texmf-dist/bibtex/bst/lni/lni.bst
trunk/Master/texmf-dist/bibtex/bst/lni/lnig.bst
trunk/Master/texmf-dist/doc/latex/lni/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/lni/README.md
trunk/Master/texmf-dist/doc/latex/lni/lni-author-template.tex
trunk/Master/texmf-dist/doc/latex/lni/lni.pdf
trunk/Master/texmf-dist/source/latex/lni/lni.dtx
trunk/Master/texmf-dist/source/latex/lni/lni.ins
trunk/Master/texmf-dist/tex/latex/lni/lni.cls
trunk/Master/tlpkg/libexec/ctan2tds
Modified: trunk/Master/texmf-dist/bibtex/bst/lni/lni.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/lni/lni.bst 2017-05-05 22:47:42 UTC (rev 44211)
+++ trunk/Master/texmf-dist/bibtex/bst/lni/lni.bst 2017-05-05 22:48:32 UTC (rev 44212)
@@ -1292,6 +1292,7 @@
%% This work consists of the file lni.dtx
%% lni.ins
%% README.md
+%% CHANGELOG.md
%% and the derived files lni.pdf
%% lni.cls
%% lni-author-template.tex
Modified: trunk/Master/texmf-dist/bibtex/bst/lni/lnig.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/lni/lnig.bst 2017-05-05 22:47:42 UTC (rev 44211)
+++ trunk/Master/texmf-dist/bibtex/bst/lni/lnig.bst 2017-05-05 22:48:32 UTC (rev 44212)
@@ -1292,6 +1292,7 @@
%% This work consists of the file lni.dtx
%% lni.ins
%% README.md
+%% CHANGELOG.md
%% and the derived files lni.pdf
%% lni.cls
%% lni-author-template.tex
Modified: trunk/Master/texmf-dist/doc/latex/lni/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lni/CHANGELOG.md 2017-05-05 22:47:42 UTC (rev 44211)
+++ trunk/Master/texmf-dist/doc/latex/lni/CHANGELOG.md 2017-05-05 22:48:32 UTC (rev 44212)
@@ -4,10 +4,19 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## [1.2.0] - 2017-05-05
+### Added
+- Quick start section for README.md ([#48](https://github.com/gi-ev/LNI/issues/48))
+- New macro `\lnidoi` to add DOI to pages (DOI provided by editor)
+- General (partial) support for `XeTeX` and `LuaTeX` using the `iftex` package ([#51](https://github.com/gi-ev/LNI/issues/51))
+
+### Changed
+- Option `straightquotes` is set manually for package `newtxtt` to gain compatibility with versions prior to v1.05 ([#49](https://github.com/gi-ev/LNI/issues/49))
+
## [1.1.0] - 2017-04-19
### Added
- New macro `\subtitle` ([#44](https://github.com/gi-ev/LNI/issues/44))
-- New Keyword delimiter `\and` ([#43](https://github.com/gi-ev/LNI/issues/43))
+- New keyword delimiter `\and` ([#43](https://github.com/gi-ev/LNI/issues/43))
- New files CHANGELOG.md and CONTRIBUTING.md
- New option `crop` for crop marks
- Check for latest German hyphenation patterns ([#47](https://github.com/gi-ev/LNI/issues/47))
@@ -22,5 +31,7 @@
## [1.0.0] - 2017-04-07
First release of the revised files
+[1.2.0]: https://github.com/gi-ev/LNI/releases/tag/v1.2
+[1.1.0]: https://github.com/gi-ev/LNI/releases/tag/v1.1
[1.0.0]: https://github.com/gi-ev/LNI/releases/tag/v1.0
-[1.1.0]: https://github.com/gi-ev/LNI/releases/tag/v1.1
+
Modified: trunk/Master/texmf-dist/doc/latex/lni/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lni/README.md 2017-05-05 22:47:42 UTC (rev 44211)
+++ trunk/Master/texmf-dist/doc/latex/lni/README.md 2017-05-05 22:48:32 UTC (rev 44212)
@@ -4,7 +4,7 @@
----------------------------------------------------------------------------
lni -- A class for submissions to the ``Lecture Notes in Informatics''
(c) 2016-2017 Gesellschaft für Informatik (GI)
-Version: 1.1
+Version: 1.2
Maintainer: Martin Sievers
Email: martin.sievers at schoenerpublizieren.de
License: Released under the LaTeX Project Public License v1.3c or later
@@ -18,12 +18,20 @@
It is based on previous templates created on behalf of the GI.
-Stable versions are always uploaded to CTAN (<https://www.ctan.org/pkg/lni>).
-In addition you'll find the most recent developer version on GitHub at <https://github.com/gi-ev/lni>.
-The most recent documentation is available at <https://github.com/gi-ev/LNI/blob/master/lni.pdf>.
+Quick start:
+Download [lni-author-template.tex](lni-author-template.tex) and edit it in
+your favorite LaTeX editor.
+You will have to use [BibTeX](https://www.ctan.org/pkg/bibtex) as bibliography tool.
+In case you want to use [biblatex](https://www.ctan.org/pkg/biblatex) and
+[Biber](https://www.ctan.org/pkg/biber), read on in the documentation of this class.
+You should use `pdflatex` as `xelatex` and `lualatex` lack some features of the class file.
+
+Stable versions are always uploaded to CTAN (https://www.ctan.org/pkg/lni).
+In addition you will find the most recent developer version on GitHub at https://github.com/gi-ev/lni.
+The most recent documentation is available at https://github.com/gi-ev/LNI/blob/master/lni.pdf.
It includes a short description how to use the template and also provides trouble shooting hints.
-Please see CHANGELOG.md for a version history
+Please see [CHANGELOG.md](CHANGELOG.md) for a version history
[GI]: https://www.gi.de/
[Lecture Notes in Informatics]: https://www.gi.de/service/publikationen/lni.html
Modified: trunk/Master/texmf-dist/doc/latex/lni/lni-author-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lni/lni-author-template.tex 2017-05-05 22:47:42 UTC (rev 44211)
+++ trunk/Master/texmf-dist/doc/latex/lni/lni-author-template.tex 2017-05-05 22:48:32 UTC (rev 44212)
@@ -25,6 +25,7 @@
\editor{Herausgeber et al.} % Names of Editors
\booktitle{Name-der-Konferenz} % Name of book title
\year{2017}
+%%%\lnidoi{18.18420/provided-by-editor-02} % if known
\maketitle
\begin{abstract}
Modified: trunk/Master/texmf-dist/doc/latex/lni/lni.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/lni/lni.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lni/lni.dtx 2017-05-05 22:47:42 UTC (rev 44211)
+++ trunk/Master/texmf-dist/source/latex/lni/lni.dtx 2017-05-05 22:48:32 UTC (rev 44212)
@@ -114,6 +114,7 @@
This work consists of the file lni.dtx
lni.ins
README.md
+ CHANGELOG.md
and the derived files lni.pdf
lni.cls
lni-author-template.tex
@@ -162,7 +163,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<class>\ProvidesClass{lni}
%<*class>
- [2017/04/19 v1.1 Official class for submissions to the ``Lecture Notes
+ [2017/05/05 v1.2 Official class for submissions to the ``Lecture Notes
in Informatics'']
%</class>
%<*driver>
@@ -183,7 +184,8 @@
\usepackage[final]{listings}
\usepackage{csquotes}
\usepackage[dvipsnames]{xcolor}
-\newcommand*{\MiKTeX}{\textsf{MiK\TeX{}}}
+\usepackage{hologo}
+\newcommand*{\MiKTeX}{\hologo{MiKTeX}}
\usepackage[%
pdftitle={lni: Official LaTeX class for submissions to the ``Lecture Notes in
Informatics'', published by the ``Gesellschaft für Informatik e.\,V.'' (GI)},
@@ -245,7 +247,8 @@
language = [LaTeX]{TeX},
moretexcs = {,
addbibresource,authorrunning,%
- email,ExecuteBibliographyOptions,includegraphics,printbibliography,
+ email,lnidoi,
+ ExecuteBibliographyOptions,includegraphics,printbibliography,
}
frame = single,
backgroundcolor = \color{yellow!60},
@@ -293,6 +296,10 @@
% \changes{v1.1}{2017/04/12}{Changed spacing for \cs{subtitle}}
% \changes{v1.1}{2017/04/18}{Added check for ngerman-x-latest patterns}
% \changes{v1.1}{2017/04/19}{Added option \opt{crop}}
+% \changes{v1.2}{2017/04/26}{Set option \opt{straighquotes} for \pkg{newtxtt}
+% manually to gain compatibility with version prior to v1.05}
+% \changes{v1.2}{2017/04/27}{Added \pkg{iftex} to check for pdflatex}
+% \changes{v1.2}{2017/05/04}{Added (partial) support for XeTeX and LuaTeX}
%
% \GetFileInfo{\jobname.dtx}
% \DoNotIndex{\newcommand,\newenvironment}
@@ -357,6 +364,11 @@
% distribution's package manager. Alternatively go to
% \href{www.ctan.org}{CTAN} to download missing packages.
%
+% Please note, that the support of \hologo{XeLaTeX} and \hologo{LuaLaTeX} is
+% only partial. For example the mono font is not the same. Moreover \hologo{pdfLaTeX}
+% is a \TeX{} engine used by the publishers. Therefore it is strongly recommended
+% to use \hologo{pdfLaTeX}.
+%
% \subsection{Options}\label{sec:options}
% Although the class file includes all layout information for a submission to
% the \LNI{}, there are options to adapt the output one way or another.
@@ -462,6 +474,13 @@
% In case the authors are too long for the page header, see
% \cref{sec:pageheader} of how to shorten the authors for the page header.
%
+% \DescribeMacro{\lnidoi\space(new in v1.2)}%
+% LNI provides a DOI for each paper. In case, the DOI is known, it can be
+% specified using the \cs{lnidoi} macro.
+% \begin{examplecode}[label={lst:lnidoi}]
+% \lnidoi{18.18420/se2016_01}
+% \end{examplecode}
+%
% Finally \cs{maketitle} will output the formatted title page.
%
% \subsection{Abstract and keywords}
@@ -670,7 +689,7 @@
\expandafter\ifx\@tempb\@gobble
\let\@classoptionslist\@empty
\fi}
-
+%
\DeclareOption{latin1}{\PassOptionsToPackage{latin1}{inputenc}}
\DeclareOption{utf8}{\PassOptionsToPackage{utf8}{inputenc}}
\DeclareOption{ansinew}{\PassOptionsToPackage{ansinew}{inputenc}}
@@ -692,24 +711,29 @@
\ExecuteOptions{utf8}
\DeclareOption*{\ClassWarning{Option `\CurrentOption` is not supported!}}
\ProcessOptions\relax
-
-\RequirePackage{hyphsubst}
-\HyphSubstIfExists{ngerman-x-latest}%
- {\HyphSubstLet{ngerman}{ngerman-x-latest}%
- \ClassInfo{lni}{Using latest German hyphenation patterns}}%
- {\ClassWarning{lni}{Latest German hyphenation patterns could not be found!%
- \MessageBreak If you write a German article you should check your%
- installation}}%
+%
+\RequirePackage{iftex}
+\ifPDFTeX
+ \RequirePackage{hyphsubst}
+ \HyphSubstIfExists{ngerman-x-latest}%
+ {\HyphSubstLet{ngerman}{ngerman-x-latest}%
+ \ClassInfo{lni}{Using latest German hyphenation patterns}}%
+ {\ClassWarning{lni}{Latest German hyphenation patterns could not be found!%
+ \MessageBreak If you write a German article you should check your%
+ installation}}%
+\fi%
\LoadClass[10pt,twoside,a4paper,fleqn]{article}
-\RequirePackage{cmap}
-\RequirePackage{inputenc}
-\RequirePackage[T1]{fontenc}
+\ifPDFTeX
+ \RequirePackage{cmap}
+ \RequirePackage{inputenc}
+ \RequirePackage[T1]{fontenc}
+\fi%
%
\iflnienglish
\RequirePackage[ngerman,english]{babel}
\else
\RequirePackage[english,ngerman]{babel}
-\fi
+\fi%
% Hint by http://tex.stackexchange.com/a/321067/9075 -> enable "= as dashes
\useshorthands*{"}
\addto\extrasenglish{\languageshorthands{ngerman}}
@@ -716,14 +740,37 @@
% \end{macrocode}
% Define a modern variant of Times as the main font
% \begin{macrocode}
-\RequirePackage{newtxtext}
-\RequirePackage{newtxmath}
-\RequirePackage[zerostyle=b,straightquotes,scaled=.9]{newtxtt}
-\RequirePackage[%
- final,%
- tracking=smallcaps,%
- expansion=alltext,%
- protrusion=alltext-nott]{microtype}%
+\ifPDFTeX
+ \RequirePackage{newtxtext}
+ \RequirePackage{newtxmath}
+ \RequirePackage[zerostyle=b,scaled=.9]{newtxtt}
+% \end{macrocode}
+% For compatibility with version of \pkg{newtxtt} prior to v1.05 we set the
+% option \opt{straightquotes} manually for recent versions
+% \begin{macrocode}
+ \@ifpackagelater{newtxtt}{2014/11/18}%
+ {\txtt at upqtrue}%
+ {\ClassWarning{lni}{You are using an old version of `newtxtt'.\MessageBreak
+ Option `straightquotes' will not be used!}}%
+% \end{macrocode}
+% \begin{macrocode}
+\else
+ \usepackage{newtxmath}
+ \usepackage[no-math]{fontspec}
+ \setmainfont[Ligatures=TeX]{TeXGyreTermesX}
+\fi%
+% \begin{macrocode}
+\ifPDFTeX
+ \RequirePackage[%
+ final,%
+ tracking=smallcaps,%
+ expansion=alltext,%
+ protrusion=alltext-nott]{microtype}%
+\else
+ \RequirePackage[%
+ final,%
+ protrusion=alltext-nott]{microtype}%
+\fi%
\SetTracking{encoding=*,shape=sc}{50}%
% \end{macrocode}
% Introduce \cs{powerset} - hint by \url{http://matheplanet.com/matheplanet/nuke/html/viewtopic.php?topic=136492&post_id=997377}
@@ -741,8 +788,14 @@
}{}
\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}
% \end{macrocode}
+% Support for CC icons
+\RequirePackage{ccicons}
+% Support for \cs{ifdefempty}
+\RequirePackage{etoolbox}
% Satzspiegel
% \begin{macrocode}
+\newlength{\doihoffset}
+\newlength{\doivoffset}
\ifcrop
\RequirePackage[
paperheight=23.5cm,paperwidth=15.5cm,
@@ -783,6 +836,8 @@
\hss
}%
}}%
+ \setlength{\doihoffset}{1.45cm}
+ \setlength{\doivoffset}{1.2cm}
\else
\RequirePackage[
total={12.6cm,19.2cm},
@@ -791,6 +846,8 @@
headsep=.31cm,
centering]
{geometry}
+ \setlength{\doihoffset}{4.2cm}
+ \setlength{\doivoffset}{4.3cm}
\fi%
% \end{macrocode}
% \begin{macrocode}
@@ -822,6 +879,7 @@
% \end{macrocode}
% \begin{macrocode}
\RequirePackage{graphicx}
+\RequirePackage{eso-pic}
\RequirePackage{grffile}
\RequirePackage{fancyhdr}
\RequirePackage{listings}
@@ -885,6 +943,12 @@
\newcommand*{\email}[1]{{\urlstyle{same}\protect\url{#1}}}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\lnidoi}
+% \begin{macrocode}
+\newcommand{\@lnidoi}{}
+\newcommand{\lnidoi}[1]{\gdef\@lnidoi{#1}}
+% \end{macrocode}
+% \end{macro}
% Title: Kopie aus article.cls mit anderem \thispagestyle
% \begin{macrocode}
\renewcommand\maketitle{\par%
@@ -934,10 +998,10 @@
\vskip -24pt% Abstand vor dem Titel
\raggedright % Linksbündig
\let\footnote\thanks
- {\fontsize{14}{17}\fontseries{b}\selectfont\@title\par}%
+ {\fontsize{14}{17}\selectfont\bfseries\@title\par}%
\ifx\@subtitle\empty\else
\vskip 16pt
- {\fontsize{10}{12}\fontseries{b}\selectfont\@subtitle}
+ {\fontsize{10}{12}\selectfont\bfseries\@subtitle}
\fi%
\vskip 19pt% Abstand nach dem Titel
{\fontsize{10}{12}\selectfont
@@ -946,6 +1010,24 @@
\par}%
\vskip 28pt% Abstand vor dem Abstract
\end{center}%
+% output CC license and DOI (if it exists)
+ \AddToShipoutPictureBG*{\AtPageLowerLeft{%
+ \put(\LenToUnit{\the\doihoffset},\LenToUnit{\the\doivoffset}){%
+ \ifusehyperref
+ \href{https://creativecommons.org/licenses/by-nc/3.0/}{\ccbynceu}
+ \else
+ \ccbynceu
+ \fi
+ \ifdefempty{\@lnidoi}{}{
+ \footnotesize
+ \ifusehyperref
+ \href{https://doi.org/\@lnidoi}{doi:\@lnidoi}
+ \else
+ doi:\@lnidoi
+ \fi%
+ }
+ }
+ }}
\par
}%
% \end{macrocode}
@@ -974,9 +1056,9 @@
% Section headings
% \begin{macrocode}
\renewcommand{\section}{\@startsection{section}{1}{\z@}%
- {-16\p@ \@plus -4\p@ \@minus -4\p@}{5\p@ \@plus 4\p@ \@minus 4\p@}{\fontsize{12}{14}\fontseries{b}\selectfont}}
+ {-16\p@ \@plus -4\p@ \@minus -4\p@}{5\p@ \@plus 4\p@ \@minus 4\p@}{\fontsize{12}{14}\selectfont\bfseries}}
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
- {-16\p@ \@plus -4\p@ \@minus -4\p@}{8\p@ \@plus 4\p@ \@minus 4\p@}{\fontsize{10}{12}\fontseries{b}\selectfont}}
+ {-16\p@ \@plus -4\p@ \@minus -4\p@}{8\p@ \@plus 4\p@ \@minus 4\p@}{\fontsize{10}{12}\selectfont\bfseries}}
% \end{macrocode}
% Bildunterschriften
% \begin{macrocode}
@@ -2687,6 +2769,7 @@
\editor{Herausgeber et al.} % Names of Editors
\booktitle{Name-der-Konferenz} % Name of book title
\year{2017}
+%%%\lnidoi{18.18420/provided-by-editor-02} % if known
\maketitle
\begin{abstract}
Modified: trunk/Master/texmf-dist/source/latex/lni/lni.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/lni/lni.ins 2017-05-05 22:47:42 UTC (rev 44211)
+++ trunk/Master/texmf-dist/source/latex/lni/lni.ins 2017-05-05 22:48:32 UTC (rev 44212)
@@ -74,6 +74,7 @@
This work consists of the file lni.dtx
lni.ins
README.md
+ CHANGELOG.md
and the derived files lni.pdf
lni.cls
lni-author-template.tex
@@ -111,6 +112,7 @@
%% This work consists of the file lni.dtx
%% lni.ins
%% README.md
+%% CHANGELOG.md
%% and the derived files lni.pdf
%% lni.cls
%% lni-author-template.tex
Modified: trunk/Master/texmf-dist/tex/latex/lni/lni.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lni/lni.cls 2017-05-05 22:47:42 UTC (rev 44211)
+++ trunk/Master/texmf-dist/tex/latex/lni/lni.cls 2017-05-05 22:48:32 UTC (rev 44212)
@@ -14,7 +14,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{lni}
- [2017/04/19 v1.1 Official class for submissions to the ``Lecture Notes
+ [2017/05/05 v1.2 Official class for submissions to the ``Lecture Notes
in Informatics'']
\def\@clearglobaloption#1{%
\def\@tempa{#1}%
@@ -29,7 +29,6 @@
\expandafter\ifx\@tempb\@gobble
\let\@classoptionslist\@empty
\fi}
-
\DeclareOption{latin1}{\PassOptionsToPackage{latin1}{inputenc}}
\DeclareOption{utf8}{\PassOptionsToPackage{utf8}{inputenc}}
\DeclareOption{ansinew}{\PassOptionsToPackage{ansinew}{inputenc}}
@@ -51,33 +50,53 @@
\ExecuteOptions{utf8}
\DeclareOption*{\ClassWarning{Option `\CurrentOption` is not supported!}}
\ProcessOptions\relax
-
-\RequirePackage{hyphsubst}
-\HyphSubstIfExists{ngerman-x-latest}%
- {\HyphSubstLet{ngerman}{ngerman-x-latest}%
- \ClassInfo{lni}{Using latest German hyphenation patterns}}%
- {\ClassWarning{lni}{Latest German hyphenation patterns could not be found!%
- \MessageBreak If you write a German article you should check your%
- installation}}%
+\RequirePackage{iftex}
+\ifPDFTeX
+ \RequirePackage{hyphsubst}
+ \HyphSubstIfExists{ngerman-x-latest}%
+ {\HyphSubstLet{ngerman}{ngerman-x-latest}%
+ \ClassInfo{lni}{Using latest German hyphenation patterns}}%
+ {\ClassWarning{lni}{Latest German hyphenation patterns could not be found!%
+ \MessageBreak If you write a German article you should check your%
+ installation}}%
+\fi%
\LoadClass[10pt,twoside,a4paper,fleqn]{article}
-\RequirePackage{cmap}
-\RequirePackage{inputenc}
-\RequirePackage[T1]{fontenc}
+\ifPDFTeX
+ \RequirePackage{cmap}
+ \RequirePackage{inputenc}
+ \RequirePackage[T1]{fontenc}
+\fi%
\iflnienglish
\RequirePackage[ngerman,english]{babel}
\else
\RequirePackage[english,ngerman]{babel}
-\fi
+\fi%
\useshorthands*{"}
\addto\extrasenglish{\languageshorthands{ngerman}}
-\RequirePackage{newtxtext}
-\RequirePackage{newtxmath}
-\RequirePackage[zerostyle=b,straightquotes,scaled=.9]{newtxtt}
-\RequirePackage[%
- final,%
- tracking=smallcaps,%
- expansion=alltext,%
- protrusion=alltext-nott]{microtype}%
+\ifPDFTeX
+ \RequirePackage{newtxtext}
+ \RequirePackage{newtxmath}
+ \RequirePackage[zerostyle=b,scaled=.9]{newtxtt}
+ \@ifpackagelater{newtxtt}{2014/11/18}%
+ {\txtt at upqtrue}%
+ {\ClassWarning{lni}{You are using an old version of `newtxtt'.\MessageBreak
+ Option `straightquotes' will not be used!}}%
+\else
+ \usepackage{newtxmath}
+ \usepackage[no-math]{fontspec}
+ \setmainfont[Ligatures=TeX]{TeXGyreTermesX}
+\fi%
+\ifPDFTeX
+ \RequirePackage[%
+ final,%
+ tracking=smallcaps,%
+ expansion=alltext,%
+ protrusion=alltext-nott]{microtype}%
+\else
+ \RequirePackage[%
+ final,%
+ protrusion=alltext-nott]{microtype}%
+\fi%
\SetTracking{encoding=*,shape=sc}{50}%
\DeclareFontFamily{U}{MnSymbolC}{}
\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}
@@ -91,6 +110,10 @@
<12-> MnSymbolC12%
}{}
\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}
+\RequirePackage{ccicons}
+\RequirePackage{etoolbox}
+\newlength{\doihoffset}
+\newlength{\doivoffset}
\ifcrop
\RequirePackage[
paperheight=23.5cm,paperwidth=15.5cm,
@@ -131,6 +154,8 @@
\hss
}%
}}%
+ \setlength{\doihoffset}{1.45cm}
+ \setlength{\doivoffset}{1.2cm}
\else
\RequirePackage[
total={12.6cm,19.2cm},
@@ -139,6 +164,8 @@
headsep=.31cm,
centering]
{geometry}
+ \setlength{\doihoffset}{4.2cm}
+ \setlength{\doivoffset}{4.3cm}
\fi%
\RequirePackage[autostyle]{csquotes}
\ifusebiblatex
@@ -161,6 +188,7 @@
{\usebibmacro{postnote}}%
\fi%
\RequirePackage{graphicx}
+\RequirePackage{eso-pic}
\RequirePackage{grffile}
\RequirePackage{fancyhdr}
\RequirePackage{listings}
@@ -196,6 +224,8 @@
\newcommand{\authorrunning}[1]{%
\fancyhead[LE]{\hspace{0.05cm}\small\thepage\hspace{5pt}#1}}
\newcommand*{\email}[1]{{\urlstyle{same}\protect\url{#1}}}
+\newcommand{\@lnidoi}{}
+\newcommand{\lnidoi}[1]{\gdef\@lnidoi{#1}}
\renewcommand\maketitle{\par%
\begingroup
\renewcommand\thefootnote{\@arabic\c at footnote}%
@@ -241,10 +271,10 @@
\vskip -24pt% Abstand vor dem Titel
\raggedright % Linksbündig
\let\footnote\thanks
- {\fontsize{14}{17}\fontseries{b}\selectfont\@title\par}%
+ {\fontsize{14}{17}\selectfont\bfseries\@title\par}%
\ifx\@subtitle\empty\else
\vskip 16pt
- {\fontsize{10}{12}\fontseries{b}\selectfont\@subtitle}
+ {\fontsize{10}{12}\selectfont\bfseries\@subtitle}
\fi%
\vskip 19pt% Abstand nach dem Titel
{\fontsize{10}{12}\selectfont
@@ -253,6 +283,23 @@
\par}%
\vskip 28pt% Abstand vor dem Abstract
\end{center}%
+ \AddToShipoutPictureBG*{\AtPageLowerLeft{%
+ \put(\LenToUnit{\the\doihoffset},\LenToUnit{\the\doivoffset}){%
+ \ifusehyperref
+ \href{https://creativecommons.org/licenses/by-nc/3.0/}{\ccbynceu}
+ \else
+ \ccbynceu
+ \fi
+ \ifdefempty{\@lnidoi}{}{
+ \footnotesize
+ \ifusehyperref
+ \href{https://doi.org/\@lnidoi}{doi:\@lnidoi}
+ \else
+ doi:\@lnidoi
+ \fi%
+ }
+ }
+ }}
\par
}%
\renewenvironment*{abstract}{%
@@ -270,9 +317,9 @@
\pretocmd\@startsection{\ifkeywords\ClassError{lni}{keywords is an environment, not a macro}%
{Please change \string\keywords\space to an environment}\keywordsfalse\fi}{}{}
\renewcommand{\section}{\@startsection{section}{1}{\z@}%
- {-16\p@ \@plus -4\p@ \@minus -4\p@}{5\p@ \@plus 4\p@ \@minus 4\p@}{\fontsize{12}{14}\fontseries{b}\selectfont}}
+ {-16\p@ \@plus -4\p@ \@minus -4\p@}{5\p@ \@plus 4\p@ \@minus 4\p@}{\fontsize{12}{14}\selectfont\bfseries}}
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
- {-16\p@ \@plus -4\p@ \@minus -4\p@}{8\p@ \@plus 4\p@ \@minus 4\p@}{\fontsize{10}{12}\fontseries{b}\selectfont}}
+ {-16\p@ \@plus -4\p@ \@minus -4\p@}{8\p@ \@plus 4\p@ \@minus 4\p@}{\fontsize{10}{12}\selectfont\bfseries}}
\setlength{\abovecaptionskip}{4pt}%Abstand vor der Bildunterschrift
\setlength{\belowcaptionskip}{0pt}%Abstand nach der Bildunterschrift
\setlength{\intextsep}{6pt}%Abstand nach der Grafik
@@ -486,6 +533,7 @@
%% This work consists of the file lni.dtx
%% lni.ins
%% README.md
+%% CHANGELOG.md
%% and the derived files lni.pdf
%% lni.cls
%% lni-author-template.tex
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2017-05-05 22:47:42 UTC (rev 44211)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2017-05-05 22:48:32 UTC (rev 44212)
@@ -1327,6 +1327,7 @@
'lilyglyphs' => '&POSTlilyglyphs',
'listbib' => '&POSTlistbib',
'lithuanian' => '&POSTlithuanian',
+ 'lni' => '&POST_rmsymlink',
'lollipop' => '&POST_otherformat',
'lua-check-hyphen' => '&POST_rmsymlink',
'luaotfload' => '&POST_do_man',
More information about the tex-live-commits
mailing list