I just ran into the fact that the ASCII vertical bar character is (unexpectedly and inexplicably) rendered as a long dash in LaTeX. So presumably there could be other such characters that aren’t “special” (in the sense of being non-text “control“ characters when unescaped) yet are rendered by LaTeX in a totally non-standard way
Is there a specification somewhere that lists these “non-standard rendering” characters?
>and<.) To fix this issue, run the instruction\usepackage[T1]{fontenc}in the preamble. BTW, nothing in LaTeX is "inexplicable". The explanation can be challenging at times, though... – Mico Apr 04 '23 at 05:52|is parsed as codepoint7Cwhich results in an em-dash for the traditional Computer Modern text fonts (but maybe not for other fonts). See as well Q193216 . – Jasper Habicht Apr 04 '23 at 07:00\usepackage[T1]{fontenc}– Ulrike Fischer Apr 04 '23 at 09:08