From 3327506128837caae25f9a61112667de55078b85 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 15 Jan 2018 22:21:16 +0000 Subject: lni (15jan18) git-svn-id: svn://tug.org/texlive/trunk@46322 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/bibtex/bst/lni/lni.bst | 12 +- Master/texmf-dist/bibtex/bst/lni/lnig.bst | 12 +- Master/texmf-dist/doc/latex/lni/CHANGELOG.md | 25 +- Master/texmf-dist/doc/latex/lni/README.md | 6 +- .../doc/latex/lni/lni-author-template.tex | 11 +- .../doc/latex/lni/lni-paper-example-de.bib | 90 +++ .../doc/latex/lni/lni-paper-example-de.tex | 172 ++++++ Master/texmf-dist/doc/latex/lni/lni.pdf | Bin 353242 -> 358611 bytes Master/texmf-dist/source/latex/lni/lni.dtx | 658 ++++++++++++++++----- Master/texmf-dist/source/latex/lni/lni.ins | 73 +-- Master/texmf-dist/tex/latex/lni/lni.cls | 186 +++--- 11 files changed, 971 insertions(+), 274 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/lni/lni-paper-example-de.bib create mode 100644 Master/texmf-dist/doc/latex/lni/lni-paper-example-de.tex (limited to 'Master') diff --git a/Master/texmf-dist/bibtex/bst/lni/lni.bst b/Master/texmf-dist/bibtex/bst/lni/lni.bst index cd33e6a0565..ba5a056052f 100644 --- a/Master/texmf-dist/bibtex/bst/lni/lni.bst +++ b/Master/texmf-dist/bibtex/bst/lni/lni.bst @@ -5,7 +5,15 @@ %% The original source files were: %% %% lni.dtx (with options: `bibtex,eng') +%% lnig.bst +%% Lecture Notes in Informatics Style File (english) +%% Version 1.0 (2017/04/07) %% +%% The Style File is based on alpha.bst +%% +%% This work may be freely used, +%% distributed and modified. +%% Modified files should be clearly indicated as such and renamed. ENTRY { address author @@ -1277,7 +1285,7 @@ FUNCTION {end.bib} EXECUTE {end.bib} %% -%% Copyright (C) 2016-2017 by Gesellschaft für Informatik e.V. (GI) +%% Copyright (C) 2016-2018 by Gesellschaft für Informatik e.V. (GI) %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either @@ -1296,6 +1304,8 @@ EXECUTE {end.bib} %% and the derived files lni.pdf %% lni.cls %% lni-author-template.tex +%% lni-paper-example-de.bib +%% lni-paper-example-de.tex %% lni.bst %% lnig.bst %% diff --git a/Master/texmf-dist/bibtex/bst/lni/lnig.bst b/Master/texmf-dist/bibtex/bst/lni/lnig.bst index 2b95c46717f..2f95dff36e3 100644 --- a/Master/texmf-dist/bibtex/bst/lni/lnig.bst +++ b/Master/texmf-dist/bibtex/bst/lni/lnig.bst @@ -5,7 +5,15 @@ %% The original source files were: %% %% lni.dtx (with options: `bibtex,ger') +%% lnig.bst +%% Lecture Notes in Informatics Style File (german) +%% Version 1.0 (2017/04/07) %% +%% The Style File is based on alpha.bst +%% +%% This work may be freely used, +%% distributed and modified. +%% Modified files should be clearly indicated as such and renamed. ENTRY { address author @@ -1277,7 +1285,7 @@ FUNCTION {end.bib} EXECUTE {end.bib} %% -%% Copyright (C) 2016-2017 by Gesellschaft für Informatik e.V. (GI) +%% Copyright (C) 2016-2018 by Gesellschaft für Informatik e.V. (GI) %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either @@ -1296,6 +1304,8 @@ EXECUTE {end.bib} %% and the derived files lni.pdf %% lni.cls %% lni-author-template.tex +%% lni-paper-example-de.bib +%% lni-paper-example-de.tex %% lni.bst %% lnig.bst %% diff --git a/Master/texmf-dist/doc/latex/lni/CHANGELOG.md b/Master/texmf-dist/doc/latex/lni/CHANGELOG.md index 70452549f95..71c7614a4b8 100644 --- a/Master/texmf-dist/doc/latex/lni/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/lni/CHANGELOG.md @@ -4,14 +4,33 @@ 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.4.0 - 2018-01-15] + +### Added +- New option `oldfonts` to use the class file on older systems by loading the `mathptmx` font package ([#56](https://github.com/gi-ev/LNI/issues/56)) +- New macros added (taken from `emisa.dtx`) ([#57](https://github.com/gi-ev/LNI/issues/57)) +- Hint to word limit for abstract ([#60](https://github.com/gi-ev/LNI/issues/60)) +- Added full example for an article in German ([#63](https://github.com/gi-ev/LNI/issues/63)) + +### Changed +- Package `caption` is loaded in order to make the class more robust ([#59](https://github.com/gi-ev/LNI/issues/59)) + +### Fixed +- Basewidth for `lstlistings` ([#62](https://github.com/gi-ev/LNI/issues/62)) +- Adapting captions of `lstlistings` +- License statement of paper: CC-BY-SA instead of CC-BY-NC ([#67](https://github.com/gi-ev/LNI/issues/67)) + ## [1.3.0] - 2017-05-15 + ### Added -- New option `nofont` to use the class file on older systems ([#53](https://github.com/gi-ev/LNI/issues/52)) +- New option `nofonts` to use the class file on older systems ([#53](https://github.com/gi-ev/LNI/issues/52)) ### Changed - Use more stable syntax for font loading with `fontspec` ([#54](https://github.com/gi-ev/LNI/issues/54)) + ## [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) @@ -20,7 +39,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### 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)) @@ -35,9 +56,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Definition of `\Crefname` to always get "Abb." instead of "ABB." etc. ([#45](https://github.com/gi-ev/LNI/pull/45)) + ## [1.0.0] - 2017-04-07 First release of the revised files +[1.4.0]: https://github.com/gi-ev/LNI/releases/tag/v1.4 [1.3.0]: https://github.com/gi-ev/LNI/releases/tag/v1.3 [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 diff --git a/Master/texmf-dist/doc/latex/lni/README.md b/Master/texmf-dist/doc/latex/lni/README.md index 24d49354995..7a156347158 100644 --- a/Master/texmf-dist/doc/latex/lni/README.md +++ b/Master/texmf-dist/doc/latex/lni/README.md @@ -1,10 +1,10 @@ -# lni +# lni [![Build Status](https://circleci.com/gh/gi-ev/LNI/tree/master.svg?style=shield)](https://circleci.com/gh/gi-ev/LNI/) [![CTAN](https://img.shields.io/badge/CTAN-lni-blue.svg?style=flat-square)](https://ctan.org/pkg/lni) ``` ---------------------------------------------------------------------------- lni -- A class for submissions to the ``Lecture Notes in Informatics'' -(c) 2016-2017 Gesellschaft für Informatik (GI) -Version: 1.3 +(c) 2016-2018 Gesellschaft für Informatik (GI) +Version: 1.4 Maintainer: Martin Sievers Email: martin.sievers@schoenerpublizieren.de License: Released under the LaTeX Project Public License v1.3c or later 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 e6171e3dc56..6dffc4195c1 100644 --- a/Master/texmf-dist/doc/latex/lni/lni-author-template.tex +++ b/Master/texmf-dist/doc/latex/lni/lni-author-template.tex @@ -1,7 +1,7 @@ -%% !TeX encoding = UTF-8 -%% !TeX program = pdflatex -%% !BIB program = bibtex -%% +% !TeX encoding = UTF-8 +% !TeX program = pdflatex +% !BIB program = bibtex + %%% Um einen Artikel auf deutsch zu schreiben, genügt es die Klasse ohne %%% Parameter zu laden. \documentclass[]{lni} @@ -29,7 +29,8 @@ Firstname2 Lastname2\footnote{University, Department, Address, Country \maketitle \begin{abstract} -Zusammenfassung / Some abstract +This is a brief overview of the paper, which should be 70 to 150 words long and +include the most relevant points. This has to be a single paragraph. \end{abstract} \begin{keywords} Schlagwort1 \and Schlagwort2 %Keyword1 \and Keyword2 diff --git a/Master/texmf-dist/doc/latex/lni/lni-paper-example-de.bib b/Master/texmf-dist/doc/latex/lni/lni-paper-example-de.bib new file mode 100644 index 00000000000..152d6b5cab9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/lni/lni-paper-example-de.bib @@ -0,0 +1,90 @@ + +@InProceedings{ABC01, + author = {N. Abraham and U. Bibel and P. Corleone}, + title = {Formatting Contributions for Proceedings}, + pages = {46-53}, + crossref = {Gl01}, +} + +@InBook{Az09, + pages = {135-162}, + title = {Die Fußnote in LNI-Bänden}, + author = {Azubi, L. and others}, + crossref = {Gl09}, +} + +@Book{AB00, + title = {Formatierungsrichtlinien für Tagungsbände}, + publisher = {Format-Verlag}, + year = {2000}, + author = {K. Abel and U. Bibel}, + address = {Bonn}, +} + +@Book{Ez10, + title = {The Magic Format -- Your Way to Pretty Books}, + publisher = {Noah \& Sons}, + year = {2010}, + author = {O. Ezgarani}, +} + +@Article{Gl06, + author = {H. I. Glück}, + title = {Formatierung leicht gemacht}, + journal = {Formatierungsjournal}, + volume = {11}, + number = {09}, + year = {2009}, + pages = {23-27}, +} + +@Book{Wa14, + title = {Essenzen der Informatik}, + publisher = {Verlag Formvoll}, + year = {2014}, + author = {K. Wasser and H. Feuer and R. Erde and H. Licht}, +} + +@Book{Wa14b, + title = {Ganz neue Essenzen der Informatik im selben Jahr}, + publisher = {Format-Verlag}, + year = {2014}, + author = {K. Wasser and H. Feuer and R. Erde and H. Licht}, +} + +@Proceedings{Gl01, + title = {Proc. 7th Int. Conf. on Formatting of Workshop-Proceedings}, + year = {2001}, + editor = {Glück, H. I.}, + address = {San Francisco}, + publisher = {Noah \& Sons}, + booktitle = {Proc. 7th Int. Conf. on Formatting of Workshop-Proceedings}, +} + +@Book{Gl09, + title = {Formatierung 2009}, + publisher = {Format-Verlag}, + year = {2009}, + editor = {H. I. Glück}, + number = {999}, + series = {LNI}, + address = {Bonn}, + booktitle = {Formatierung 2009}, +} + +@Misc{XX14, + title = {Anteil an Frauen in der Informatik}, + label = {An}, + howpublished = {Statistics Worldwide}, + year = {2014}, +} + +@Online{GI14, + author = {{Gesellschaft für Informatik e.\,V.}}, + label = {GI}, + year = {2014}, + url = {http://www.gi-ev.de}, + urldate = {2014-12-24} +} + +@Comment{jabref-meta: databaseType:biblatex;} diff --git a/Master/texmf-dist/doc/latex/lni/lni-paper-example-de.tex b/Master/texmf-dist/doc/latex/lni/lni-paper-example-de.tex new file mode 100644 index 00000000000..2e47106836f --- /dev/null +++ b/Master/texmf-dist/doc/latex/lni/lni-paper-example-de.tex @@ -0,0 +1,172 @@ +% !TeX encoding = UTF-8 +% !TeX spellcheck = de_DE + +%% Dies gibt Warnungen aus, sollten veraltete LaTeX-Befehle verwendet werden +\RequirePackage[l2tabu, orthodox]{nag} + +\documentclass[utf8,biblatex]{lni} +\bibliography{lni-paper-example-de} + +%% Schöne Tabellen mittels \toprule, \midrule, \bottomrule +\usepackage{booktabs} + +%% Zu Demonstrationszwecken +\usepackage[math]{blindtext} +\usepackage{mwe} + +%% BibLaTeX-Sonderkonfiguration, +%% falls man schnell eine existierende Bibliographie wiederverwenden will, aber nicht die .bib-Datei händisch anpassen möchte. +%% Bitte \iffalse und \fi entfernen, dann ist diese Konfiguration aktiviert. + +\iffalse +\AtEveryBibitem{% + \ifentrytype{article}{% + }{% + \clearfield{doi}% + \clearfield{issn}% + \clearfield{url}% + \clearfield{urldate}% + }% + \ifentrytype{inproceedings}{% + }{% + \clearfield{doi}% + \clearfield{issn}% + \clearfield{url}% + \clearfield{urldate}% + }% +} +\fi + +\begin{document} +%%% Mehrere Autoren werden durch \and voneinander getrennt. +%%% Die Fußnote enthält die Adresse sowie eine E-Mail-Adresse. +%%% Das optionale Argument (sofern angegeben) wird für die Kopfzeile verwendet. +\title[Ein Kurztitel]{Ein sehr langer Titel über mehrere Zeilen mit sehr vielen Worten und noch mehr Buchstaben} +%%%\subtitle{Untertitel / Subtitle} % falls benötigt +\author[Vorname1 Nachname1 \and Vorname2 Nachname2] +{Vorname1 Nachname1\footnote{Universität, Abteilung, Straße, Postleitzahl Ort, Land \email{emailaddress@author1}} \and + Vorname2 Nachname2\footnote{University, Department, Address, Country \email{emailaddress@author2}}} +\startpage{11} % Beginn der Seitenzählung für diesen Beitrag +\editor{Herausgeber et al.} % Namen der Herausgeber +\booktitle{Name-der-Konferenz} % Name des Tagungsband +\year{2017} +%%%\lnidoi{18.18420/provided-by-editor-02} % Falls bekannt +\maketitle + +\begin{abstract} +Die \LaTeX-Klasse \texttt{lni} setzt die Layout-Vorgaben für Beiträge in LNI Konferenzbänden um. +Dieses Dokument beschreibt ihre Verwendung und ist ein Beispiel für die entsprechende Darstellung. +Der Abstract ist ein kurzer Überblick über die Arbeit der zwischen 70 und 150 Wörtern lang sein und das Wichtigste enthalten sollte. +Die Formatierung erfolgt automatisch innerhalb des abstract-Bereichs. +\end{abstract} + +\begin{keywords} +LNI Guidelines \and \LaTeX Vorlage +\end{keywords} + +\section{Verwendung} +Die GI gibt unter \url{http://www.gi-ev.de/LNI} Vorgaben für die Formatierung von Dokumenten in der LNI Reihe. +Für \LaTeX-Dokumente werden diese durch die Dokumentenklasse \texttt{lni} realisiert. + +Dieses Dokument basiert auf der offiziellen Dokumentation, simplifiziert und setzt grundlegendes LaTeX-Wissen voraus. +Es werden generische Platzhalter an die entsprechenden Stellen (wie beispielsweise die Authoren-Angaben) gesetzt und nicht weiter an anderer Stelle dokumentiert. + +Dieses Template ist wie folgt gegliedert: +\Cref{sec:demos} zeigt Demonstrationen der LNI-Verlage. +\Cref{sec:lniconformance} zeigt die Einhaltung der Richtlinien durch einfachen Text. + +\section{Demonstrationen} +\label{sec:demos} +Das Symbol für Potenzmengen ($\powerset$) wird korrekt angezeigt. +Es ist kein Weierstraß-p ($\wp$) mehr. + +Spitze Klammen können direkt eingegeben werden: + +Hier eine kleine Demonstration von \href{https://www.ctan.org/pkg/microtype}{microtype}: +\blindtext + +\section{Demonstration der Einhaltung der Richtlinien} +\label{sec:lniconformance} + +\subsection{Literaturverzeichnis} +Der letzte Abschnitt zeigt ein beispielhaftes Literaturverzeichnis für Bücher mit einem Autor \cite{Ez10} und zwei AutorInnen \cite{AB00}, einem Beitrag in Proceedings mit drei AutorInnen \cite{ABC01}, einem Beitrag in einem LNI Band mit mehr als drei AutorInnen \cite{Az09}, zwei Bücher mit den jeweils selben vier AutorInnen im selben Erscheinungsjahr \cite{Wa14} und \cite{Wa14b}, ein Journal \cite{Gl06}, eine Website \cite{GI14} bzw.\ anderweitige Literatur ohne konkrete AutorInnenschaft \cite{XX14}. +Es wird biblatex verwendet, da es UTF8 sauber unterstützt und \href{https://github.com/gi-ev/LNI/issues/5}{im Gegensatz zu lni.bst} keine Fehler beim bibtexen auftreten. + +Referenzen sollten nicht direkt als Subjekt eingebunden werden, sondern immer nur durch Authorenanganben: +Beispiel: \Citet{AB00} geben ein Beispiel, aber auch \citet{Az09}. +Hinweis: Großes C bei \texttt{Citet}, wenn es am Satzanfang steht. Dies ist analog zu \texttt{Cref}. + +Formatierung und Abkürzungen werden für die Referenzen \texttt{book}, \texttt{inbook}, \texttt{proceedings}, \texttt{inproceedings}, \texttt{article}, \texttt{online} und \texttt{misc} automatisch vorgenommen. +Mögliche Felder für Referenzen können der Beispieldatei \texttt{lni-paper-example-de.bib} entnommen werden. +Andere Referenzen sowie Felder müssen allenfalls nachträglich angepasst werden. + +\subsection{Abbildungen} +\Cref{fig:demo} zeigt eine Abbildung. + +\begin{figure} + \centering + \includegraphics[width=.8\textwidth]{example-image} + \caption{Demographik} + \label{fig:demo} +\end{figure} + +\subsection{Tabellen} +\Cref{tab:demo} zeigt eine Tabelle. + +\begin{table} +\centering +\begin{tabular}{lll} +\toprule +Überschriftsebenen & Beispiel & Schriftgröße und -art \\ +\midrule +Titel (linksbündig) & Der Titel \ldots & 14 pt, Fett\\ +Überschrift 1 & 1 Einleitung & 12 pt, Fett\\ +Überschrift 2 & 2.1 Titel & 10 pt, Fett\\ +\bottomrule +\end{tabular} +\caption{Die Überschriftsarten} +\label{tab:demo} +\end{table} + +\subsection{Programmcode} +Die LNI-Formatvorlage verlangt die Einrückung von Listings vom linken Rand. +In der \texttt{lni}-Dokumentenklasse ist dies für die \texttt{verbatim}-Umgebung realisiert. + +\begin{verbatim} +public class Hello { + public static void main (String[] args) { + System.out.println("Hello World!"); + } +} +\end{verbatim} + +Alternativ kann auch die \texttt{lstlisting}-Umgebung verwendet werden. + +\Cref{L1} zeigt uns ein Beispiel, das mit Hilfe der \texttt{lstlisting}-Umgebung realisiert ist. + +\begin{lstlisting}[caption={Beschreibung}, label=L1] +public class Hello { + public static void main (String[] args) { + System.out.println("Hello World!"); + } +} +\end{lstlisting} + +\subsection{Formeln und Gleichungen} + +Die korrekte Einrückung und Nummerierung für Formeln ist bei den Umgebungen \texttt{equation} und \texttt{eqnarray} gewährleistet. + +\begin{equation} + 1=4-3 +\end{equation} +und +\begin{eqnarray} + 2=7-5\\ + 3=2-1 +\end{eqnarray} + +%% \bibliography{lni-paper-example-de.tex} ist hier nicht erlaubt: biblatex erwartet dies bei der Preambel +%% Starten Sie "biber paper", um eine Biliographie zu erzeugen. +\printbibliography + +\end{document} diff --git a/Master/texmf-dist/doc/latex/lni/lni.pdf b/Master/texmf-dist/doc/latex/lni/lni.pdf index 9ca6c9f458d..425847b2714 100644 Binary files a/Master/texmf-dist/doc/latex/lni/lni.pdf and b/Master/texmf-dist/doc/latex/lni/lni.pdf differ diff --git a/Master/texmf-dist/source/latex/lni/lni.dtx b/Master/texmf-dist/source/latex/lni/lni.dtx index b47219ed198..03fb51ba2c3 100644 --- a/Master/texmf-dist/source/latex/lni/lni.dtx +++ b/Master/texmf-dist/source/latex/lni/lni.dtx @@ -14,92 +14,53 @@ \keepsilent \askforoverwritefalse \declarepreamble\bibtexengpre -%% -%% lnig.bst -%% Lecture Notes in Informatics Style File (english) -%% Version 1.0 (2017/04/07) -%% -%% -%% The Style File is based on alpha.bst -%% -%% This work may be freely used, -%% distributed and modified. -%% Modified files should be clearly indicated as such and renamed. -%% -%%*************************************************** -% Changelog: -% -% 1.0 (07.04.17), Martin Sievers -% - Revised version -% -% (17.12.14), Judith Michael, Alpen-Adria-Universität Klagenfurt, Austria -% Changes: -% - Last Name before the prename -% - ; between Autors -% - : before title -% - Lable: Abbreviation of name of first author instead of + (former: A+09 or WFEL14, now Az09 and Wa14) -% - Lable: Use first 2 letters of title if there is no author -% - add : after In (functions inproceedings and inbook) -% - no emphasize of titles -% - editors in bracelets () -% - correct order of reference infos -% - correct signs (.,:()) between reference infos -% - Add second prename -% - change order of series (not: "number" in "series", now "series" "number" -% -%%*************************************************** -% +lnig.bst +Lecture Notes in Informatics Style File (english) +Version 1.0 (2017/04/07) + +The Style File is based on alpha.bst + +This work may be freely used, +distributed and modified. +Modified files should be clearly indicated as such and renamed. \endpreamble \declarepreamble\bibtexgerpre -%% -%% lnig.bst -%% Lecture Notes in Informatics Style File (german) -%% Version 1.0 (2017/04/07) -%% -%% The Style File is based on alpha.bst -%% -%% This work may be freely used, -%% distributed and modified. -%% Modified files should be clearly indicated as such and renamed. -%% -%%*************************************************** -% Changelog: -% -% 1.0 (07.04.17), Martin Sievers -% - Revised version -% -% (17.12.14), Judith Michael, Alpen-Adria-Universität Klagenfurt, Austria -% Changes: -% - Last Name before the prename -% - ; between Autors -% - : before title -% - Lable: Abbreviation of name of first author instead of + (former: A+09 or WFEL14, now Az09 and Wa14) -% - Lable: Use first 2 letters of title if there is no author -% - add : after In (functions inproceedings and inbook) -% - no emphasize of titles -% - editors in bracelets () -% - correct order of reference infos -% - correct signs (.,:()) between reference infos -% - Add second prename -% - change order of series (not: "number" in "series", now "series" "number" -% -%%*************************************************** -% +lnig.bst +Lecture Notes in Informatics Style File (german) +Version 1.0 (2017/04/07) + +The Style File is based on alpha.bst + +This work may be freely used, +distributed and modified. +Modified files should be clearly indicated as such and renamed. \endpreamble \declarepreamble\classpre --------:| ----------------------------------------------------------------- +--------| ----------------------------------------------------------------- lni:| A class for submissions to the ``Lecture Notes in Informatics'' Author:| Martin Sievers Email:| martin.sievers@schoenerpublizieren.de License:| Released under the LaTeX Project Public License v1.3c or later See:| http://www.latex-project.org/lppl.txt - +--------| ----------------------------------------------------------------- \endpreamble + +\def\templatepre{% +\perCent\space !TeX encoding = UTF-8^^J% +\perCent\space !TeX program = pdflatex^^J% +\perCent\space !BIB program = bibtex^^J% +} + +\def\templatepreger{% +\perCent\space !TeX encoding = UTF-8^^J% +\perCent\space !TeX spellcheck = de_DE^^J% +} + \postamble -Copyright (C) 2016-2017 by Gesellschaft für Informatik e.V. (GI) +Copyright (C) 2016-2018 by Gesellschaft für Informatik e.V. (GI) This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either @@ -118,6 +79,8 @@ This work consists of the file lni.dtx and the derived files lni.pdf lni.cls lni-author-template.tex + lni-paper-example-de.bib + lni-paper-example-de.tex lni.bst lnig.bst \endpostamble @@ -146,8 +109,16 @@ This work consists of the file lni.dtx \nopreamble\nopostamble \usedir{doc/latex/lni} \generate{ + \usepreamble\templatepre \file{lni-author-template.tex}{\from{\jobname.dtx}{template}} } +\generate{ + \file{lni-paper-example-de.bib}{\from{\jobname.dtx}{exampledebib}} +} +\generate{ + \usepreamble\templatepreger + \file{lni-paper-example-de.tex}{\from{\jobname.dtx}{exampledetex}} +} \ifx\fmtname\nameofplainTeX \expandafter\endbatchfile \else @@ -163,7 +134,7 @@ This work consists of the file lni.dtx %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesClass{lni} %<*class> - [2017/05/15 v1.3 Official class for submissions to the ``Lecture Notes + [2018/01/15 v1.4 Official class for submissions to the ``Lecture Notes in Informatics''] % %<*driver> @@ -189,9 +160,9 @@ This work consists of the file lni.dtx \usepackage[% pdftitle={lni: Official LaTeX class for submissions to the ``Lecture Notes in Informatics'', published by the ``Gesellschaft für Informatik e.\,V.'' (GI)}, - pdfauthor={Martin Sievers}, - urlcolor=blue,% - linktocpage,% + pdfauthor={Martin Sievers}, + urlcolor=blue,% + linktoc=both,% colorlinks=true]{hyperref} \usepackage[nameinlink,capitalise]{cleveref} @@ -303,6 +274,17 @@ This work consists of the file lni.dtx % \changes{v1.3}{2017/05/04}{Added option \opt{nofonts} to suppress font % loading completely} % \changes{v1.3}{2017/05/08}{Changed syntax for \pkg{fontspec}} +% \changes{v1.4}{2017/05/27}{Added new macros taken from the EMISA class file} +% \changes{v1.4}{2017/05/27}{Added option \opt{oldfonts} to use a font package +% available} +% \changes{v1.4}{2017/07/26}{Added package \pkg{caption} and changed all +% \cs{fontsize} calls to nativ \LaTeX{} macros} +% \changes{v1.4}{2017/09/11}{Fixed basewidth for \env{lstlistings}} +% \changes{v1.4}{2017/09/29}{Fixed font size for \cs{Large}} +% \changes{v1.4}{2017/11/08}{Added full example for an article in German} +% \changes{v1.4}{2017/11/08}{Adapting captions of \env{lstlistings}} +% \changes{v1.4}{2017/11/08}{Fix font size bug regarding the running header +% and the captions: \cs{small} was redefined, so we need an \cs{oldsmall} here} % % \GetFileInfo{\jobname.dtx} % \DoNotIndex{\newcommand,\newenvironment} @@ -310,7 +292,8 @@ This work consists of the file lni.dtx % \title{\textsf{lni} -- Official class for submissions to the\\% % ``Lecture Notes in Informatics''\thanks{This file describes version % \fileversion, last revised \filedate.}} -% \author{Martin Sievers\setcounter{footnote}{6}\thanks{Email: martin.sievers@schoenerpublizieren.de}} +% \author{Martin Sievers\setcounter{footnote}{6}\thanks{Email: +% martin.sievers@schoenerpublizieren.de}} % \date{Released \filedate} % % \maketitle @@ -346,7 +329,7 @@ This work consists of the file lni.dtx % The \lni{} bundle is currently distributed via % \href{https://github.com/gi-ev/LNI}{GitHub}, the % \href{https://www.gi.de/service/publikationen/lni/autorenrichtlinien.html} -% {GI website} and (preferably) \href{https://www.ctan.org}{CTAN}. +% {GI website} and (preferably) \href{https://www.ctan.org/pkg/lni}{CTAN}. % The later is the basis for all updates of the two main \TeX{} distributions % \MiKTeX{} and \TeX{}~Live. Thus the easiest way to get all files needed to % typeset an article for the \LNI{} is to use the package manager of your @@ -365,7 +348,7 @@ This work consists of the file lni.dtx % distributions. Therefore, if you are confronted % with a missing package, please try to download and install it using your % distribution's package manager. Alternatively go to -% \href{www.ctan.org}{CTAN} to download missing packages. +% \href{http://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} @@ -413,14 +396,22 @@ This work consists of the file lni.dtx % used with all floating objects. The package is loaded as default. In case it % causes issues, one can disable it using with the \opt{nocleveref} option. % -% \DescribeOption{nohyperref}\pkg{hyperref} is used for colored hyperlink +% \DescribeOption{nohyperref}\pkg{hyperref} is used for colored hyperlinks % within the articles. If you consider problems or just do not want that % feature, you can disable it by using the option \opt{nohyperref}. % -% \DescribeOption{nofonts\space(new in v1.3)}On older systems you might not -% have installed the New TX fonts. Therefore option \opt{nofonts} allows to +% \DescribeOption{nofonts\space(new in v1.3, deprecated in v1.4)}On old systems you might not +% have installed the New TX fonts. If for whatever reason the \opt{oldfonts} option +% does not work for you, you can activate option \opt{nofonts}. This allows to % suppress font loading completely using the engines standard fonts instead. -% Please note, that your output will differ from the publishers'. +% Usually there should be no need to do so. Please note, that your output will differ +% from the publishers'. +% +% \DescribeOption{oldfonts\space(new in v1.4)}On older systems you might not +% have installed the New TX fonts. Therefore option \opt{oldfonts} allows to +% to load the package \pkg{mathptmx} instead of the New TX fonts. The output will +% be in accordance to (or at least near) the publisher's requirements. +% % \newpage % \section{Setting up a document} % You can use the file \file{lni-author-template.tex} as a starting point @@ -439,7 +430,7 @@ This work consists of the file lni.dtx % % !TeX program = pdflatex % % !BIB program = bibtex8 % % !TeX encoding = UTF-8 -% % !TeX spellcheck = en_GB +% !TeX spellcheck = de_DE % \documentclass[english]{lni} % \end{examplecode} % @@ -495,8 +486,9 @@ This work consists of the file lni.dtx % \subsection{Abstract and keywords} % \DescribeEnv{abstract}\DescribeEnv{keywords}% % \DescribeMacro{\and\space(new in v1.1)}% -% Each article should start with a short abstract and some keywords. Please use -% the environments \env{abstract} and \env{keywords} for that purpose: +% Each article should start with a short (70 to 150 words) abstract and some +% keywords. Please use the environments \env{abstract} and \env{keywords} for +% that purpose: % \begin{examplecode} % \begin{abstract} % Tell the reader what your article is about @@ -592,11 +584,34 @@ This work consists of the file lni.dtx % specific programming language. % % \subsubsection{Math} -% If you need mathematics, you can load \pkg{amsmath} and \pkg{mathtools} for +% If you need mathematics, you can load packages \pkg{amsmath} and \pkg{mathtools} for % additional features. The \lni{} class offers by default the command % \cs{powerset} to render the powerset symbol correctly as $\powerset$ and not % as Weierstrass p ($\wp$). % +% \subsubsection{Abbreviations and initialisms} +% \DescribeMacro{\eg}\DescribeMacro{\ie}\DescribeMacro{\cf}\DescribeMacro{\etal}% +% To achieve consistent typesetting of common abbreviations, macros are predefined by the class. These macros should \emph{consistently} being used instead of writing the plain version. For example use \verb|\eg| rather than {\verb|e.g.,|}. The macros take care of spacing within and after the abbreviations. +% \begin{itemize} +% \item \cs{eg} for e.\,g. +% \item \cs{ie} for i.\,e. +% \item \cs{cf} for cf. +% \item \cs{etal} for et~al. +% \end{itemize} +% +% \DescribeMacro{\OMG}\DescribeMacro{\BPM}\DescribeMacro{\BPMN}\DescribeMacro{\UML}% +% In addition to common abbreviations, further initialisms are provided by the class for convenience and for a consistent visual appearance. Note that the class uses \textsc{smallcaps} for typesetting initialisms. The list of predefined initialisms comprises: +% +% \begin{itemize} +% \item \cs{OMG} for \textsc{omg} (Object Management Group). +% \item \cs{BPM} for \textsc{bpm} (Business Process Management). +% \item \cs{BPMN} for \textsc{bpmn} (Business Process Model and Notation). +% \item \cs{BPEL} for \textsc{bpel} (Business Process Execution Language). +% \item \cs{UML} for \textsc{uml} (Unified Modelling Language). +% \end{itemize} +% +% \DescribeMacro{\lniinitialism} You can add your own initialisms by stating \cs{lniinitialism\marg{\textbackslash initialism\_macro}\marg{text}} in the preamble. +% % \subsection{Bibliography}\label{sec:bibliography} % \enlargethispage{\baselineskip}The old \lni{} class file only supports \BibTeX{} with bst files for German % and English submissions resp. If you want to use this approach for your @@ -635,7 +650,6 @@ This work consists of the file lni.dtx % \end{document} % \end{examplecode} % -% \newpage % \section{Trouble shooting} % This section lists the most common issues when using this template. For more % help, please head to @@ -661,7 +675,7 @@ This work consists of the file lni.dtx % just clean up (remove \texttt{paper.aux}) and recompile. % \item If the compiler error is\\ % \texttt{!Package xkeyval Error: 'family\_i' -% undefined in families blx@opt@namepart'.},\\ +% undefined in families blx@opt@name}\\\texttt{part'.},\\ % it is an indicator that you % switched from \BibTeX{} to \pkg{biblatex}. Clean up (remove % \texttt{paper.bbl}) and recompile. @@ -672,7 +686,7 @@ This work consists of the file lni.dtx % % \section{Bugs and feature request} % If you find a bug or have a feature request, please open an ``issue'' at the -% \href{https://github.com/sieversMartin/LNI/issues}{GitHub website}. +% \href{https://github.com/gi-ev/LNI/issues}{GitHub website}. % % \StopEventually{^^A % \PrintChanges @@ -719,7 +733,12 @@ This work consists of the file lni.dtx \DeclareOption{crop}{\croptrue} \newif\ifnofonts \nofontsfalse -\DeclareOption{nofonts}{\nofontstrue} +\DeclareOption{nofonts}{\nofontstrue\autofontsfalse} +\newif\ifoldfonts +\oldfontsfalse +\DeclareOption{oldfonts}{\oldfontstrue\autofontsfalse} +\newif\ifautofonts +\autofontstrue \ExecuteOptions{utf8} \DeclareOption*{\ClassWarning{Option `\CurrentOption` is not supported!}} \ProcessOptions\relax @@ -752,42 +771,69 @@ This work consists of the file lni.dtx % \end{macrocode} % Define a modern variant of Times as the main font % \begin{macrocode} -\ifnofonts - \ClassWarning{lni}{Option `nofonts' set! I will use standard fonts - \MessageBreak - instead of the New TX fonts. Your document will NOT look like the - \MessageBreak - final result for publication. This should only be used if you have +\ifautofonts + \ClassInfo{lni}{*******************************************************} \MessageBreak - no possibility to install fonts or upgrade your TeX installation!}% -\else + \ClassInfo{lni}{Checking for fonts ...} + \ClassInfo{lni}{*******************************************************} \ifPDFTeX - \RequirePackage{newtxtext} - \RequirePackage{newtxmath} - \RequirePackage[zerostyle=b,scaled=.9]{newtxtt} + \IfFileExists{newtxtext.sty} + {% + \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} + \@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} + }% + {\IfFileExists{mathptmx.sty} + {\oldfontstrue}% + {\nofontstrue}% + }% +% \end{macrocode} % for \hologo{XeTeX} or \hologo{LuaTeX} we use \pkg{fontspec} % \begin{macrocode} - \else - \usepackage{newtxmath} - \usepackage[no-math]{fontspec} - \setmainfont{texgyretermes}[ - Extension = .otf, - UprightFont = *-regular, - BoldFont = *-bold, - ItalicFont = *-italic, - BoldItalicFont = *-bolditalic, - Ligatures=TeX - ] + \else% + \IfFileExists{newtxmath.sty} + {\RequirePackage{newtxmath}}% + {}% + \RequirePackage[no-math]{fontspec} + \IfFontExistsTF{texgyretrmes-regular.otf} + {% + \setmainfont{texgyretermes}[ + Extension = .otf, + UprightFont = *-regular, + BoldFont = *-bold, + ItalicFont = *-italic, + BoldItalicFont = *-bolditalic, + Ligatures=TeX + ] + }% + {\IfFileExists{mathptmx.sty} + {\oldfontstrue}% + {\nofontstrue}% + }% + \fi% +\fi% +\ifoldfonts + \RequirePackage{mathptmx} +\else% + \ifnofonts % nofonts activated + \ClassWarning{lni}{Option `nofonts' set! I will use standard fonts + \MessageBreak + instead of the New TX fonts. Your document will NOT look like the + \MessageBreak + final result for publication. This should only be used if you have + \MessageBreak + no possibility to install fonts or upgrade your TeX installation!}% \fi% \fi% % \begin{macrocode} @@ -881,6 +927,23 @@ This work consists of the file lni.dtx \setlength{\doivoffset}{4.3cm} \fi% % \end{macrocode} +% We change \cs{small} and \cs{Large} to get the correct baseline skips and add +% an \cs{oldsmall} +% \begin{macrocode} +\let\oldsmall\small% +\renewcommand\small{% + \@setfontsize\small\@ixpt{10}% + \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus2\p@ + \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 4\p@ \@plus2\p@ \@minus2\p@ + \parsep 2\p@ \@plus\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip +} +\renewcommand\Large{\@setfontsize\Large{14}{17}} +% \end{macrocode} % \begin{macrocode} \RequirePackage[autostyle]{csquotes} \ifusebiblatex @@ -915,6 +978,19 @@ This work consists of the file lni.dtx \RequirePackage{fancyhdr} \RequirePackage{listings} % \end{macrocode} +% We fix the basewidth for lstlistings: +% The default setting of listings with ``fixed columns'' has a space 0.6em +% wide, while the characters in TX Typewriter (as in Computer Modern +% Typewriter) are 0.5em wide. +% Source: https://tex.stackexchange.com/a/179072/9075 +% \begin{macrocode} +\lstset{% + basicstyle=\ttfamily,% + columns=fixed,% + basewidth=.5em,% + xleftmargin=0.5cm,% + captionpos=b}% +% \end{macrocode} % Ragged bottom -- verhindert die Ausdehnung der Seite = Veränderung der % Abstände % \begin{macrocode} @@ -966,7 +1042,7 @@ This work consists of the file lni.dtx % \begin{macro}{\authorrunning} % \begin{macrocode} \newcommand{\authorrunning}[1]{% - \fancyhead[LE]{\hspace{0.05cm}\small\thepage\hspace{5pt}#1}} + \fancyhead[LE]{\hspace{0.05cm}\oldsmall\thepage\hspace{5pt}#1}} % \end{macrocode} % \end{macro} % \begin{macro}{\email} @@ -1029,13 +1105,13 @@ This work consists of the file lni.dtx \vskip -24pt% Abstand vor dem Titel \raggedright % Linksbündig \let\footnote\thanks - {\fontsize{14}{17}\selectfont\bfseries\@title\par}% + {\Large\bfseries\@title\par}% \ifx\@subtitle\empty\else \vskip 16pt - {\fontsize{10}{12}\selectfont\bfseries\@subtitle} + {\normalsize\bfseries\@subtitle} \fi% \vskip 19pt% Abstand nach dem Titel - {\fontsize{10}{12}\selectfont + {\normalsize% \lineskip .5em% \@author \par}% @@ -1045,9 +1121,9 @@ This work consists of the file lni.dtx \AddToShipoutPictureBG*{\AtPageLowerLeft{% \put(\LenToUnit{\the\doihoffset},\LenToUnit{\the\doivoffset}){% \ifusehyperref - \href{https://creativecommons.org/licenses/by-nc/3.0/}{\ccbynceu} + \href{https://creativecommons.org/licenses/by-sa/4.0/}{\ccbysa} \else - \ccbynceu + \ccbysa \fi \ifdefempty{\@lnidoi}{}{ \footnotesize @@ -1065,9 +1141,8 @@ This work consists of the file lni.dtx % \begin{environment}{abstract} % \begin{macrocode} \renewenvironment*{abstract}{% - \renewcommand{\abstractname}{Abstract} - \fontsize{9}{10}\selectfont - \noindent\ignorespaces{\bfseries\abstractname:\ }% + \renewcommand{\abstractname}{Abstract}% + \small\noindent\ignorespaces{\bfseries\abstractname:\ }% }{\endquotation} % \end{macrocode} % \end{environment} @@ -1075,7 +1150,7 @@ This work consists of the file lni.dtx % \begin{macrocode} \newif\ifkeywords \newenvironment{keywords}% - {\global\keywordstrue\fontsize{9}{10}\selectfont% + {\global\keywordstrue\small% \def\and{\unskip;\space}% \noindent\ignorespaces{\bfseries Keywords:\ }}% {\global\keywordsfalse} @@ -1087,26 +1162,20 @@ 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}\selectfont\bfseries}} + {-16\p@ \@plus -4\p@ \@minus -4\p@}{5\p@ \@plus 4\p@ \@minus + 4\p@}{\large\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}\selectfont\bfseries}} + {-16\p@ \@plus -4\p@ \@minus -4\p@}{8\p@ \@plus 4\p@ \@minus + 4\p@}{\normalsize\bfseries}} % \end{macrocode} % Bildunterschriften % \begin{macrocode} -\setlength{\abovecaptionskip}{4pt}%Abstand vor der Bildunterschrift -\setlength{\belowcaptionskip}{0pt}%Abstand nach der Bildunterschrift +\RequirePackage{caption} +\DeclareCaptionFont{oldsmall}{\oldsmall} +\captionsetup[figure]{style=base,skip=4pt,font=oldsmall} +\captionsetup[table]{style=base,skip=6pt,font=oldsmall} +\captionsetup[lstlisting]{style=base,skip=6pt,font=small} \setlength{\intextsep}{6pt}%Abstand nach der Grafik -\long\def\@makecaption#1#2{% - \vskip\abovecaptionskip - {\small - \sbox\@tempboxa{#1: #2}% - \ifdim \wd\@tempboxa >\hsize - #1: #2\par - \else - \global \@minipagefalse - \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% - \fi} - \vskip\belowcaptionskip} % \end{macrocode} % Take care of floats % \begin{macrocode} @@ -1127,17 +1196,7 @@ This work consists of the file lni.dtx % \begin{macrocode} \def\fps@table{htbp} \def\fnum@table{\tablename~\thetable} -\renewcommand{\arraystretch}{1.1}%Abstand zu Linien in Tabelle -\renewenvironment{table} - {\setlength\abovecaptionskip{6\p@}% - \setlength\belowcaptionskip{0\p@}% - \@float{table}}% - {\end@float}% -\renewenvironment{table*} - {\setlength\abovecaptionskip{6\p@}% - \setlength\belowcaptionskip{0\p@}% - \@dblfloat{table}}% - {\end@dblfloat}% +\renewcommand{\arraystretch}{1.1} % \end{macrocode} % Indention for equations with fleqn option % \begin{macrocode} @@ -1277,6 +1336,9 @@ This work consists of the file lni.dtx \g@addto@macro{\UrlBreaks}{\UrlOrds} % \end{macrocode} % \begin{macrocode} +\RequirePackage{xspace} +% \end{macrocode} +% \begin{macrocode} \ifusehyperref \RequirePackage[pdfusetitle]{hyperref} \hypersetup{% @@ -1322,13 +1384,26 @@ This work consists of the file lni.dtx \bibliographystyle{lnig}% \fi% \fi% +\newcommand*{\lni@abbrv}[1]{#1\@\xspace} +\newcommand*{\lniabbrv}[2]{\gdef#1{\lni@abbrv{#2}}} +\newcommand*{\lni@initialism}[1]{\textsc{#1}\xspace} +\newcommand*{\lniinitialism}[2]{\gdef#1{\lni@initialism{#2}}} +\newcommand*{\ie}{\lni@abbrv{i.\,e.}} +\newcommand*{\eg}{\lni@abbrv{e.\,g.}} +\newcommand*{\cf}{\lni@abbrv{cf.}} +\newcommand*{\etal}{\lni@abbrv{et~al.}} +\newcommand*{\OMG}{\lni@initialism{omg}} +\newcommand*{\BPM}{\lni@initialism{bpm}} +\newcommand*{\BPMN}{\lni@initialism{bpmn}} +\newcommand*{\BPEL}{\lni@initialism{bpel}} +\newcommand*{\UML}{\lni@initialism{uml}} % \end{macrocode} % bibliography % \begin{macrocode} \renewenvironment{thebibliography}[1] {\iflnienglish\selectlanguage{english}\else\selectlanguage{ngerman}\fi \section*{\refname}% - \bgroup\fontsize{9}{10}\selectfont + \bgroup\small% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth @@ -2772,10 +2847,6 @@ EXECUTE {end.bib} % % %<*template> -%% !TeX encoding = UTF-8 -%% !TeX program = pdflatex -%% !BIB program = bibtex -%% %%% Um einen Artikel auf deutsch zu schreiben, genügt es die Klasse ohne %%% Parameter zu laden. \documentclass[]{lni} @@ -2804,7 +2875,8 @@ Firstname2 Lastname2\footnote{University, Department, Address, Country \maketitle \begin{abstract} -Zusammenfassung / Some abstract +This is a brief overview of the paper, which should be 70 to 150 words long and +include the most relevant points. This has to be a single paragraph. \end{abstract} \begin{keywords} Schlagwort1 \and Schlagwort2 %Keyword1 \and Keyword2 @@ -2816,5 +2888,269 @@ Schlagwort1 \and Schlagwort2 %Keyword1 \and Keyword2 \bibliography{mybibfile} %\printbibliography if you use biblatex/Biber \end{document} % +%<*exampledebib> +% Encoding: UTF-8 + +@InProceedings{ABC01, + author = {N. Abraham and U. Bibel and P. Corleone}, + title = {Formatting Contributions for Proceedings}, + pages = {46-53}, + crossref = {Gl01}, +} + +@InBook{Az09, + pages = {135-162}, + title = {Die Fußnote in LNI-Bänden}, + author = {Azubi, L. and others}, + crossref = {Gl09}, +} + +@Book{AB00, + title = {Formatierungsrichtlinien für Tagungsbände}, + publisher = {Format-Verlag}, + year = {2000}, + author = {K. Abel and U. Bibel}, + address = {Bonn}, +} + +@Book{Ez10, + title = {The Magic Format -- Your Way to Pretty Books}, + publisher = {Noah \& Sons}, + year = {2010}, + author = {O. Ezgarani}, +} + +@Article{Gl06, + author = {H. I. Glück}, + title = {Formatierung leicht gemacht}, + journal = {Formatierungsjournal}, + volume = {11}, + number = {09}, + year = {2009}, + pages = {23-27}, +} + +@Book{Wa14, + title = {Essenzen der Informatik}, + publisher = {Verlag Formvoll}, + year = {2014}, + author = {K. Wasser and H. Feuer and R. Erde and H. Licht}, +} + +@Book{Wa14b, + title = {Ganz neue Essenzen der Informatik im selben Jahr}, + publisher = {Format-Verlag}, + year = {2014}, + author = {K. Wasser and H. Feuer and R. Erde and H. Licht}, +} + +@Proceedings{Gl01, + title = {Proc. 7th Int. Conf. on Formatting of Workshop-Proceedings}, + year = {2001}, + editor = {Glück, H. I.}, + address = {San Francisco}, + publisher = {Noah \& Sons}, + booktitle = {Proc. 7th Int. Conf. on Formatting of Workshop-Proceedings}, +} + +@Book{Gl09, + title = {Formatierung 2009}, + publisher = {Format-Verlag}, + year = {2009}, + editor = {H. I. Glück}, + number = {999}, + series = {LNI}, + address = {Bonn}, + booktitle = {Formatierung 2009}, +} + +@Misc{XX14, + title = {Anteil an Frauen in der Informatik}, + label = {An}, + howpublished = {Statistics Worldwide}, + year = {2014}, +} + +@Online{GI14, + author = {{Gesellschaft für Informatik e.\,V.}}, + label = {GI}, + year = {2014}, + url = {http://www.gi-ev.de}, + urldate = {2014-12-24} +} + +@Comment{jabref-meta: databaseType:biblatex;} +% +%<*exampledetex> +%% Dies gibt Warnungen aus, sollten veraltete LaTeX-Befehle verwendet werden +\RequirePackage[l2tabu, orthodox]{nag} + +\documentclass[utf8,biblatex]{lni} +\bibliography{lni-paper-example-de} + +%% Schöne Tabellen mittels \toprule, \midrule, \bottomrule +\usepackage{booktabs} + +%% Zu Demonstrationszwecken +\usepackage[math]{blindtext} +\usepackage{mwe} + +%% BibLaTeX-Sonderkonfiguration, +%% falls man schnell eine existierende Bibliographie wiederverwenden will, aber nicht die .bib-Datei händisch anpassen möchte. +%% Bitte \iffalse und \fi entfernen, dann ist diese Konfiguration aktiviert. + +\iffalse +\AtEveryBibitem{% + \ifentrytype{article}{% + }{% + \clearfield{doi}% + \clearfield{issn}% + \clearfield{url}% + \clearfield{urldate}% + }% + \ifentrytype{inproceedings}{% + }{% + \clearfield{doi}% + \clearfield{issn}% + \clearfield{url}% + \clearfield{urldate}% + }% +} +\fi + +\begin{document} +%%% Mehrere Autoren werden durch \and voneinander getrennt. +%%% Die Fußnote enthält die Adresse sowie eine E-Mail-Adresse. +%%% Das optionale Argument (sofern angegeben) wird für die Kopfzeile verwendet. +\title[Ein Kurztitel]{Ein sehr langer Titel über mehrere Zeilen mit sehr vielen Worten und noch mehr Buchstaben} +%%%\subtitle{Untertitel / Subtitle} % falls benötigt +\author[Vorname1 Nachname1 \and Vorname2 Nachname2] +{Vorname1 Nachname1\footnote{Universität, Abteilung, Straße, Postleitzahl Ort, Land \email{emailaddress@author1}} \and + Vorname2 Nachname2\footnote{University, Department, Address, Country \email{emailaddress@author2}}} +\startpage{11} % Beginn der Seitenzählung für diesen Beitrag +\editor{Herausgeber et al.} % Namen der Herausgeber +\booktitle{Name-der-Konferenz} % Name des Tagungsband +\year{2017} +%%%\lnidoi{18.18420/provided-by-editor-02} % Falls bekannt +\maketitle + +\begin{abstract} +Die \LaTeX-Klasse \texttt{lni} setzt die Layout-Vorgaben für Beiträge in LNI Konferenzbänden um. +Dieses Dokument beschreibt ihre Verwendung und ist ein Beispiel für die entsprechende Darstellung. +Der Abstract ist ein kurzer Überblick über die Arbeit der zwischen 70 und 150 Wörtern lang sein und das Wichtigste enthalten sollte. +Die Formatierung erfolgt automatisch innerhalb des abstract-Bereichs. +\end{abstract} + +\begin{keywords} +LNI Guidelines \and \LaTeX Vorlage +\end{keywords} + +\section{Verwendung} +Die GI gibt unter \url{http://www.gi-ev.de/LNI} Vorgaben für die Formatierung von Dokumenten in der LNI Reihe. +Für \LaTeX-Dokumente werden diese durch die Dokumentenklasse \texttt{lni} realisiert. + +Dieses Dokument basiert auf der offiziellen Dokumentation, simplifiziert und setzt grundlegendes LaTeX-Wissen voraus. +Es werden generische Platzhalter an die entsprechenden Stellen (wie beispielsweise die Authoren-Angaben) gesetzt und nicht weiter an anderer Stelle dokumentiert. + +Dieses Template ist wie folgt gegliedert: +\Cref{sec:demos} zeigt Demonstrationen der LNI-Verlage. +\Cref{sec:lniconformance} zeigt die Einhaltung der Richtlinien durch einfachen Text. + +\section{Demonstrationen} +\label{sec:demos} +Das Symbol für Potenzmengen ($\powerset$) wird korrekt angezeigt. +Es ist kein Weierstraß-p ($\wp$) mehr. + +Spitze Klammen können direkt eingegeben werden: + +Hier eine kleine Demonstration von \href{https://www.ctan.org/pkg/microtype}{microtype}: +\blindtext + +\section{Demonstration der Einhaltung der Richtlinien} +\label{sec:lniconformance} + +\subsection{Literaturverzeichnis} +Der letzte Abschnitt zeigt ein beispielhaftes Literaturverzeichnis für Bücher mit einem Autor \cite{Ez10} und zwei AutorInnen \cite{AB00}, einem Beitrag in Proceedings mit drei AutorInnen \cite{ABC01}, einem Beitrag in einem LNI Band mit mehr als drei AutorInnen \cite{Az09}, zwei Bücher mit den jeweils selben vier AutorInnen im selben Erscheinungsjahr \cite{Wa14} und \cite{Wa14b}, ein Journal \cite{Gl06}, eine Website \cite{GI14} bzw.\ anderweitige Literatur ohne konkrete AutorInnenschaft \cite{XX14}. +Es wird biblatex verwendet, da es UTF8 sauber unterstützt und \href{https://github.com/gi-ev/LNI/issues/5}{im Gegensatz zu lni.bst} keine Fehler beim bibtexen auftreten. + +Referenzen sollten nicht direkt als Subjekt eingebunden werden, sondern immer nur durch Authorenanganben: +Beispiel: \Citet{AB00} geben ein Beispiel, aber auch \citet{Az09}. +Hinweis: Großes C bei \texttt{Citet}, wenn es am Satzanfang steht. Dies ist analog zu \texttt{Cref}. + +Formatierung und Abkürzungen werden für die Referenzen \texttt{book}, \texttt{inbook}, \texttt{proceedings}, \texttt{inproceedings}, \texttt{article}, \texttt{online} und \texttt{misc} automatisch vorgenommen. +Mögliche Felder für Referenzen können der Beispieldatei \texttt{lni-paper-example-de.bib} entnommen werden. +Andere Referenzen sowie Felder müssen allenfalls nachträglich angepasst werden. + +\subsection{Abbildungen} +\Cref{fig:demo} zeigt eine Abbildung. + +\begin{figure} + \centering + \includegraphics[width=.8\textwidth]{example-image} + \caption{Demographik} + \label{fig:demo} +\end{figure} + +\subsection{Tabellen} +\Cref{tab:demo} zeigt eine Tabelle. + +\begin{table} +\centering +\begin{tabular}{lll} +\toprule +Überschriftsebenen & Beispiel & Schriftgröße und -art \\ +\midrule +Titel (linksbündig) & Der Titel \ldots & 14 pt, Fett\\ +Überschrift 1 & 1 Einleitung & 12 pt, Fett\\ +Überschrift 2 & 2.1 Titel & 10 pt, Fett\\ +\bottomrule +\end{tabular} +\caption{Die Überschriftsarten} +\label{tab:demo} +\end{table} + +\subsection{Programmcode} +Die LNI-Formatvorlage verlangt die Einrückung von Listings vom linken Rand. +In der \texttt{lni}-Dokumentenklasse ist dies für die \texttt{verbatim}-Umgebung realisiert. + +\begin{verbatim} +public class Hello { + public static void main (String[] args) { + System.out.println("Hello World!"); + } +} +\end{verbatim} + +Alternativ kann auch die \texttt{lstlisting}-Umgebung verwendet werden. + +\Cref{L1} zeigt uns ein Beispiel, das mit Hilfe der \texttt{lstlisting}-Umgebung realisiert ist. + +\begin{lstlisting}[caption={Beschreibung}, label=L1] +public class Hello { + public static void main (String[] args) { + System.out.println("Hello World!"); + } +} +\end{lstlisting} + +\subsection{Formeln und Gleichungen} + +Die korrekte Einrückung und Nummerierung für Formeln ist bei den Umgebungen \texttt{equation} und \texttt{eqnarray} gewährleistet. + +\begin{equation} + 1=4-3 +\end{equation} +und +\begin{eqnarray} + 2=7-5\\ + 3=2-1 +\end{eqnarray} + +%% \bibliography{lni-paper-example-de.tex} ist hier nicht erlaubt: biblatex erwartet dies bei der Preambel +%% Starten Sie "biber paper", um eine Biliographie zu erzeugen. +\printbibliography + +\end{document} +% % \end{macrocode} %\fi diff --git a/Master/texmf-dist/source/latex/lni/lni.ins b/Master/texmf-dist/source/latex/lni/lni.ins index f32cb314523..b4a2c80bf16 100644 --- a/Master/texmf-dist/source/latex/lni/lni.ins +++ b/Master/texmf-dist/source/latex/lni/lni.ins @@ -5,61 +5,64 @@ %% The original source files were: %% %% lni.dtx (with options: `install') -%% -------:| ----------------------------------------------------------------- +%% --------| ----------------------------------------------------------------- %% lni:| A class for submissions to the ``Lecture Notes in Informatics'' %% Author:| Martin Sievers %% Email:| martin.sievers@schoenerpublizieren.de %% License:| Released under the LaTeX Project Public License v1.3c or later %% See:| http://www.latex-project.org/lppl.txt -%% +%% --------| ----------------------------------------------------------------- \input docstrip.tex \keepsilent \askforoverwritefalse \declarepreamble\bibtexengpre -%% -%% lnig.bst -%% Lecture Notes in Informatics Style File (english) -%% Version 1.0 (2017/04/07) -%% -%% -%% The Style File is based on alpha.bst -%% -%% This work may be freely used, -%% distributed and modified. -%% Modified files should be clearly indicated as such and renamed. -%% -%%*************************************************** -%%*************************************************** +lnig.bst +Lecture Notes in Informatics Style File (english) +Version 1.0 (2017/04/07) + +The Style File is based on alpha.bst + +This work may be freely used, +distributed and modified. +Modified files should be clearly indicated as such and renamed. \endpreamble \declarepreamble\bibtexgerpre -%% -%% lnig.bst -%% Lecture Notes in Informatics Style File (german) -%% Version 1.0 (2017/04/07) -%% -%% The Style File is based on alpha.bst -%% -%% This work may be freely used, -%% distributed and modified. -%% Modified files should be clearly indicated as such and renamed. -%% -%%*************************************************** -%%*************************************************** +lnig.bst +Lecture Notes in Informatics Style File (german) +Version 1.0 (2017/04/07) + +The Style File is based on alpha.bst + +This work may be freely used, +distributed and modified. +Modified files should be clearly indicated as such and renamed. \endpreamble \declarepreamble\classpre --------:| ----------------------------------------------------------------- +--------| ----------------------------------------------------------------- lni:| A class for submissions to the ``Lecture Notes in Informatics'' Author:| Martin Sievers Email:| martin.sievers@schoenerpublizieren.de License:| Released under the LaTeX Project Public License v1.3c or later See:| http://www.latex-project.org/lppl.txt - +--------| ----------------------------------------------------------------- \endpreamble + +\def\templatepre{% +\perCent\space !TeX encoding = UTF-8^^J% +\perCent\space !TeX program = pdflatex^^J% +\perCent\space !BIB program = bibtex^^J% +} + +\def\templatepreger{% +\perCent\space !TeX encoding = UTF-8^^J% +\perCent\space !TeX spellcheck = de_DE^^J% +} + \postamble -Copyright (C) 2016-2017 by Gesellschaft für Informatik e.V. (GI) +Copyright (C) 2016-2018 by Gesellschaft für Informatik e.V. (GI) This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either @@ -78,6 +81,8 @@ This work consists of the file lni.dtx and the derived files lni.pdf lni.cls lni-author-template.tex + lni-paper-example-de.bib + lni-paper-example-de.tex lni.bst lnig.bst \endpostamble @@ -97,7 +102,7 @@ This work consists of the file lni.dtx } \endbatchfile %% -%% Copyright (C) 2016-2017 by Gesellschaft für Informatik e.V. (GI) +%% Copyright (C) 2016-2018 by Gesellschaft für Informatik e.V. (GI) %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either @@ -116,6 +121,8 @@ This work consists of the file lni.dtx %% and the derived files lni.pdf %% lni.cls %% lni-author-template.tex +%% lni-paper-example-de.bib +%% lni-paper-example-de.tex %% lni.bst %% lnig.bst %% diff --git a/Master/texmf-dist/tex/latex/lni/lni.cls b/Master/texmf-dist/tex/latex/lni/lni.cls index 82ff12ea9db..4ad94e8ddb1 100644 --- a/Master/texmf-dist/tex/latex/lni/lni.cls +++ b/Master/texmf-dist/tex/latex/lni/lni.cls @@ -5,16 +5,16 @@ %% The original source files were: %% %% lni.dtx (with options: `class') -%% -------:| ----------------------------------------------------------------- +%% --------| ----------------------------------------------------------------- %% lni:| A class for submissions to the ``Lecture Notes in Informatics'' %% Author:| Martin Sievers %% Email:| martin.sievers@schoenerpublizieren.de %% License:| Released under the LaTeX Project Public License v1.3c or later %% See:| http://www.latex-project.org/lppl.txt -%% +%% --------| ----------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{lni} - [2017/05/15 v1.3 Official class for submissions to the ``Lecture Notes + [2018/01/15 v1.4 Official class for submissions to the ``Lecture Notes in Informatics''] \def\@clearglobaloption#1{% \def\@tempa{#1}% @@ -49,7 +49,12 @@ \DeclareOption{crop}{\croptrue} \newif\ifnofonts \nofontsfalse -\DeclareOption{nofonts}{\nofontstrue} +\DeclareOption{nofonts}{\nofontstrue\autofontsfalse} +\newif\ifoldfonts +\oldfontsfalse +\DeclareOption{oldfonts}{\oldfontstrue\autofontsfalse} +\newif\ifautofonts +\autofontstrue \ExecuteOptions{utf8} \DeclareOption*{\ClassWarning{Option `\CurrentOption` is not supported!}} \ProcessOptions\relax @@ -76,35 +81,60 @@ \fi% \useshorthands*{"} \addto\extrasenglish{\languageshorthands{ngerman}} -\ifnofonts - \ClassWarning{lni}{Option `nofonts' set! I will use standard fonts - \MessageBreak - instead of the New TX fonts. Your document will NOT look like the +\ifautofonts + \ClassInfo{lni}{*******************************************************} \MessageBreak - final result for publication. This should only be used if you have - \MessageBreak - no possibility to install fonts or upgrade your TeX installation!}% -\else + \ClassInfo{lni}{Checking for fonts ...} + \ClassInfo{lni}{*******************************************************} \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{texgyretermes}[ - Extension = .otf, - UprightFont = *-regular, - BoldFont = *-bold, - ItalicFont = *-italic, - BoldItalicFont = *-bolditalic, - Ligatures=TeX - ] + \IfFileExists{newtxtext.sty} + {% + \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!}}% + }% + {\IfFileExists{mathptmx.sty} + {\oldfontstrue}% + {\nofontstrue}% + }% + \else% + \IfFileExists{newtxmath.sty} + {\RequirePackage{newtxmath}}% + {}% + \RequirePackage[no-math]{fontspec} + \IfFontExistsTF{texgyretrmes-regular.otf} + {% + \setmainfont{texgyretermes}[ + Extension = .otf, + UprightFont = *-regular, + BoldFont = *-bold, + ItalicFont = *-italic, + BoldItalicFont = *-bolditalic, + Ligatures=TeX + ] + }% + {\IfFileExists{mathptmx.sty} + {\oldfontstrue}% + {\nofontstrue}% + }% + \fi% +\fi% +\ifoldfonts + \RequirePackage{mathptmx} +\else% + \ifnofonts % nofonts activated + \ClassWarning{lni}{Option `nofonts' set! I will use standard fonts + \MessageBreak + instead of the New TX fonts. Your document will NOT look like the + \MessageBreak + final result for publication. This should only be used if you have + \MessageBreak + no possibility to install fonts or upgrade your TeX installation!}% \fi% \fi% \ifPDFTeX @@ -188,6 +218,19 @@ \setlength{\doihoffset}{4.2cm} \setlength{\doivoffset}{4.3cm} \fi% +\let\oldsmall\small% +\renewcommand\small{% + \@setfontsize\small\@ixpt{10}% + \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus2\p@ + \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 4\p@ \@plus2\p@ \@minus2\p@ + \parsep 2\p@ \@plus\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip +} +\renewcommand\Large{\@setfontsize\Large{14}{17}} \RequirePackage[autostyle]{csquotes} \ifusebiblatex \RequirePackage[% @@ -213,6 +256,12 @@ \RequirePackage{grffile} \RequirePackage{fancyhdr} \RequirePackage{listings} +\lstset{% + basicstyle=\ttfamily,% + columns=fixed,% + basewidth=.5em,% + xleftmargin=0.5cm,% + captionpos=b}% \def\thisbottomragged{\def\@textbottom{\vskip\z@ plus.0001fil \global\let\@textbottom\relax}} \renewcommand\@pnumwidth{3em} @@ -243,7 +292,7 @@ \def\@@author[#1]#2{\gdef\@shortauthor{{\let\footnote\@gobble% \def\and{\unskip,\ }#1}}\gdef\@author{#2}} \newcommand{\authorrunning}[1]{% - \fancyhead[LE]{\hspace{0.05cm}\small\thepage\hspace{5pt}#1}} + \fancyhead[LE]{\hspace{0.05cm}\oldsmall\thepage\hspace{5pt}#1}} \newcommand*{\email}[1]{{\urlstyle{same}\protect\url{#1}}} \newcommand{\@lnidoi}{} \newcommand{\lnidoi}[1]{\gdef\@lnidoi{#1}} @@ -292,13 +341,13 @@ \vskip -24pt% Abstand vor dem Titel \raggedright % Linksbündig \let\footnote\thanks - {\fontsize{14}{17}\selectfont\bfseries\@title\par}% + {\Large\bfseries\@title\par}% \ifx\@subtitle\empty\else \vskip 16pt - {\fontsize{10}{12}\selectfont\bfseries\@subtitle} + {\normalsize\bfseries\@subtitle} \fi% \vskip 19pt% Abstand nach dem Titel - {\fontsize{10}{12}\selectfont + {\normalsize% \lineskip .5em% \@author \par}% @@ -307,9 +356,9 @@ \AddToShipoutPictureBG*{\AtPageLowerLeft{% \put(\LenToUnit{\the\doihoffset},\LenToUnit{\the\doivoffset}){% \ifusehyperref - \href{https://creativecommons.org/licenses/by-nc/3.0/}{\ccbynceu} + \href{https://creativecommons.org/licenses/by-sa/4.0/}{\ccbysa} \else - \ccbynceu + \ccbysa \fi \ifdefempty{\@lnidoi}{}{ \footnotesize @@ -324,13 +373,12 @@ \par }% \renewenvironment*{abstract}{% - \renewcommand{\abstractname}{Abstract} - \fontsize{9}{10}\selectfont - \noindent\ignorespaces{\bfseries\abstractname:\ }% + \renewcommand{\abstractname}{Abstract}% + \small\noindent\ignorespaces{\bfseries\abstractname:\ }% }{\endquotation} \newif\ifkeywords \newenvironment{keywords}% - {\global\keywordstrue\fontsize{9}{10}\selectfont% + {\global\keywordstrue\small% \def\and{\unskip;\space}% \noindent\ignorespaces{\bfseries Keywords:\ }}% {\global\keywordsfalse} @@ -338,23 +386,17 @@ \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}\selectfont\bfseries}} + {-16\p@ \@plus -4\p@ \@minus -4\p@}{5\p@ \@plus 4\p@ \@minus + 4\p@}{\large\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}\selectfont\bfseries}} -\setlength{\abovecaptionskip}{4pt}%Abstand vor der Bildunterschrift -\setlength{\belowcaptionskip}{0pt}%Abstand nach der Bildunterschrift + {-16\p@ \@plus -4\p@ \@minus -4\p@}{8\p@ \@plus 4\p@ \@minus + 4\p@}{\normalsize\bfseries}} +\RequirePackage{caption} +\DeclareCaptionFont{oldsmall}{\oldsmall} +\captionsetup[figure]{style=base,skip=4pt,font=oldsmall} +\captionsetup[table]{style=base,skip=6pt,font=oldsmall} +\captionsetup[lstlisting]{style=base,skip=6pt,font=small} \setlength{\intextsep}{6pt}%Abstand nach der Grafik -\long\def\@makecaption#1#2{% - \vskip\abovecaptionskip - {\small - \sbox\@tempboxa{#1: #2}% - \ifdim \wd\@tempboxa >\hsize - #1: #2\par - \else - \global \@minipagefalse - \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% - \fi} - \vskip\belowcaptionskip} \def\fps@figure{htbp} \def\fnum@figure{\figurename~\thefigure} \def\@floatboxreset{% @@ -369,17 +411,7 @@ \renewcommand{\bottomfraction}{1.0}% Anteil den gleitende Objekte am Seitenende einnehmen dürfen \def\fps@table{htbp} \def\fnum@table{\tablename~\thetable} -\renewcommand{\arraystretch}{1.1}%Abstand zu Linien in Tabelle -\renewenvironment{table} - {\setlength\abovecaptionskip{6\p@}% - \setlength\belowcaptionskip{0\p@}% - \@float{table}}% - {\end@float}% -\renewenvironment{table*} - {\setlength\abovecaptionskip{6\p@}% - \setlength\belowcaptionskip{0\p@}% - \@dblfloat{table}}% - {\end@dblfloat}% +\renewcommand{\arraystretch}{1.1} \setlength{\mathindent}{0.5cm} \RequirePackage{verbatim} \def\verbatim@processline{\hskip0.5cm\the\verbatim@line\par} @@ -470,6 +502,7 @@ \renewcommand{\headrulewidth}{0.4pt} %Linie unter Kopfzeile \RequirePackage{url} \g@addto@macro{\UrlBreaks}{\UrlOrds} +\RequirePackage{xspace} \ifusehyperref \RequirePackage[pdfusetitle]{hyperref} \hypersetup{% @@ -506,10 +539,23 @@ \bibliographystyle{lnig}% \fi% \fi% +\newcommand*{\lni@abbrv}[1]{#1\@\xspace} +\newcommand*{\lniabbrv}[2]{\gdef#1{\lni@abbrv{#2}}} +\newcommand*{\lni@initialism}[1]{\textsc{#1}\xspace} +\newcommand*{\lniinitialism}[2]{\gdef#1{\lni@initialism{#2}}} +\newcommand*{\ie}{\lni@abbrv{i.\,e.}} +\newcommand*{\eg}{\lni@abbrv{e.\,g.}} +\newcommand*{\cf}{\lni@abbrv{cf.}} +\newcommand*{\etal}{\lni@abbrv{et~al.}} +\newcommand*{\OMG}{\lni@initialism{omg}} +\newcommand*{\BPM}{\lni@initialism{bpm}} +\newcommand*{\BPMN}{\lni@initialism{bpmn}} +\newcommand*{\BPEL}{\lni@initialism{bpel}} +\newcommand*{\UML}{\lni@initialism{uml}} \renewenvironment{thebibliography}[1] {\iflnienglish\selectlanguage{english}\else\selectlanguage{ngerman}\fi \section*{\refname}% - \bgroup\fontsize{9}{10}\selectfont + \bgroup\small% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth @@ -539,7 +585,7 @@ \vfuzz \hfuzz \raggedbottom %% -%% Copyright (C) 2016-2017 by Gesellschaft für Informatik e.V. (GI) +%% Copyright (C) 2016-2018 by Gesellschaft für Informatik e.V. (GI) %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either @@ -558,6 +604,8 @@ %% and the derived files lni.pdf %% lni.cls %% lni-author-template.tex +%% lni-paper-example-de.bib +%% lni-paper-example-de.tex %% lni.bst %% lnig.bst %% -- cgit v1.2.3