Improving Equation Formatting in LaTeX

AI Thread Summary
The discussion focuses on improving equation formatting in LaTeX, particularly using the align environment. A user seeks help to enhance the appearance of a specific equation, expressing concerns about the large typeface and the need for multi-line alignment without adding more brackets. Suggestions include using kern commands to adjust spacing and the genfrac command for better formatting of the right-hand side of the equation. The conversation also touches on personal projects, with some participants working on thesis proposals during the holidays. Overall, the thread provides practical advice for LaTeX formatting challenges.
n0_3sc
Messages
238
Reaction score
1
So who else is writing a thesis over the christmas holidays?

Can anyone help me with this latex problem:
I'm using \begin{align} and \end{align} for this equation, but it looks ugly...

http://www.freeimagehosting.net/uploads/cf1b1c46ab.gif

How can I fix that first line?
 
Physics news on Phys.org
No thesis, but I'm building a helicopter transmission.
 
I am engaging in absolutely frivolous activity for the next week at least.
 
n0_3sc said:
How can I fix that first line?
You could factor out the common factor for the first three terms in the parenthesis, this would shorten all three lines. Nested parentheses will also be a bit ugly but it should shorten it enough to get the numbering to fit.

Why is the type face so big?
 
jambaugh said:
Nested parentheses will also be a bit ugly but it should shorten it enough to get the numbering to fit.

Why is the type face so big?

I'd prefer not to create more brackets. The typeface is 12pt but the pic is enlarged. I'm looking for some latex command that does multi-line alignment (break each equation into two lines).
{align}, {multline} and {split} don't seem to be nice working functions for this case.
 
Renge Ishyo said:
I am engaging in absolutely frivolous activity for the next week at least.

Who are you trying to fool, Renge? [8P]
 
I'm not writing my thesis, but I am writing my thesis proposal over the holidays. Does that count?
 
n0_3sc said:
I'd prefer not to create more brackets. The typeface is 12pt but the pic is enlarged. I'm looking for some latex command that does multi-line alignment (break each equation into two lines).
{align}, {multline} and {split} don't seem to be nice working functions for this case.

I'm not sure about the mutli-line. You could try uniformly inserting some small negative value kern commands to tighten up the spacing enough to get the eqn number to fit.

Also the genfrac command is pretty flexible you might be able to use it to write the r.h.s of each equation as two lines at full 12pt with a left curly bracket.

something like:

P(\omega_p)=\genfrac{\{}{}{0pt}{0}{3\chi_{111}(|A_{\omega p}|^2A_{\omega p} + 2|A_{\omega s}|^2A_{\omega p}}{\quad \quad + 2|A_{\omega a}|^2A_{\omega p}+ 2A_{\omega p}^*A_{\omega s}A_{\omega a})}
or
P(\omega_p)=3\chi_{111}\genfrac{\{}{\}}{0pt}{0}{|A_{\omega p}|^2A_{\omega p} + 2|A_{\omega s}|^2A_{\omega p}+}{ 2|A_{\omega a}|^2A_{\omega p}+ 2A_{\omega p}^*A_{\omega s}A_{\omega a}}

or some variation thereof.
 
try dividing the LHS by 3\chi_{111} to remove it from the RHS...
 
  • #10
jambaugh said:
something like:

P(\omega_p)=\genfrac{\{}{}{0pt}{0}{3\chi_{111}(|A_{\omega p}|^2A_{\omega p} + 2|A_{\omega s}|^2A_{\omega p}}{\quad \quad + 2|A_{\omega a}|^2A_{\omega p}+ 2A_{\omega p}^*A_{\omega s}A_{\omega a})}

Cheers, that works and looks good.
Merry Christmas all.
 
Back
Top