diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-09 21:08:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-09 21:08:09 +0000 |
commit | a07117f3531deb748874ed5d6ffb8b7a6c37af96 (patch) | |
tree | 10100c5ee22f186fe229f9f76adc8f8ea79f217b /Master/texmf-dist/tex | |
parent | f02046b3f6cb97b9206720be8ad437c26fd6d527 (diff) |
lni (9jan24)
git-svn-id: svn://tug.org/texlive/trunk@69361 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/lni/lni.cls | 61 |
1 files changed, 45 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/lni/lni.cls b/Master/texmf-dist/tex/latex/lni/lni.cls index 0fd9f73ec8b..90eed28073c 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} - [2023/11/26 v1.8 Official class for submissions to the ``Lecture Notes + [2024/01/08 v1.8.1 Official class for submissions to the ``Lecture Notes in Informatics''] \RequirePackage{iftex}\ifluatex\else\pdfoutput=1\fi% \def\@clearglobaloption#1{% @@ -110,7 +110,7 @@ \ifPDFTeX \IfFileExists{newtxtext.sty} {% - \RequirePackage{newtxtext} + \RequirePackage[defaultsups]{newtxtext} \RequirePackage{newtxmath} \RequirePackage[zerostyle=b,scaled=.9]{newtxtt} \@ifpackagelater{newtxtt}{2014/11/18}% @@ -290,8 +290,47 @@ \RequirePackage{enumitem} \RequirePackage[hang]{footmisc} \setlength{\footnotemargin}{1em} -\def\@makefnmark{\rlap{\normalfont\@thefnmark}}% - +\long\def\@makefntext#1{% + \def\@makefnmark{\rlap{\normalfont\@thefnmark}}% + \ifFN@hangfoot + \bgroup + \setbox\@tempboxa\hbox{% + \ifdim\footnotemargin>0pt + \hb@xt@\footnotemargin{\@makefnmark\hss}% + \else + \@makefnmark + \fi + }% + \leftmargin\wd\@tempboxa + \rightmargin\z@ + \linewidth \columnwidth + \advance \linewidth -\leftmargin + \parshape \@ne \leftmargin \linewidth + \@totalleftmargin \leftmargin + \footnotesize + \@setpar{{\@@par}}% + \leavevmode + \llap{\box\@tempboxa}% + \parskip\hangfootparskip\relax + \parindent\hangfootparindent\relax + \else + \parindent1em + \noindent + \ifdim\footnotemargin>\z@ + \hb@xt@ \footnotemargin{\hss\@makefnmark}% + \else + \ifdim\footnotemargin=\z@ + \llap{\@makefnmark}% + \else + \llap{\hb@xt@ -\footnotemargin{\@makefnmark\hss}}% + \fi + \fi + \fi + \footnotelayout#1% + \ifFN@hangfoot + \par\egroup + \fi +} \lstset{% basicstyle=\ttfamily,% columns=fixed,% @@ -332,7 +371,7 @@ \renewcommand\Authsep{, } \renewcommand\Authands{\iflanguage{ngerman}{ und }{, and }} \renewcommand\Authand{\iflanguage{ngerman}{ und }{ and }} -\renewcommand{\AB@authnote}[1]{$^{\mbox{\footnotesize #1}}$} +\renewcommand{\AB@authnote}[1]{$^{\text{\mbox{\normalfont\footnotesize #1}}}$} \renewcommand\author[4][]{% \ifnewaffil\addtocounter{affil}{1}% \edef\AB@thenote{\arabic{affil}}% @@ -381,7 +420,6 @@ \newaffilfalse } - \renewcommand\@author{% \ifx\AB@affillist\AB@empty\AB@author\else \ifnum\value{affil}>\value{Maxaffil}\def\rlap##1{##1}% @@ -390,7 +428,6 @@ \fi% \fi% } - \renewcommand\affil[2][]{% \newaffiltrue\let\AB@blk@and\AB@pand \if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}% @@ -405,12 +442,11 @@ \gdef\AB@las{}\gdef\AB@au@str{}% {\def\\{, \ignorespaces}\xdef\AB@temp{#2}}% \@temptokena=\expandafter{\AB@affillist}% - \xdef\AB@affillist{\the\@temptokena \AB@affilsep + \xdef\AB@affillist{\the\@temptokena \footnotetext[\AB@note]{% \raggedright\AB@temp\ifcsempty{@emailsandorcids\AB@note}{}{, \csuse{@emailsandorcids\AB@note}}}% } \endgroup - \let\AB@affilsep\AB@affilsepx \setcounter{footnote}{#1} } \newcommand{\authorrunning}[1]{% @@ -557,13 +593,6 @@ \vfill\kern-3\p@ \hrule\@width 5cm \kern2.6\p@} - %\newdimen\fnindent - %\fnindent0.18cm - %\long\def\@makefntext#1{% - %\parindent \fnindent% - %\leftskip \fnindent% Einrückung vor der footnotemark - %\noindent - %\llap{\hb@xt@0.10cm{\hss\@makefnmark\ }}\ignorespaces#1} \setlength{\parindent}{0pt} \setlength{\parskip}{8pt} \setlist{topsep=0pt,itemsep=7pt,parsep=-2pt} |