On page 10 of the book The TeXbook, it says that \show\cs, where \cs is any control sequence, can output its meaning. For example, \show\thinspace outputs
> \thinspace=macro:
->\kern .16667em .
Why does \show\ output:
> \^^M=macro:
->\ .
Why is there ^^M here? I knew the ^^M refers to the enter key in keyboard, but may you tell me the reason?
\ [end-of-line]and\[end-of-line]are identical – Joseph Wright Oct 27 '23 at 12:02is at the end of the line, it gets removed from the input stream. So\show\ <end of line>becomes\show\<end of line>. – cfr Oct 27 '23 at 12:03%symbol at the end of the line. But if it is "\show", I can't add%after it. If we can add, we can tell the difference. – Y. zeng Oct 27 '23 at 12:06\. Is\showcause the last space removed? – Y. zeng Oct 27 '23 at 12:08\there is because the macro right before would otherwise swallow the space. But\at the end of a line won't stop TeX removing the space. – cfr Oct 27 '23 at 12:09\[newline]is the control sequence you get with[newline]- it's just a character like[space]oraor whatever, so can be used to make one – Joseph Wright Oct 27 '23 at 12:19\show\in the middle of a line of other content, it would be different – Joseph Wright Oct 27 '23 at 12:25\endlinecharat the time of reading/pre-processing the line of .tex-input in question. The question is about the control sequence token whose name is formed by the carriage return character whose codepoint is 13(dec) in ASCII. Probably that token can colloquially be called "control carriage return" like in the TeXbook the control sequence token whose name is formed by the space character, whose codepoint is 32(dec) in ASCII, is called control space? – Ulrich Diez Oct 27 '23 at 13:12