Improving Equation Formatting in LaTeX

Click For Summary

Discussion Overview

The discussion revolves around formatting equations in LaTeX, specifically addressing issues with alignment and aesthetics in multi-line equations. Participants share their experiences and seek solutions to improve the appearance of their equations while writing theses or proposals.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses dissatisfaction with the appearance of an equation formatted using \begin{align} and \end{align} and seeks advice on improving it.
  • Another suggests factoring out common factors to shorten the lines, while also noting that nested parentheses may complicate the formatting.
  • A participant mentions the large typeface and the need for a LaTeX command that allows for multi-line alignment without creating additional brackets.
  • Suggestions include using small negative kern commands to adjust spacing and utilizing the genfrac command for more flexible formatting options.
  • One participant proposes dividing the left-hand side of the equation to simplify the right-hand side.
  • Another participant shares a specific formatting example using the genfrac command to illustrate a potential solution.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to formatting the equations, as multiple suggestions and methods are proposed without clear agreement on a single solution.

Contextual Notes

Some participants express uncertainty about the effectiveness of various LaTeX commands for multi-line alignment, indicating that their suggestions may require further testing or refinement.

Who May Find This Useful

This discussion may be useful for individuals working on theses or technical documents in LaTeX, particularly those seeking to improve the formatting of complex equations.

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?
 
Mathematics 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.
 

Similar threads

Replies
0
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 48 ·
2
Replies
48
Views
6K
  • · Replies 1 ·
Replies
1
Views
890
  • · Replies 3 ·
Replies
3
Views
2K