diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/lineno')
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/CHANGEs.txt | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/README.md | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/SRCFILEs.txt | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/fnlineno.pdf | bin | 198310 -> 215169 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/fnlineno.tex | 153 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/lineno.pdf | bin | 372679 -> 373649 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/lineno.tex | 135 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/linenoamsmathdemo.pdf | bin | 102740 -> 100569 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/lnosuppl.pdf | bin | 161428 -> 170456 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/lnosuppl.tex | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/ulineno.pdf | bin | 127130 -> 125414 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/lineno/ulineno.tex | 41 |
12 files changed, 254 insertions, 100 deletions
diff --git a/Master/texmf-dist/doc/latex/lineno/CHANGEs.txt b/Master/texmf-dist/doc/latex/lineno/CHANGEs.txt index b61ae6560d4..f0293bc7f10 100644 --- a/Master/texmf-dist/doc/latex/lineno/CHANGEs.txt +++ b/Master/texmf-dist/doc/latex/lineno/CHANGEs.txt @@ -1,3 +1,8 @@ +CHANGES for lineno pkg v5.4 2025/01/29: + +1. Option to allow ~\linelabel~ with ~\nolinenumbers~. + + CHANGES for lineno pkg v5.3 2023/05/20: 1. Handle special value of \prevdepth=-1000pt; diff --git a/Master/texmf-dist/doc/latex/lineno/README.md b/Master/texmf-dist/doc/latex/lineno/README.md index ea4747ea133..8e32254d9dd 100644 --- a/Master/texmf-dist/doc/latex/lineno/README.md +++ b/Master/texmf-dist/doc/latex/lineno/README.md @@ -1,6 +1,6 @@ -# lineno.sty v5.3, fnlineno.sty v0.55 +# lineno.sty v5.4, fnlineno.sty v0.55 -2023-05-20 +2025-01-29 The LaTeX package lineno.sty provides line numbers on paragraphs. After TeX has broken a paragraph into lines there will be line numbers attached to them, with @@ -10,7 +10,7 @@ reference mechanism. - Copyright 1995--2003 Stephan I. Böttcher - Copyright 2002--2005 Uwe Lück for versions 4.x and code from former Ednotes - Copyright 2011 Uwe Lück for fnlineno.sty/tex/pdf -- Copyright 2021--2023 Karl Wette for versions 5.x +- Copyright 2021--2025 Karl Wette for versions 5.x The files can be redistributed and/or modified under the terms of the LaTeX Project Public License; either @@ -108,10 +108,10 @@ removed. ** o `Files' and ** ** o `Installation and usage'. ] ** - 2004-09-13 Uwe L"uck [(UL)] is new maintainer for lineno.sty. + 2004-09-13 Uwe Lück [(UL)] is new maintainer for lineno.sty. lineno.sty served the purpose for which I wrote it years ago. Uwe - L"uck uses lineno.sty with his Ednotes package, which required quite a + Lück uses lineno.sty with his Ednotes package, which required quite a few changes and fixes. His package depends on lineno, therefore Uwe agreed to take over the maintenance of lineno.sty. diff --git a/Master/texmf-dist/doc/latex/lineno/SRCFILEs.txt b/Master/texmf-dist/doc/latex/lineno/SRCFILEs.txt index d25688616e7..2d6a8c0b85b 100644 --- a/Master/texmf-dist/doc/latex/lineno/SRCFILEs.txt +++ b/Master/texmf-dist/doc/latex/lineno/SRCFILEs.txt @@ -1,10 +1,10 @@ ednmath0.sty 2005/01/10 v0.2b math support for lineno/ednotes (ul) edtable.sty 2005/10/03 v1.3c arrays with lineno + ednotes (ul) fnlineno.sty 2011/01/07 v0.55 numbers to footnote lines (UL) -lineno.sty 2023/05/20 line numbers on paragraphs v5.3 +lineno.sty 2025/01/29 line numbers on paragraphs v5.4 vplref.sty 2005/04/25 v0.2a page-line cross-refs fnlineno.tex 2011/02/14 documenting fnlineno.sty (UL) -lineno.tex 2023/05/20 line numbers on paragraphs v5.3 +lineno.tex 2025/01/29 line numbers on paragraphs v5.4 lnosuppl.tex 2011/02/16 documenting supplementary files ulineno.tex 2001/08/03 lineno.sty users manual linenoamsmathdemo.tex 2021/09/30 Make amsmath work with lineno diff --git a/Master/texmf-dist/doc/latex/lineno/fnlineno.pdf b/Master/texmf-dist/doc/latex/lineno/fnlineno.pdf Binary files differindex b875e16366b..2863956e8c4 100644 --- a/Master/texmf-dist/doc/latex/lineno/fnlineno.pdf +++ b/Master/texmf-dist/doc/latex/lineno/fnlineno.pdf diff --git a/Master/texmf-dist/doc/latex/lineno/fnlineno.tex b/Master/texmf-dist/doc/latex/lineno/fnlineno.tex index b4e12263a8d..410456c59c6 100644 --- a/Master/texmf-dist/doc/latex/lineno/fnlineno.tex +++ b/Master/texmf-dist/doc/latex/lineno/fnlineno.tex @@ -10,7 +10,154 @@ \MakeJobDoc{17}{\SectionLevelThreeParseInput} %% 2010/12/16 } \documentclass{article}%% TODO paper dimensions!? -\input{makedoc.cfg} %% shared formatting settings +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% \ProvidesFile{makedoc.cfg}[{2013/03/25 documentation settings}] +%% +%% \author{Uwe L\"uck\thanks{% +%% \url{http://contact-ednotes.sty.de.vu}}} +%% +%% 'hyperref': +\RequirePackage{ifpdf} +\usepackage[% + \ifpdf +% bookmarks=false, %% 2010/12/22 +% bookmarksnumbered, + bookmarksopen, %% 2011/01/24!? + bookmarksopenlevel=2, %% 2011/01/23 +% pdfpagemode=UseNone, +% pdfstartpage=10, + pdfstartview=FitH, %% 2012/11/26 again +% pdfstartview=0 0 100, %% 2011/08/22 +% pdfstartview={XYZ null null 1}, %% 2011/08/25 +% pdfstartview={XYZ null null null},%% 2011/08/25 +% pdfstartview={XYZ null null .5}, %% 2011/08/26 +% pdffitwindow=true, %% 2011/08/22 + citebordercolor={ .6 1 .6}, + filebordercolor={1 .6 1}, + linkbordercolor={1 .9 .7}, + urlbordercolor={ .7 1 1}, %% playing 2011/01/24 + \fi +]{hyperref} +\hypersetup{% + pdfauthor={Uwe L\374ck}% +} +%% metadata, |\MDkeywords{<text>}|, |\MDkeywordsstring|: +%% %% 2011/08/22: +\makeatletter + \newcommand*{\MDkeywords}[1]{% + \gdef\MDkeywordsstring{#1}% + \hypersetup{pdfkeywords=\MDkeywordsstring}%% TODO!? + } + \@onlypreamble\MDkeywords +%% |\MDaddtoabstract{<par-head>}|, `:' added: + \newcommand*{\MDaddtoabstract}[1]{% %% 2012/05/10 + \par\smallskip\noindent + \strong{#1:}\quad\ignorespaces} +%% \pagebreak[2] +%% |\printMDkeywords|: + \newcommand*{\printMDkeywords}{% + \MDaddtoabstract{Keywords}% + \MDkeywordsstring +% \global\let\MDkeywordsstring\relax %% `%' 2012/11/12 + } +%% The previous definitions mainly are useful with a variant +%% |\begin{MDabstract}| of \LaTeX's `{abstract}' environment: + \newenvironment{MDabstract} + {\abstract\noindent + \hspace{1sp}%% for niceverb + \ignorespaces} + {\@ifundefined{MDkeywordsstring}% + {}% + {\printMDkeywords}% + \global\let\MDabstract\relax %% 2012/11/12 + \global\let\endMDabstract\relax %% 2012/11/12 + \endabstract} +%% |\[MD]docnewline| 2012/11/12 from `readprov.tex': + \newcommand*{\MDdocnewline}{\leavevmode\@normalcr[\topsep]} +%% <- `\leavevmode' for use with `\paragraph'. +%% Sometimes needs to be preceded by a space. +%% +%% |\MDfinaldatechecks[<tex-script>]| with \ctanpkgref{filedate}: + \newcommand*{\MDfinaldatechecks}[1][fdatechk]{% + \AtEndDocument{% +% \clearpage %% 2013/03/25 no avail -- with `filedate'! + \def\@pkgextension{sty}% + \def\NeedsTeXFormat##1[##2]{}% + \noNiceVerb %% 2013/03/22 + \input{#1}% + }} + \@onlypreamble\MDfinaldatechecks +\makeatother +%% Use other packages: +\RequirePackage{niceverb}[2011/01/24] +\RequirePackage{readprov} %% 2010/12/08 +\RequirePackage{hypertoc} %% 2011/01/23 +\RequirePackage{texlinks} %% 2011/01/24 +\RequirePackage{relsize} %% 2011/06/27 +\RequirePackage{color} %% 2011/08/06 +\RequirePackage{lmodern} %% 2012/10/29 +\RequirePackage{filedate} %% 2012/11/12 +\RequirePackage{filesdo} %% 2013/03/22 +%% \pagebreak[3] +%% Logical markup:\qquad |\strong{<chars>}|, |\meta{<chars>}|, +%% |\acro{<chars>}|, |\pkg{<chars>}|, +%% |\code{<chars>}|, |\file{<chars>}|:{\sloppy\par} +\makeatletter + \def\do#1#2{\@ifdefinable#1{\let#1#2}}%% 2012/07/13 + \do\strong\textbf \do\file\texttt \do\acro\textsmaller + %% <- wrong tests before 2012/07/13 + \do\meta\textit \do \pkg\textsf \do\code\texttt + \ifpdf + \pdfstringdefDisableCommands{% + \let\acro\textrm + \let\file\textrm %% 2011/11/09 + \let\code\textrm %% 2011/11/20 + \let\pkg \textrm %% 2012/03/23 + } + \fi + %% TODO 2011/07/22 -> `htlogml.sty' +\makeatother +%% |\qtdcode{<text>}|: 2012/10/24: + \newcommand*{\qtdcode}[1]{`\code{#1}'} +%% |\pkgtitle{<package-name>}{<caption>}| +\newcommand*{\pkgtitle}[2]{% %% 2012/07/13 + \global\let\pkgtitle\relax + \pkg{\huge #1}\\---\\#2\thanks{This + document describes version + \textcolor{blue}{\UseVersionOf{\jobname.sty}} + of \textsf{\jobname.sty} as of \UseDateOf{\jobname.sty}.}} +%% TODO: %% |\TODO| bad with `mdoccorr.cfg' +\newcommand*{\TODO}{\textcolor{blue}{\acro{TODO}}} %% 2012/11/06 +%% `\MDsampleinput[{<file>}' was added 2012/11/06. +%% Problems with `myfilist.tex' were due to 'parskip.sty' +%% there. On 2012/11/12, we change the former simple macro to a +%% much more complex +%% |\MDsamplecodeinput[<add-hfuss>]{<file>}| +\newcommand*{\MDsamplecodeinput}[2][]{% + \begingroup + \vskip\bigskipamount \hrule + \nobreak\vskip-\parskip +% \nobreak\vskip\medskipamount +%% Previous mistake (same below) due to manual change +%% of `\topsep' in the file `myfilist.tex' (2012/11/30). + \ifx\\#1\\\else + \hfuzz=\textwidth \advance\hfuzz#1\relax + \fi + \noNiceVerb \verbatiminput{#2}% +% \nobreak\vskip\medskipamount + \hrule \vskip-\parskip + \bigskip %%% \bigbreak +%% `\bigbreak' made much larger space in `myfilist.tex'. + \endgroup +} +%% |\ctanpkgdref{<pkg-id>}| adds the printed link to +%% `ctan.org/pkg' as a footnote. There is a little space +%% for coloured link borders: +\newcommand*{\ctanpkgdref}[1]{% + \ctanpkgref{#1}\,\urlfoot{CtanPkgRef}{#1}} +\errorcontextlines=4 +\pagestyle{headings} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% 2022/07/30 \newcommand*{\lt}{<} \newcommand*{\gt}{>} %% 2010/12/22 \providecommand*{\strong}{\textbf} %% 2010/12/15 \ReadPackageInfos{fnlineno} @@ -25,9 +172,9 @@ \maketitle \begin{abstract}\noindent 'fnlineno.sty' extends -% Stephan~I. B\"ottcher's +% Stephan~I. Böttcher's \CtanPkgRef{lineno}{lineno.sty}\urlpkgfoot{lineno} -(created by Stephan~I. B\"ottcher) +(created by Stephan~I. Böttcher) such that even `\footnote' %% `\' 2010/12/09 lines are numbered and can be referred to diff --git a/Master/texmf-dist/doc/latex/lineno/lineno.pdf b/Master/texmf-dist/doc/latex/lineno/lineno.pdf Binary files differindex 3c1178359dc..5c097b5d63e 100644 --- a/Master/texmf-dist/doc/latex/lineno/lineno.pdf +++ b/Master/texmf-dist/doc/latex/lineno/lineno.pdf diff --git a/Master/texmf-dist/doc/latex/lineno/lineno.tex b/Master/texmf-dist/doc/latex/lineno/lineno.tex index 0957f1e5f08..6f41a0d9c69 100644 --- a/Master/texmf-dist/doc/latex/lineno/lineno.tex +++ b/Master/texmf-dist/doc/latex/lineno/lineno.tex @@ -1,4 +1,4 @@ -\def\fileversion{v5.3} \def\filedate{2023/05/20} +\def\fileversion{v5.4} \def\filedate{2025/01/29} \title{\texttt{\itshape lineno.sty \ \fileversion\ \filedate @@ -6,8 +6,8 @@ lineno.sty \ \fileversion\ \filedate A \LaTeX\ package to attach \\ line numbers to paragraphs \unskip}\author{% -Stephan I. B\"ottcher -\\ Uwe L\"uck +Stephan I. Böttcher +\\ Uwe Lück \\ Karl Wette \unskip}\date{% \url{https://github.com/latex-lineno/lineno} @@ -19,8 +19,7 @@ Stephan I. B\"ottcher \catcode`\_\active\let_~ \def~{\verb~} \let\lessthan< -\catcode`\<\active -\def<#1>{$\langle${\itshape#1}\/$\rangle$} +\def\angle#1{$\langle${\itshape#1}\/$\rangle$} \catcode`\|\active \def|#1{\ttfamily\string#1} \newenvironment{code} @@ -98,10 +97,10 @@ Introduction to versions v4.00ff. (UL) ~lineno.sty~ has been maintained by Stephan until version_v3.14. From version_v4.00 onwards, maintenance is shifting towards -Uwe L\"uck (UL), who is the author of v4\dots code and of v4\dots +Uwe Lück (UL), who is the author of v4\dots code and of v4\dots changes in documentation. This came about as follows. -Since late 2002, Christian Tapp and Uwe L\"uck have employed +Since late 2002, Christian Tapp and Uwe Lück have employed ~lineno.sty~ for their ~ednotes.sty~, a package supporting critical editions, while you find ~ednotes.sty~ and surrounding files in CTAN folder \path{macros/latex/contrib/ednotes}. @@ -846,7 +845,7 @@ The basic commands to enable and disable line numbers. ~\@par~ and ~\par~ are only touched, when they are ~\let~ to ~\@@@par~/~\linenumberpar~. The line number may be reset to 1 with the star-form, or set by an optional -argument ~[~<number>~]~. +argument ~[~\angle{number}~]~. (New v4.00) We add ~\ifLineNumbers~ etc.\ since a number of our new adjustments need to know whether @@ -1088,7 +1087,7 @@ longer, see below. (/New v4.00) % numbered float was considered to be a marginpar. % % The float box number ~\@currbox~ is used to transfer the -% label name in a macro called ~\@LNL@~<box-number>. +% label name in a macro called ~\@LNL@~\angle{box-number}. \end{verbatim} \end{old} A ~\newlabel~ is written to the aux-file. The reference @@ -1164,8 +1163,8 @@ the page is put back to top of the main vertical list. \subsection{% The \scs{linelabel} command \unskip}\label{ss:LL} -To refer to a place in line ~\ref{~<foo>~}~ at page -~\pageref{~<foo>~}~ you place a ~\linelabel{~<foo>~}~ at +To refer to a place in line ~\ref{~\angle{foo}~}~ at page +~\pageref{~\angle{foo}~}~ you place a ~\linelabel{~\angle{foo}~}~ at that place. \linelabel{demo} @@ -1522,7 +1521,7 @@ false otherwise. \end{code} Each numbered line gives a line to the aux file \begin{verse} -~\@LN{~<line>~}{~<page>~}~ +~\@LN{~\angle{line}~}{~\angle{page}~}~ \end{verse} very similar to the ~\newlabel~ business, except that we need an arabic representation of the page number, not what @@ -1580,7 +1579,7 @@ knows \dots{} And as to ~\g@addto@macro~, I have introduced it for list macros anyway. (/UL) (/New v4.00) -From the aux-file we get one macro ~\LN@P~<page> for each +From the aux-file we get one macro ~\LN@P~\angle{page} for each page with line numbers on it. This macro calls four other macros with one argument each. These macros are dynamically defined to do tests and actions, to find out @@ -1611,10 +1610,10 @@ a rerun recommendation. \end{code} Now, this is the tricky part. First of all, the whole definition of ~\@LN~ is grouped, to avoid accumulation -on the save stack. Somehow ~\csname~<cs>~\endcsname~ pushes -an entry, which stays after an ~\xdef~ to that <cs>. +on the save stack. Somehow ~\csname~\angle{cs}~\endcsname~ pushes +an entry, which stays after an ~\xdef~ to that \angle{cs}. -If ~\LN@P~<page> is undefined, initialize it with the +If ~\LN@P~\angle{page} is undefined, initialize it with the current page and line number, with the \emph{pointer-to-the-next-page} pointing to nothing. And the macro for the previous page will be redefined to point @@ -1645,7 +1644,7 @@ following page later. \end{code} The previous page macro gets its pointer to the current one, replacing the ~\relax~ with the cs-token -~\LN@P~<page>. +~\LN@P~\angle{page}. \begin{code}\begin{verbatim} \def\@@@LN#1#2{{\def\nextLN##1{\noexpand\nextLN\noexpand#2}% \xdef#1{#1}}} @@ -2023,7 +2022,7 @@ The previous changes as soon as ~\firstlinenumber~ is used: \end{code} No counter, little values allowed only---OK?---(UL) The change is local---OK? The good thing is that -~\global\firstlinenumber{~<number>~}~ works. Moreover, +~\global\firstlinenumber{~\angle{number}~}~ works. Moreover, ~\modulolinenumbers~ acts locally as well. (/UL) (New v4.31) @@ -2415,6 +2414,12 @@ Now aim at the ``usual'' behaviour: } \end{verbatim} \end{code} +(New 5.4) Option to allow ~\linelabel~ with ~\nolinenumbers~. +\begin{code}\begin{verbatim} +\DeclareVoidOption{nolinelabelerror}{\def\@LN@LLerror{\relax}} +\end{verbatim} +\end{code} +(/New 5.4) (/New v4.3) (New v4.1) @@ -2597,16 +2602,16 @@ This was formerly knows as ~rlineno.sty~. To refer to a pagewise line number with offset: \begin{quote} -~\linerefp[~<OFFSET>~]{~<LABEL>~}~ +~\linerefp[~\angle{OFFSET}~]{~\angle{LABEL}~}~ \end{quote} To refer to a running line number with offset: \begin{quote} -~\linerefr[~<OFFSET>~]{~<LABEL>~}~ +~\linerefr[~\angle{OFFSET}~]{~\angle{LABEL}~}~ \end{quote} To refer to a line number labeled in the same mode as currently selected: \begin{quote} -~\lineref[~<OFFSET>~]{~<LABEL>~}~ +~\lineref[~\angle{OFFSET}~]{~\angle{LABEL}~}~ \end{quote} \begin{code}\begin{verbatim} \newcommand\lineref{% @@ -2757,67 +2762,67 @@ to fix this without losing the behaviour of ~\\*~. \begin{code}\begin{verbatim} \ifdefined\AddToHook - \def\linenoamsmath@patches#1{\AddToHook{package/amsmath/after}{#1}} + \def\@LN@amsmath@patches#1{\AddToHook{package/amsmath/after}{#1}} \else \ifdefined\endgather - \def\linenoamsmath@patches#1{#1} + \def\@LN@amsmath@patches#1{#1} \else \PackageWarningNoLine{lineno}% {`amsmath' must be loaded before `lineno' for patches to be applied} - \def\linenoamsmath@patches#1{\relax} + \def\@LN@amsmath@patches#1{\relax} \fi \fi -\linenoamsmath@patches{ - \newcommand*\linenoamsmath@patch[1]{% +\@LN@amsmath@patches{ + \newcommand*\@LN@amsmath@patch[1]{% \cspreto{#1}{\linenomath}% \cspreto{#1*}{\linenomath}% \csappto{end#1}{\endlinenomath}% \csappto{end#1*}{\endlinenomath}% } - \newcount\linenoamsmath@ams@eqpen + \newcount\@LN@amsmath@ams@eqpen \cspreto{math@cr@}{% %%% Uncommenting the following 2 lines restores the line number on a line %%% ended with \\*, by making \\* act just like \\. This is probably %%% undesirable, however, so these lines are disabled. % \global\@eqpen% % \ifnum\dspbrk@lvl <\z@ \interdisplaylinepenalty \else -\@getpen\dspbrk@lvl \fi% - \advance\@eqpen\linenoamsmath@ams@eqpen\relax% + \advance\@eqpen\@LN@amsmath@ams@eqpen\relax% } - \newcommand*\linenoamsmath@patch@ams[1]{% + \newcommand*\@LN@amsmath@patch@ams[1]{% \cspreto{#1}{% \linenomath% \postdisplaypenalty=0% - \global\linenoamsmath@ams@eqpen\interdisplaylinepenalty% + \global\@LN@amsmath@ams@eqpen\interdisplaylinepenalty% }% \cspreto{#1*}{% \linenomath% \postdisplaypenalty=0% - \global\linenoamsmath@ams@eqpen\interdisplaylinepenalty% + \global\@LN@amsmath@ams@eqpen\interdisplaylinepenalty% }% \csappto{end#1}{% - \global\linenoamsmath@ams@eqpen\z@% + \global\@LN@amsmath@ams@eqpen\z@% \endlinenomath% }% \csappto{end#1*}{% - \global\linenoamsmath@ams@eqpen\z@% + \global\@LN@amsmath@ams@eqpen\z@% \endlinenomath% }% } - \linenoamsmath@patch{equation} - \linenoamsmath@patch@ams{multline} - \linenoamsmath@patch@ams{gather} - \linenoamsmath@patch@ams{align} - \linenoamsmath@patch@ams{alignat} - \linenoamsmath@patch@ams{flalign} - \let\linenoamsmath@ams@mmeasure\mmeasure@ + \@LN@amsmath@patch{equation} + \@LN@amsmath@patch@ams{multline} + \@LN@amsmath@patch@ams{gather} + \@LN@amsmath@patch@ams{align} + \@LN@amsmath@patch@ams{alignat} + \@LN@amsmath@patch@ams{flalign} + \let\@LN@amsmath@ams@mmeasure\mmeasure@ \def\mmeasure@#1{% - \global\linenoamsmath@ams@eqpen\z@% + \global\@LN@amsmath@ams@eqpen\z@% \begingroup% \interdisplaylinepenalty=0% - \linenoamsmath@ams@mmeasure{#1\\}% + \@LN@amsmath@ams@mmeasure{#1\\}% \endgroup% - \global\linenoamsmath@ams@eqpen\interdisplaylinepenalty% + \global\@LN@amsmath@ams@eqpen\interdisplaylinepenalty% } } \end{verbatim} @@ -3075,9 +3080,9 @@ Turn on line numbering in the current mode. \item [|\linenumbers*] \ \par$\qquad$ and reset the line number to 1. -\def\NL{<number>]}\item +\def\NL{\angle{number}]}\item [|\linenumbers[\NL] \ \par$\qquad$ -and start with <number>. +and start with \angle{number}. \item [|\nolinenumbers] \ \par Turn off line numbering. @@ -3097,7 +3102,7 @@ page are numbered beginning with one at the first \item [|\resetlinenumber[\NL] \ \par Reset ~[~Set~]~ the line number to 1 -~[~<number>~]~. +~[~\angle{number}~]~. \item [|\setrunninglinenumbers] \ \par Switch to ~running~ line number mode. Do \emph{not} @@ -3131,9 +3136,9 @@ Reverses the effect of ~\runningpagewiselinenumbers~. \item [|\modulolinenumbers[\NL] \ \par Give a number only to lines which are multiples of -~[~<number>~]~. If <number> is not specified, the +~[~\angle{number}~]~. If \angle{number} is not specified, the current value in the counter ~linenumbermodulo~ is -retained. <number>=1 turns this off without changing +retained. \angle{number}=1 turns this off without changing ~linenumbermodulo~. The counter is initialized to 5. \item [|\modulolinenumbers*[\NL] \ \par @@ -3150,13 +3155,13 @@ The behaviour may be unsatisfactory with pagewise line-numbering. \item [|\firstlinenumber] \ \par -~\firstlinenumber{~<filino>~}~ brings about that -(after it) line numbers less than <filino> do +~\firstlinenumber{~\angle{filino}~}~ brings about that +(after it) line numbers less than \angle{filino} do \emph{not} appear in the margin. Moreover, with -~\modulolinenumbers[~<number>~]~, just the line -numbers which are <filino> plus a multiple of -<number> are printed.---If you had -~\firstlinenumber{~<pos>~}~ with some $\mbox{<pos>}>0$ +~\modulolinenumbers[~\angle{number}~]~, just the line +numbers which are \angle{filino} plus a multiple of +\angle{number} are printed.---If you had +~\firstlinenumber{~\angle{pos}~}~ with some $\mbox{\angle{pos}}>0$ and want to switch to printing multiples of, e.g., 4, you best do ~\modulolinenumbers[4]~ and ~\firstlinenumber{0}~. (See subsection_\ref{ss:Mod} @@ -3174,37 +3179,37 @@ Do not Number the lines of a display math in a ~{linenomath*}~ environment. This is the default. \item [|\linelabel] \ \par -Set a ~\linelabel{~<foo>~}~ to the line number where +Set a ~\linelabel{~\angle{foo}~}~ to the line number where this commands is in. Refer to it with the \LaTeX\ -referencing commands ~\ref{~<foo>~}~ and -~\pageref{~<foo>~}~. +referencing commands ~\ref{~\angle{foo}~}~ and +~\pageref{~\angle{foo}~}~. \end{description} The commands can be used globally, locally within groups or as environments. It is important to know that they take action only when the ~\par~ is executed. The -~\end{~<mode>~linenumbers}~ commands provide a ~\par~. +~\end{~\angle{mode}~linenumbers}~ commands provide a ~\par~. Examples: \begin{verse} -~{\linenumbers~ <text> ~\par}~ \\ +~{\linenumbers~ \angle{text} ~\par}~ \\ \ \\ ~\begin{linenumbers}~ \\ -<text> \\ +\angle{text} \\ ~\end{linenumbers}~ \\ \ \\ -<paragraph> ~{\linenumbers\par}~ \\ +\angle{paragraph} ~{\linenumbers\par}~ \\ \ \\ ~\linenumbers~ \\ -<text> ~\par~ \\ +\angle{text} ~\par~ \\ ~\nolinenumbers~ \\ \ \\ ~\linenumbers~ \\ -<paragraph> ~{\nolinenumbers\par}~ \\ +\angle{paragraph} ~{\nolinenumbers\par}~ \\ \end{verse} (New v4.00) -However, the examples containing <paragraph> show what you +However, the examples containing \angle{paragraph} show what you should \emph{not} do, at least if you use ~\pagebreak~, ~\nopagebreak~, ~\vspace~, ~\\*~ or -~\\[~<space>~]~---cf._section_\ref{s:MVadj}. +~\\[~\angle{space}~]~---cf._section_\ref{s:MVadj}. The same care should be applied to the ``wizard'' devices ~\ifLineNumbers~ (subsection_\ref{ss:OnOff}) and diff --git a/Master/texmf-dist/doc/latex/lineno/linenoamsmathdemo.pdf b/Master/texmf-dist/doc/latex/lineno/linenoamsmathdemo.pdf Binary files differindex e311cec61a6..b9e26c78068 100644 --- a/Master/texmf-dist/doc/latex/lineno/linenoamsmathdemo.pdf +++ b/Master/texmf-dist/doc/latex/lineno/linenoamsmathdemo.pdf diff --git a/Master/texmf-dist/doc/latex/lineno/lnosuppl.pdf b/Master/texmf-dist/doc/latex/lineno/lnosuppl.pdf Binary files differindex 2d04f767b44..6d4835173fc 100644 --- a/Master/texmf-dist/doc/latex/lineno/lnosuppl.pdf +++ b/Master/texmf-dist/doc/latex/lineno/lnosuppl.pdf diff --git a/Master/texmf-dist/doc/latex/lineno/lnosuppl.tex b/Master/texmf-dist/doc/latex/lineno/lnosuppl.tex index 124547afa45..6f0287ed377 100644 --- a/Master/texmf-dist/doc/latex/lineno/lnosuppl.tex +++ b/Master/texmf-dist/doc/latex/lineno/lnosuppl.tex @@ -5,7 +5,7 @@ to the \textit{lineno.sty} distribution \\[1ex] \normalfont \Large Lazy \texttt{ASCII}\,$\to$\,\texttt{PDF} listings} -\author{Uwe L\"uck} +\author{Uwe Lück} \documentclass[10pt]{article} \usepackage{verbatim} %% hyperref settings from makedoc.cfg 2011/02/14: @@ -23,8 +23,6 @@ filebordercolor={1 .6 1}, linkbordercolor={1 .9 .7}, urlbordercolor={ .7 1 1}, %% playing 2011/01/24 - \else - draft \fi ]{hyperref} \usepackage{hypertoc} @@ -47,7 +45,7 @@ \section*{Preface} \texttt{lineno.sty} is a macro package made by -Stephan~I.~B\"ottcher for attaching line numbers to +Stephan~I.~Böttcher for attaching line numbers to \LaTeX\ documents. Some people have used it for revising submittings in collaboration with referees or co-authors. Documentations are nowadays preferred to be in diff --git a/Master/texmf-dist/doc/latex/lineno/ulineno.pdf b/Master/texmf-dist/doc/latex/lineno/ulineno.pdf Binary files differindex 6db5ce14d56..6b3d9167f8f 100644 --- a/Master/texmf-dist/doc/latex/lineno/ulineno.pdf +++ b/Master/texmf-dist/doc/latex/lineno/ulineno.pdf diff --git a/Master/texmf-dist/doc/latex/lineno/ulineno.tex b/Master/texmf-dist/doc/latex/lineno/ulineno.tex index 9780c46da7f..af49588ac4c 100644 --- a/Master/texmf-dist/doc/latex/lineno/ulineno.tex +++ b/Master/texmf-dist/doc/latex/lineno/ulineno.tex @@ -24,18 +24,17 @@ \title{ \lineno.sty \\ Users Manual } -\author{ Stephan I. B\"ottcher +\author{ Stephan I. Böttcher } \usepackage{lineno} \usepackage{url} \def~{\verb~} -\catcode`\<\catcode`\~ -\def<#1>{$\langle${\itshape#1}\/$\rangle$} +\def\angle#1{$\langle${\itshape#1}\/$\rangle$} \catcode`\|\catcode`\~ \def|#1{{\ttfamily\string#1}} -\def\NL{<number>]} +\def\NL{\angle{number}]} \begin{document} \begin{runninglinenumbers} @@ -105,12 +104,12 @@ The home of \lineno.sty is \url{https://github.com/latex-lineno/lineno}. Here y As any other \LaTeXe\ package, you need to load it with \begin{quote} - ~\usepackage[~<options>~]{lineno}~ + ~\usepackage[~\angle{options}~]{lineno}~ \end{quote} \subsection{Package options} -The available <options> are: +The available \angle{options} are: \begin{description} \item[\texttt{[left]}:] Put the line numbers into the left margin @@ -276,17 +275,17 @@ You get this mode by You can reset the line number with \begin{quote} - ~\resetlinenumber[~<number>~]~ + ~\resetlinenumber[~\angle{number}~]~ \end{quote} where the default is to reset the line number to one. Alternatively, you can give the line number in an optional argument to any command that turns on the line numbering in this mode: \begin{quote}\obeylines - ~\linenumbers[~<number>~]~ - ~\runninglinenumbers[~<number>~]~ - ~\begin{linenumbers}[~<number>~]~ - ~\begin{runninglinenumbers}[~<number>~]~ + ~\linenumbers[~\angle{number}~]~ + ~\runninglinenumbers[~\angle{number}~]~ + ~\begin{linenumbers}[~\angle{number}~]~ + ~\begin{runninglinenumbers}[~\angle{number}~]~ \end{quote} or reset the line number to 1 with any of the following: \begin{quote}\obeylines @@ -480,16 +479,16 @@ printed \subsection{Numbering only one in five lines} You can ask lineno to print the line numbers only if they devide by -<n>, by saying +\angle{n}, by saying \begin{quote} - ~\modulolinenumbers[~<n>~]~ + ~\modulolinenumbers[~\angle{n}~]~ \end{quote} If you omit the optional argument, it will be every fifth line, or whatever you used last (the current value of the counter ~linenumbermodulo~). You get the same effect by giving the package option ~[modulo]~. -If you set <n> to 1, the modulo value is not changed, but modulo +If you set \angle{n} to 1, the modulo value is not changed, but modulo numbering is turned off. Changing the counter ~linenumbermodulo~ does not turn on modulo @@ -539,7 +538,7 @@ You can redefine it to make the numbers appear in a differnt font \end{quote} The distance on the left margin can be changed with \begin{quote} - ~\setlength\linenumbersep{~<distance>~}~ + ~\setlength\linenumbersep{~\angle{distance}~}~ \end{quote} The distance on the right margin is ~\linenumbersep~ plus ~\linenumberwidth~, both are set to 10\,pt by default. @@ -657,8 +656,8 @@ point of the refered line to the reference here. \section[Line number references] {Line number references\linelabel{ll1}} -\lineno.sty allows to refer to a line number with ~\ref{~<label>~}~. -The label is set by ~\linelabel{~<label>~}~, anywhere in a paragraph +\lineno.sty allows to refer to a line number with ~\ref{~\angle{label}~}~. +The label is set by ~\linelabel{~\angle{label}~}~, anywhere in a paragraph that gets line numbers. If you put a ~\linelabel~ somewhere else, the line number it refers to is pretty meaningless, but no error message is issued. (This section begins on line \ref{ll1}, page @@ -816,7 +815,7 @@ It is currently not possible to put a ~\linelabel~ into math mode. This should not impose problems with inline math, since you can attach the label just outside the math shift, like\linelabel{rll1} \begin{quote} - ~... \linelabel{~<label>~}$x=f(y)$ ...~ + ~... \linelabel{~\angle{label}~}$x=f(y)$ ...~ \end{quote} but to refer to a line in display math, you cannot label it directly. \end{runninglinenumbers} @@ -831,17 +830,17 @@ You put the ~\linelabel~ at the end of the preceeding line, and refer to that number, plus 1 or, in case of multiline displays, by any other offset.\linelabel{rll2} \begin{quote} - ~...\linelabel{~<label>~}~ \\ + ~...\linelabel{~\angle{label}~}~ \\ ~\begin{equation}~ \\ ~ y=f'(x)~ \\ ~\end{equation}~ \\ - ~... the formula in line \lineref[+1]{~<label>~}~ + ~... the formula in line \lineref[+1]{~\angle{label}~}~ \end{quote} The offset calculation is different for pagewise or running line numbers, and you will have to make sure the right method is used. \end{pagewiselinenumbers} -The macro ~\lineref[~<offset>~]{~<label>~}~ uses the method of the +The macro ~\lineref[~\angle{offset}~]{~\angle{label}~}~ uses the method of the currently selected mode (line numbering need not be activated). To specify the mode explicitly, use ~\linerefr~ or ~\linerefp~ for running or pagewise mode respectively. |