summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lni
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-04-04 20:53:02 +0000
committerKarl Berry <karl@freefriends.org>2019-04-04 20:53:02 +0000
commit6bc176a293a67b04543386c43f34aa8986ca8873 (patch)
tree602e02663bbdca66af6b64efc56a4693f7236f2c /Master/texmf-dist/tex/latex/lni
parentd9783f18c815aa817e3c05a0c214d9421d1c15d8 (diff)
lni (4apr19)
git-svn-id: svn://tug.org/texlive/trunk@50754 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lni')
-rw-r--r--Master/texmf-dist/tex/latex/lni/lni.cls98
1 files changed, 57 insertions, 41 deletions
diff --git a/Master/texmf-dist/tex/latex/lni/lni.cls b/Master/texmf-dist/tex/latex/lni/lni.cls
index 4ad94e8ddb1..f7d398b6d4d 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}
- [2018/01/15 v1.4 Official class for submissions to the ``Lecture Notes
+ [2019/04/04 v1.5 Official class for submissions to the ``Lecture Notes
in Informatics'']
\def\@clearglobaloption#1{%
\def\@tempa{#1}%
@@ -55,6 +55,8 @@
\DeclareOption{oldfonts}{\oldfontstrue\autofontsfalse}
\newif\ifautofonts
\autofontstrue
+\newif\ifnorunningheads
+\DeclareOption{norunningheads}{\norunningheadstrue}
\ExecuteOptions{utf8}
\DeclareOption*{\ClassWarning{Option `\CurrentOption` is not supported!}}
\ProcessOptions\relax
@@ -73,6 +75,7 @@
\RequirePackage{cmap}
\RequirePackage{inputenc}
\RequirePackage[T1]{fontenc}
+ \RequirePackage[full]{textcomp}
\fi%
\iflnienglish
\RequirePackage[ngerman,english]{babel}
@@ -261,7 +264,8 @@
columns=fixed,%
basewidth=.5em,%
xleftmargin=0.5cm,%
- captionpos=b}%
+ captionpos=b,%
+ upquote}%
\def\thisbottomragged{\def\@textbottom{\vskip\z@ plus.0001fil
\global\let\@textbottom\relax}}
\renewcommand\@pnumwidth{3em}
@@ -286,7 +290,6 @@
\fi}
\renewcommand{\title}{\@dblarg\@@title}
\def\@@title[#1]#2{\gdef\@shorttitle{#1}\gdef\@title{#2}}
-\newcommand{\@subtitle}{}
\newcommand{\subtitle}[1]{\gdef\@subtitle{#1}}
\renewcommand{\author}{\@dblarg\@@author}
\def\@@author[#1]#2{\gdef\@shortauthor{{\let\footnote\@gobble%
@@ -313,13 +316,17 @@
\@maketitle
\else
\twocolumn[\@maketitle]%
- \fi
+ \fi%
\else
\newpage
\global\@topnum\z@ % Prevents figures from going at top of page.
\@maketitle
- \fi
- \thispagestyle{plain}
+ \fi%
+ \ifnorunningheads
+ \thispagestyle{empty}
+ \else
+ \thispagestyle{plain}
+ \fi%
\@thanks
\endgroup
\global\let\thanks\relax
@@ -339,12 +346,14 @@
\null
\begin{center}%
\vskip -24pt% Abstand vor dem Titel
- \raggedright % Linksbündig
+ \raggedright% Linksbündig
\let\footnote\thanks
{\Large\bfseries\@title\par}%
\ifx\@subtitle\empty\else
- \vskip 16pt
- {\normalsize\bfseries\@subtitle}
+ \ifx\@subtitle\undefined\else
+ \vskip 16pt
+ {\normalsize\bfseries\@subtitle}%
+ \fi%
\fi%
\vskip 19pt% Abstand nach dem Titel
{\normalsize%
@@ -464,14 +473,15 @@
\renewcommand{\andname}{und}%
\renewcommand{\figurename}{Abb.}%
\renewcommand{\tablename}{Tab.}%
- \renewcommand{\lstlistingname}{List.}
- \renewcommand{\refname}{Literaturverzeichnis}
+ \renewcommand{\lstlistingname}{List.}%
+ \renewcommand{\refname}{Literaturverzeichnis}%
}%
\addto\captionsenglish{%
\renewcommand{\andname}{and}%
\renewcommand{\figurename}{Fig.}%
\renewcommand{\tablename}{Tab.}%
- \renewcommand{\lstlistingname}{List.}
+ \renewcommand{\lstlistingname}{List.}%
+ \renewcommand{\refname}{Bibliography}%
}%
\newcommand*{\startpage}[1]{\setcounter{page}{#1}}
\newcommand*{\@booktitle}{}
@@ -494,42 +504,48 @@
\fancyfoot{} % Löscht alle Fußzeileneinstellungen
\renewcommand{\headrulewidth}{0.4pt} %Linie unter Kopfzeile
}%
-\pagestyle{fancy}
-\fancyhead{} % Löscht alle Kopfzeileneinstellungen
-\fancyhead[RO]{\small\@shorttitle\hspace{5pt}\thepage\hspace{0.05cm}}
-\fancyhead[LE]{\hspace{0.05cm}\small\thepage\hspace{5pt}\@shortauthor}
-\fancyfoot{} % Löscht alle Fußzeileneinstellungen
-\renewcommand{\headrulewidth}{0.4pt} %Linie unter Kopfzeile
+\ifnorunningheads
+ \pagestyle{empty}
+\else
+ \pagestyle{fancy}
+ \fancyhead{} % Löscht alle Kopfzeileneinstellungen
+ \fancyhead[RO]{\small\@shorttitle\hspace{5pt}\thepage\hspace{0.05cm}}
+ \fancyhead[LE]{\hspace{0.05cm}\small\thepage\hspace{5pt}\@shortauthor}
+ \fancyfoot{} % Löscht alle Fußzeileneinstellungen
+ \renewcommand{\headrulewidth}{0.4pt} %Linie unter Kopfzeile
+\fi%
\RequirePackage{url}
\g@addto@macro{\UrlBreaks}{\UrlOrds}
\RequirePackage{xspace}
\ifusehyperref
- \RequirePackage[pdfusetitle]{hyperref}
- \hypersetup{%
- pdfdisplaydoctitle,
- bookmarks=false,%
- colorlinks=true,%
- allcolors=black,%
- %%%pdfpagelayout=TwoPageRight,%
- pdfstartview=Fit%
+ \AtEndPreamble{%
+ \RequirePackage[pdfusetitle,bookmarks=false]{hyperref}
+ \hypersetup{%
+ pdfdisplaydoctitle,%
+ colorlinks=true,%
+ allcolors=black,%
+ pdfstartview=Fit%
+ }%
}%
\fi%
\ifusecleveref%
- \iflnienglish
- \usepackage[capitalise,nameinlink]{cleveref}
- \crefname{section}{Sect.}{Sect.}
- \Crefname{section}{Sect.}{Sect.}
- \else
- \usepackage[ngerman,nameinlink]{cleveref}
- \fi%
- \crefname{figure}{\figurename}{\figurename}
- \Crefname{figure}{\figurename}{\figurename}
- \crefname{listing}{\lstlistingname}{\lstlistingname}
- \Crefname{listing}{\lstlistingname}{\lstlistingname}
- \crefname{table}{\tablename}{\tablename}
- \Crefname{table}{\tablename}{\tablename}
+ \AtEndPreamble{%
+ \iflnienglish
+ \RequirePackage[capitalise,nameinlink]{cleveref}
+ \crefname{section}{Sect.}{Sect.}
+ \Crefname{section}{Sect.}{Sect.}
+ \else
+ \RequirePackage[ngerman,nameinlink]{cleveref}
+ \fi%
+ \crefname{figure}{\figurename}{\figurename}
+ \Crefname{figure}{\figurename}{\figurename}
+ \crefname{listing}{\lstlistingname}{\lstlistingname}
+ \Crefname{listing}{\lstlistingname}{\lstlistingname}
+ \crefname{table}{\tablename}{\tablename}
+ \Crefname{table}{\tablename}{\tablename}
+ }%
\fi%
-\RequirePackage[all]{hypcap}
+\AtEndPreamble{\RequirePackage[all]{hypcap}}
\def\and{\unskip\hspace{-0.42em},\hspace{.6em}}
\ifusebiblatex
\else
@@ -585,7 +601,7 @@
\vfuzz \hfuzz
\raggedbottom
%%
-%% Copyright (C) 2016-2018 by Gesellschaft für Informatik e.V. (GI)
+%% Copyright (C) 2016-2019 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