Skip to content

Commit

Permalink
updates after review
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankMittelbach committed Jan 14, 2025
1 parent bee4690 commit 5c52955
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions base/doc/ltnews41.tex
Original file line number Diff line number Diff line change
Expand Up @@ -453,14 +453,14 @@ \subsection{\pkg{array}:\ Improve preamble setup code for \texttt{p} and friends


\subsection[\pkg{varioref}:\ How to make \cs{reftex...}\ empty]
{\pkg{varioref}:\ How to make \cs{reftexafter} and friends empty}
{\pkg{varioref}:\ How to make \cs{reftexfaceafter}, etc.\ empty}

In the unusual case that one wants to make a command such as
\cs{reftextafter} produce nothing one has o get rid of the space that
is automatically placed in front of it. This can be done by simply
In the case that one wants to make a command such as
\cs{reftextfaceafter} produce nothing, one has to get rid of the space that
is automatically placed in front of the command. This can be done by simply
defining the command to remove it, e.g.,
\begin{verbatim}
\renewcommand\reftextafter{\unskip}
\renewcommand\reftextfaceafter{\unskip}
\end{verbatim}
The \pkg{varioref} package does not test if such strings are empty,
because that would require a lot of tests each time \cs{vref} is used,
Expand Down
2 changes: 1 addition & 1 deletion required/tools/varioref.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
% use of |\pageref| in its replacement text.
%
% In the somewhat unusual case that you want to make some or all of
% the |\reftext...| texts empty it is necessary to get rid of the
% the |\reftext...| texts empty, it is necessary to get rid of the
% space that is automatically put in front of them. You can do this by
% defining them to expand to |\unskip|.
%
Expand Down

0 comments on commit 5c52955

Please sign in to comment.