# [tex-live] acronyms.sty spurious space from LaTeX base?

Hartmut Henkel hartmut_henkel at gmx.de
Fri Sep 26 23:58:55 CEST 2014

Hi,

please see the test file below, there is a spurious space at the end of
the first line of m's when an acronym wraps around to the next line. It
seems not to come directly from acronym.sty, but rather to be a
side-effect of the \protected at write macro from latex.ltx?

\documentclass[12pt,a4paper]{article}
\usepackage{acronym}
\makeatletter

% \long\def from latex.ltx, simplified.
% This line makes the spurious space:
%\long\def \protected at write#1#2#3{\write0{}}

% This doesn't:
%\long\def \protected at write#1#2#3{}

% Commenting all \long\def lines out still
% gives the space, then from orig. latex.ltx, weird.

\makeatother
\begin{document}
\begin{acronym}
\acro{acl}{ACL}{ACronyms List}
\end{acronym}
why is there a space at the end of next line?
\hrule
m m m m m m m m m m m m m m m m m m m m
m m m m m m m \ac{acl}  m m m m m m m m
m m m m m m m m m m m m m m m m m m m m
m m m m m m m m m m m m m m m m m m m m
m m m m m m m m m m m m m m m m m m m m
\hrule
\end{document}

Regards, Hartmut