summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lni
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-14 20:50:13 +0000
committerKarl Berry <karl@freefriends.org>2019-10-14 20:50:13 +0000
commitff5ba3520336f791d4edc8945fce9181ab47587d (patch)
treeb9abaa3e0455dc692c520586597139ea5a44fb83 /Master/texmf-dist/tex/latex/lni
parent5cccf50562ed22879e9aa2b79e2b9741606ec734 (diff)
lni (14oct19)
git-svn-id: svn://tug.org/texlive/trunk@52384 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lni')
-rw-r--r--Master/texmf-dist/tex/latex/lni/lni.cls67
1 files changed, 42 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/lni/lni.cls b/Master/texmf-dist/tex/latex/lni/lni.cls
index f7d398b6d4d..b1d4d6eb9a3 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}
- [2019/04/04 v1.5 Official class for submissions to the ``Lecture Notes
+ [2019/10/14 v1.6BETA Official class for submissions to the ``Lecture Notes
in Informatics'']
\def\@clearglobaloption#1{%
\def\@tempa{#1}%
@@ -58,7 +58,7 @@
\newif\ifnorunningheads
\DeclareOption{norunningheads}{\norunningheadstrue}
\ExecuteOptions{utf8}
-\DeclareOption*{\ClassWarning{Option `\CurrentOption` is not supported!}}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\relax
\RequirePackage{iftex}
\ifPDFTeX
@@ -150,6 +150,13 @@
\RequirePackage[%
final,%
protrusion=alltext-nott]{microtype}%
+ \ifluatex
+ \iflnienglish
+ \RequirePackage[english]{selnolig}%
+ \else
+ \RequirePackage[ngerman]{selnolig}%
+ \fi%
+ \fi%
\fi%
\SetTracking{encoding=*,shape=sc}{50}%
\DeclareFontFamily{U}{MnSymbolC}{}
@@ -175,7 +182,8 @@
includehead,
headheight=20.39pt,
headsep=.31cm,
- centering]
+ centering,
+ driver=none]
{geometry}
\RequirePackage[a4,center,cam,info]{crop}
\renewcommand*\CROP@@info{{%
@@ -296,13 +304,13 @@
\def\and{\unskip,\ }#1}}\gdef\@author{#2}}
\newcommand{\authorrunning}[1]{%
\fancyhead[LE]{\hspace{0.05cm}\oldsmall\thepage\hspace{5pt}#1}}
-\newcommand*{\email}[1]{{\urlstyle{same}\protect\url{#1}}}
+\newcommand*{\email}[1]{\href{mailto:#1}{\urlstyle{same}\protect\nolinkurl{#1}}}
\newcommand{\@lnidoi}{}
\newcommand{\lnidoi}[1]{\gdef\@lnidoi{#1}}
\renewcommand\maketitle{\par%
\begingroup
\renewcommand\thefootnote{\@arabic\c@footnote}%
- \def\@makefnmark% keine Einrückung der Fußnoten eingestellt
+ \def\@makefnmark% keine Einr^^c3^^bcckung der Fu^^c3^^9fnoten eingestellt
{\@textsuperscript{\normalfont\@thefnmark}}%
\long\def\@makefntext##1{%
\@setpar{\@@par
@@ -346,7 +354,7 @@
\null
\begin{center}%
\vskip -24pt% Abstand vor dem Titel
- \raggedright% Linksbündig
+ \raggedright% Linksb^^c3^^bcndig
\let\footnote\thanks
{\Large\bfseries\@title\par}%
\ifx\@subtitle\empty\else
@@ -416,8 +424,8 @@
}%
\setcounter{topnumber}{10}% maximale Anzahl gleitender Objekte am Seitenanfang
\setcounter{bottomnumber}{10}% maximale Anzahl gleitender Objekte am Seitenende
-\renewcommand{\topfraction}{1.0}% Anteil den gleitende Objekte am Seitenanfang einnehmen dürfen
-\renewcommand{\bottomfraction}{1.0}% Anteil den gleitende Objekte am Seitenende einnehmen dürfen
+\renewcommand{\topfraction}{1.0}% Anteil den gleitende Objekte am Seitenanfang einnehmen d^^c3^^bcrfen
+\renewcommand{\bottomfraction}{1.0}% Anteil den gleitende Objekte am Seitenende einnehmen d^^c3^^bcrfen
\def\fps@table{htbp}
\def\fnum@table{\tablename~\thetable}
\renewcommand{\arraystretch}{1.1}
@@ -432,7 +440,7 @@
\fnindent0.18cm
\long\def\@makefntext#1{%
\parindent \fnindent%
- \leftskip \fnindent% Einrückung vor der footnotemark
+ \leftskip \fnindent% Einr^^c3^^bcckung vor der footnotemark
\noindent
\llap{\hb@xt@0.10cm{\hss\@makefnmark\ }}\ignorespaces#1}
\setlength{\parindent}{0pt}
@@ -440,7 +448,7 @@
\renewcommand{\labelitemi}{$\bullet$}
\renewcommand*\itemize{%
\ifnum \@itemdepth >\thr@@\@toodeep\else
- \setlength{\labelsep}{0.70cm}%Abstand zum Aufzählungspunkt
+ \setlength{\labelsep}{0.70cm}%Abstand zum Aufz^^c3^^a4hlungspunkt
\advance\@itemdepth\@ne
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
\expandafter
@@ -455,7 +463,7 @@
\ifnum \@enumdepth >\thr@@
\@toodeep
\else
-\setlength{\labelsep}{0.70cm}%Abstand zur Aufzählungsnummer
+\setlength{\labelsep}{0.70cm}%Abstand zur Aufz^^c3^^a4hlungsnummer
\advance\@enumdepth \@ne
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
\fi
@@ -464,7 +472,7 @@
\expandafter\list\csname label\@enumctr\endcsname{%
\usecounter{\@enumctr}%
\def\makelabel##1{\hss\llap{##1}}
-\setlength{\labelsep}{0.6cm} %Einrückung des Aufzählungszeichens
+\setlength{\labelsep}{0.6cm} %Einr^^c3^^bcckung des Aufz^^c3^^a4hlungszeichens
\setlength{\itemsep}{8pt}%
\setlength{\parsep}{-2pt}}
}%
@@ -484,8 +492,9 @@
\renewcommand{\refname}{Bibliography}%
}%
\newcommand*{\startpage}[1]{\setcounter{page}{#1}}
-\newcommand*{\@booktitle}{}
-\newcommand*{\booktitle}[1]{\renewcommand{\@booktitle}{#1}}
+\newcommand{\booktitle}{\@dblarg\@@booktitle}
+\def\@@booktitle[#1]#2{\gdef\@bookshorttitle{#1}\gdef\@booktitle{#2}}
+\newcommand{\booksubtitle}[1]{\gdef\@booksubtitle{#1}}
\newcommand*{\@editor}{}
\newcommand*{\editor}[1]{\renewcommand{\@editor}{#1}}
\AtBeginDocument{%
@@ -496,22 +505,24 @@
}%
}%
\fancypagestyle{plain}{%
- \fancyhead{} % Löscht alle Kopfzeileneinstellungen
- \fancyhead[RO]{\small\@editor~(Hrsg.):\ \@booktitle,\hspace{1sp}\null\linebreak%
- Lecture Notes in Informatics (LNI), Gesellschaft für Informatik, Bonn~\@year%
+ \fancyhead{} % L^^c3^^b6scht alle Kopfzeileneinstellungen
+ \fancyhead[RO]{\small\@editor~(Hrsg.):\ \@bookshorttitle,\hspace{1sp}\null\linebreak%
+ Lecture Notes in Informatics (LNI), Gesellschaft f^^c3^^bcr Informatik, Bonn~\@year%
\hspace{5pt}\thepage\hspace{0.05cm}}
- \fancyhead[LE]{\small\@editor~(Hrsg.):\ \@booktitle,\linebreak\hspace{0.05cm}\thepage\hspace{5pt} Lecture Notes in Informatics (LNI), Gesellschaft für Informatik, Bonn~\@year}
- \fancyfoot{} % Löscht alle Fußzeileneinstellungen
+ \fancyhead[LE]{\small\@editor~(Hrsg.):\
+ \@bookshorttitle,\linebreak\hspace{0.05cm}\thepage\hspace{5pt} Lecture Notes
+ in Informatics (LNI), Gesellschaft f^^c3^^bcr Informatik, Bonn~\@year}
+ \fancyfoot{} % L^^c3^^b6scht alle Fu^^c3^^9fzeileneinstellungen
\renewcommand{\headrulewidth}{0.4pt} %Linie unter Kopfzeile
}%
\ifnorunningheads
\pagestyle{empty}
\else
\pagestyle{fancy}
- \fancyhead{} % Löscht alle Kopfzeileneinstellungen
+ \fancyhead{} % L^^c3^^b6scht 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
+ \fancyfoot{} % L^^c3^^b6scht alle Fu^^c3^^9fzeileneinstellungen
\renewcommand{\headrulewidth}{0.4pt} %Linie unter Kopfzeile
\fi%
\RequirePackage{url}
@@ -519,12 +530,14 @@
\RequirePackage{xspace}
\ifusehyperref
\AtEndPreamble{%
- \RequirePackage[pdfusetitle,bookmarks=false]{hyperref}
+ \RequirePackage[bookmarks=false]{hyperref}
\hypersetup{%
pdfdisplaydoctitle,%
colorlinks=true,%
allcolors=black,%
- pdfstartview=Fit%
+ pdfstartview=Fit,%
+ pdfauthor={\@author},%
+ pdftitle={\@title}%
}%
}%
\fi%
@@ -545,7 +558,11 @@
\Crefname{table}{\tablename}{\tablename}
}%
\fi%
-\AtEndPreamble{\RequirePackage[all]{hypcap}}
+\AtEndPreamble{%
+ \@ifpackageloaded{hyperref}
+ {\RequirePackage[all]{hypcap}}%
+ {}%
+}%
\def\and{\unskip\hspace{-0.42em},\hspace{.6em}}
\ifusebiblatex
\else
@@ -601,7 +618,7 @@
\vfuzz \hfuzz
\raggedbottom
%%
-%% Copyright (C) 2016-2019 by Gesellschaft für Informatik e.V. (GI)
+%% Copyright (C) 2016-2019 by Gesellschaft f^^c3^^bcr Informatik e.V. (GI)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either