In reading Appendix B of the TeXBook, I've noticed that Knuth consistently defines macros in Plain TeX with style switches of the form $\displaystyle{#1}$ as opposed to simply $\displaystyle#1$ (e.g., in mathpalette, in macros for use with mathpalette, in the math alignment macros, and more). I can't see any difference between these two, but the consistent use of the longer form suggests to me that there is a difference, especially since with non-style switch control sequences, Knuth often does just \cseq#1 (where \cseq doesn't take any arguments). Is there any difference between these two forms?
EDIT: @Werner requested some examples. I've collected the following examples based just on pages 360 and 362 of the TeXBook:
- In every branch of the
\mathchoicein\mathpalette:\def\mathpalette#1#2{\mathchoice{#1\displaystyle{#2}}% {#1\textstyle{#2}}{#1\scriptstyle{#2}}{#1\scriptscriptstyle{#2}}} - With
\scriptscriptstyleinside\root:\def\root#1\of{\setbox\rootbox \hbox{$\m@th\scriptscriptstyle{#1}$}\mathpalette\r@@t} - In
\mathph@nt, which is intended for use with\mathpalette, so#1is replaced by a style switch:\def\mathph@nt#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finph@nt} \mathsm@shis similar to\mathph@nt.- Twice in the template row of
\ialignin\eqalign(the second instance is a little more interesting):\def\eqalign#1{\null\,\vcenter{\openup\jot\m@th \ialign{\strut\hfil$\displaystyle{##}$&$\displaystyle{{}##}$\hfil \crcr#1\crcr}}\,} \eqalignnoand\leqalignnoare similar to\eqalign.\displaylinesis almost a counterexample (but not quite due to the following\hfil), so perhaps it will help reveal something:\def\displaylines#1{\displ@y \tabskip\z@skip \halign{\hbox to\displaywidth{$\@lign\hfil\displaystyle##\hfil$}\crcr #1\crcr}}


a+banda{+}b. Also, there is sometimes a major difference in how\mymacro#1is presented compared to\mymacro{#1}; take this as an example. – Werner Feb 18 '21 at 04:08\displaystyle{#1}by explicitly writing the dollar signs. I know that{+}causes+to become a mathord, but I can't see how that matters if nothing is surrounding it. Also, when I wrote\mymacro, I was assuming\mymacrotook no arguments, just like how\XXXstylehas no arguments. – RobertR Feb 18 '21 at 05:10