[latex3-commits] [latex3/latex2e] develop: \calulateheight -> \calculateheight (#1070) (ce58606c)

github at latex-project.org github at latex-project.org
Tue May 23 09:36:12 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/ce58606c57aee26d3b4aaf234cb4e8da30666c75

>---------------------------------------------------------------

commit ce58606c57aee26d3b4aaf234cb4e8da30666c75
Author: mbertucci47 <61854785+mbertucci47 at users.noreply.github.com>
Date:   Tue May 23 01:36:12 2023 -0600

    \calulateheight -> \calculateheight (#1070)
    
    I assume the intended name was `\calculateheight`, not `\calulateheight`.


>---------------------------------------------------------------

ce58606c57aee26d3b4aaf234cb4e8da30666c75
 base/doc/usrguide.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/doc/usrguide.tex b/base/doc/usrguide.tex
index dca58838..9ccfda48 100644
--- a/base/doc/usrguide.tex
+++ b/base/doc/usrguide.tex
@@ -1187,11 +1187,11 @@ therefore shows the same syntax peculiars as discussed
 above. Nevertheless, in practice they are usually sufficient.  For
 example
 \begin{verbatim}
-\newcommand\calulateheight[1]{%
+\newcommand\calculateheight[1]{%
   \setlength\textheight{\dimeval{\topskip+\baselineskip*\inteval{#1-1}}}}
 \end{verbatim}
 sets the \cs{textheight} to the appropriate value if a page should
-hold a specific number of text lines. Thus after |\calulateheight{40}|
+hold a specific number of text lines. Thus after |\calculateheight{40}|
 it is set to \dimeval{\topskip+\baselineskip*\inteval{40-1}}, given
 the values \cs{topskip} (\dimeval{\topskip}) and \cs{baselineskip}
 (\dimeval{\baselineskip}) in the current document.





More information about the latex3-commits mailing list.