Tip for Heavy-LaTex Users

mmm4444bot

Super Moderator
Joined
Oct 6, 2005
Messages
10,902
Here's a typing tip, for your consideration. ?

When posting multiple, consecutive lines of LaTex, you only need to invoke LaTeX once. That is, you may insert all lines within a single set of [͏tex] and [͏/tex] tags, IF you end each line with \\

For double-spacing, end a blank line with \;\\

Here's an example. Both of the following yield the same output.

[͏tex]x^2 + (y - x^{2/3})^2 = 5\\
\;\\
(y - x^{2/3})^2 = 5 - x^2\\
\;\\
\sqrt{(y - x^{2/3})^2} = \sqrt{5 - x^2}\\
\;\\
y - x^{2/3} = \pm\sqrt{5 - x^2}\\
\;\\
y = \pm\sqrt{5 - x^2} + x^{2/3}[͏/tex]


[͏tex]x^2 + (y - x^{2/3})^2 = 5[͏/tex]

[͏tex](y - x^{2/3})^2 = 5 - x^2[͏/tex]

[͏tex]\sqrt{(y - x^{2/3})^2} = \sqrt{5 - x^2}[͏/tex]

[͏tex]y - x^{2/3} = \pm\sqrt{5 - x^2}[͏/tex]

[͏tex]y = \pm\sqrt{5 - x^2} + x^{2/3}[͏/tex]
 
Here's a tip, for your consideration. (I once knew it, and recently re-learned.) :cool:

When posting multiple, consecutive lines of LaTex, you only need to invoke LaTex once. That is, you may insert all lines within a single set of [͏tex] and [͏/tex] tags, IF you end each line with \\ (for double-spacing, end a blank line with \;\\).


Example, this:

[͏tex]x^2 + (y - x^{2/3})^2 = 5\\
\;\\
(y - x^{2/3})^2 = 5 - x^2\\
\;\\
\sqrt{(y - x^{2/3})^2} = \sqrt{5 - x^2}\\
\;\\
y - x^{2/3} = \pm\sqrt{5 - x^2}\\
\;\\
y = \pm\sqrt{5 - x^2} + x^{2/3}[͏/tex]



yields the same output as this:

[͏tex]x^2 + (y - x^{2/3})^2 = 5[͏/tex]

[͏tex](y - x^{2/3})^2 = 5 - x^2[͏/tex]

[͏tex]\sqrt{(y - x^{2/3})^2} = \sqrt{5 - x^2}[͏/tex]

[͏tex]y - x^{2/3} = \pm\sqrt{5 - x^2}[͏/tex]

[͏tex]y = \pm\sqrt{5 - x^2} + x^{2/3}[͏/tex]
Nice! Thanks! ;)
 
Top