I've recently converted to using \[ \] instead of $$ $$ as my begin/end math command since I read that is the "correct" method. However, the backslash character is near my pinky on my keyboard and typing that every single line is getting my pinky fatigued.
Is there some sort of multiline equation command/environment in LaTeX similar to how many programming languages have multiline comments?
That is, I currently have:
\[ r \approx R_{\odot}/2 \]
\[ T \approx 10^{7} K \]
\[ M \approx \frac{1}{2} M_{\odot} \]
\[ l \approx R_{\odot}/20 \]
\[ H = \frac{L_{\odot}}{4 \pi r^{2}} \]
\[ \Delta \nabla T \approx 2 \times 10^{-10} \]
\[ \frac{dT}{dr} \approx \frac{\bar{T}}{R_{\odot}} \approx 6 \times 10^{-5} \]
whereas I would like something of the form
\begin{math}
r \approx R_{\odot}/2
T \approx 10^{7} K
M \approx \frac{1}{2} M_{\odot}
l \approx R_{\odot}/20
H = \frac{L_{\odot}}{4 \pi r^{2}}
\Delta \nabla T \approx 2 \times 10^{-10}
\frac{dT}{dr} \approx \frac{\bar{T}}{R_{\odot}} \approx 6 \times 10^{-5}
\end{math}
Please note that amsmath's align and gather don't fit the bill for me since they require two backslashes at the end of each line.
I'm open to source modification solutions.
Also, I'm using the article documentclass (if it matters).
..\]\[...
is wrong. It would in theory be possible (but fragile) to make end of line mean\\
in analign
but why??? it is only one character less, and you are already entering dozens of\
so\\
is possibly the easiest command to enter.\[\]\[\]
does not generate a tex error but the vertical space and page break control around the math will be very poor. using a newline instead of\\
to force a new row in the math does save exactly one character, not four:-)\[ \]
issue (though I don't think I've had trouble with it yet). Also, I had meant a "return" will save me four characters in terms of getting rid of the\[ \]
on each line. Also, since that newline is there no matter what I still think it would save me two characters rather than one in terms of replacing \\