This definitely seems like an answered question somewhere, but how can I make a single line break in the latex source code correspond to a line break in the text?
For example, I'd like
\documentclass{article}
\begin{document}
Sentence 1
Sentence 2
\end{document}
to produce
as opposed to
\documentclass{article}
\begin{document}
Sentence 1
Sentence 2
\end{document}
with the extra line break.

\obeylinesis a TeX primitive intended for this purpose. – barbara beeton Feb 10 '20 at 03:51\\at the end of matrix rows? – egreg Feb 10 '20 at 10:26\obeylinesis intended specifically for use with text. It is particularly useful for formatting poetry and verbatim blocks. If you want help with math, your question should say so. – barbara beeton Feb 10 '20 at 14:09