Hi Damian, At 2023-05-26T01:35:36+1000, Damian McGuckin wrote: > The following > > sin cos tan sinh cosh tanh arc > max min lim log ln exp > Re Im det and if for > > are treated as special words and are converted to Roman font when > encountered. > > As I understand these words, except for the last three, they are > interpolated in the output stream in Roman font and with a leading and > trailing [] space
> The last three, i.e. and & if & for, have neither leading nor trailing > [] space. > > Is my wording precise? > > Ted Harding only talked about the trailing space. I wouldn't use the term "notional space" at all. The difference between the bulk of the above list and the last three can be seen in src/preproc/eqn/lex.cpp:198-216. https://git.savannah.gnu.org/cgit/groff.git/tree/src/preproc/eqn/lex.cpp?h=1.23.0.rc4#n198 "sin" through "det" get a spacing type of "operator" applied to them, whereas the last three get no type at all. The man page doesn't quite get around to documenting this, but it appears that eqn tokens with type "operator" get a thin space placed to their left. https://git.savannah.gnu.org/cgit/groff.git/tree/src/preproc/eqn/list.cpp?h=1.23.0.rc4#n81 Also, you asked about the "medium_space" the other day. It's used with tokens of the "binary" type, and that _is_ in the man page...albeit nestled in the bewildering morass of TeX-derived tuning parameters. medium_space This amount of space is automatically inserted on either side of binary operators (22). I've continued to whack on the eqn(1) man page, and have added an "Examples" section. I don't intend for it to grow much further than its present state. The document is at 9 U.S. letter size pages already and will certainly grow beyond that once I tackle the big to-do items I mentioned earlier this month.[1] Regards, Branden [1] https://lists.gnu.org/archive/html/groff/2023-05/msg00110.html
signature.asc
Description: PGP signature