diff options
author | Karl Berry <karl@freefriends.org> | 2017-05-05 22:48:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-05-05 22:48:32 +0000 |
commit | 4f2e3884f814d46f0bbdb3f072c235e945c49eab (patch) | |
tree | 5790f7bf30d314c8265a3e22c5cb1860c49ed8e1 /Master | |
parent | f229d8b30d8bd919e4f818ccd47c64cdc1d5cd0c (diff) |
lni (5may17)
git-svn-id: svn://tug.org/texlive/trunk@44212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/lni/lni.bst | 1 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/lni/lnig.bst | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lni/CHANGELOG.md | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lni/README.md | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lni/lni-author-template.tex | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lni/lni.pdf | bin | 353067 -> 353066 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/lni/lni.dtx | 139 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/lni/lni.ins | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/lni/lni.cls | 100 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 |
10 files changed, 217 insertions, 61 deletions
diff --git a/Master/texmf-dist/bibtex/bst/lni/lni.bst b/Master/texmf-dist/bibtex/bst/lni/lni.bst index 7434b05a524..cd33e6a0565 100644 --- a/Master/texmf-dist/bibtex/bst/lni/lni.bst +++ b/Master/texmf-dist/bibtex/bst/lni/lni.bst @@ -1292,6 +1292,7 @@ EXECUTE {end.bib} %% 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 diff --git a/Master/texmf-dist/bibtex/bst/lni/lnig.bst b/Master/texmf-dist/bibtex/bst/lni/lnig.bst index 1859cfc8c0e..2b95c46717f 100644 --- a/Master/texmf-dist/bibtex/bst/lni/lnig.bst +++ b/Master/texmf-dist/bibtex/bst/lni/lnig.bst @@ -1292,6 +1292,7 @@ EXECUTE {end.bib} %% 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 diff --git a/Master/texmf-dist/doc/latex/lni/CHANGELOG.md b/Master/texmf-dist/doc/latex/lni/CHANGELOG.md index 25bc084ebcc..970362f5742 100644 --- a/Master/texmf-dist/doc/latex/lni/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/lni/CHANGELOG.md @@ -4,10 +4,19 @@ All notable changes to this project will be documented in this file. 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 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [1.0.0] - 2017-04-07 First release of the revised files -[1.0.0]: https://github.com/gi-ev/LNI/releases/tag/v1.0 +[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 + diff --git a/Master/texmf-dist/doc/latex/lni/README.md b/Master/texmf-dist/doc/latex/lni/README.md index da8716d7b67..6d62335be51 100644 --- a/Master/texmf-dist/doc/latex/lni/README.md +++ b/Master/texmf-dist/doc/latex/lni/README.md @@ -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@schoenerpublizieren.de License: Released under the LaTeX Project Public License v1.3c or later @@ -18,12 +18,20 @@ This is the official version of the class “lni” for submissions to the 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 diff --git a/Master/texmf-dist/doc/latex/lni/lni-author-template.tex b/Master/texmf-dist/doc/latex/lni/lni-author-template.tex index a1bba9d64b0..e6171e3dc56 100644 --- a/Master/texmf-dist/doc/latex/lni/lni-author-template.tex +++ b/Master/texmf-dist/doc/latex/lni/lni-author-template.tex @@ -25,6 +25,7 @@ Firstname2 Lastname2\footnote{University, Department, Address, Country \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} diff --git a/Master/texmf-dist/doc/latex/lni/lni.pdf b/Master/texmf-dist/doc/latex/lni/lni.pdf Binary files differindex e559c408042..265f754eaa3 100644 --- a/Master/texmf-dist/doc/latex/lni/lni.pdf +++ b/Master/texmf-dist/doc/latex/lni/lni.pdf diff --git a/Master/texmf-dist/source/latex/lni/lni.dtx b/Master/texmf-dist/source/latex/lni/lni.dtx index c50c598947d..359137aa0cb 100644 --- a/Master/texmf-dist/source/latex/lni/lni.dtx +++ b/Master/texmf-dist/source/latex/lni/lni.dtx @@ -114,6 +114,7 @@ Martin Sievers. 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 @@ This work consists of the file lni.dtx %<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 @@ This work consists of the file lni.dtx \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 @@ This work consists of the file lni.dtx 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 @@ This work consists of the file lni.dtx % \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 @@ This work consists of the file lni.dtx % 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 @@ This work consists of the file lni.dtx % 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 @@ This work consists of the file lni.dtx \expandafter\ifx\@tempb\@gobble \let\@classoptionslist\@empty \fi} - +% \DeclareOption{latin1}{\PassOptionsToPackage{latin1}{inputenc}} \DeclareOption{utf8}{\PassOptionsToPackage{utf8}{inputenc}} \DeclareOption{ansinew}{\PassOptionsToPackage{ansinew}{inputenc}} @@ -692,38 +711,66 @@ This work consists of the file lni.dtx \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}} % \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@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 @@ This work consists of the file lni.dtx }{} \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 @@ This work consists of the file lni.dtx \hss }% }}% + \setlength{\doihoffset}{1.45cm} + \setlength{\doivoffset}{1.2cm} \else \RequirePackage[ total={12.6cm,19.2cm}, @@ -791,6 +846,8 @@ This work consists of the file lni.dtx headsep=.31cm, centering] {geometry} + \setlength{\doihoffset}{4.2cm} + \setlength{\doivoffset}{4.3cm} \fi% % \end{macrocode} % \begin{macrocode} @@ -822,6 +879,7 @@ This work consists of the file lni.dtx % \end{macrocode} % \begin{macrocode} \RequirePackage{graphicx} +\RequirePackage{eso-pic} \RequirePackage{grffile} \RequirePackage{fancyhdr} \RequirePackage{listings} @@ -885,6 +943,12 @@ This work consists of the file lni.dtx \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 @@ This work consists of the file lni.dtx \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 @@ This work consists of the file lni.dtx \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 @@ This work consists of the file lni.dtx % 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 @@ Firstname2 Lastname2\footnote{University, Department, Address, Country \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} diff --git a/Master/texmf-dist/source/latex/lni/lni.ins b/Master/texmf-dist/source/latex/lni/lni.ins index cd3230d749f..f32cb314523 100644 --- a/Master/texmf-dist/source/latex/lni/lni.ins +++ b/Master/texmf-dist/source/latex/lni/lni.ins @@ -74,6 +74,7 @@ Martin Sievers. 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 %% 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 diff --git a/Master/texmf-dist/tex/latex/lni/lni.cls b/Master/texmf-dist/tex/latex/lni/lni.cls index 2e0f17a20e0..068e27f5848 100644 --- a/Master/texmf-dist/tex/latex/lni/lni.cls +++ b/Master/texmf-dist/tex/latex/lni/lni.cls @@ -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@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@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 diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 5f93274b44c..ca0c717aed8 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1327,6 +1327,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'lilyglyphs' => '&POSTlilyglyphs', 'listbib' => '&POSTlistbib', 'lithuanian' => '&POSTlithuanian', + 'lni' => '&POST_rmsymlink', 'lollipop' => '&POST_otherformat', 'lua-check-hyphen' => '&POST_rmsymlink', 'luaotfload' => '&POST_do_man', |