LaTeX Latex Tests: Solving for Phi(a, theta) and Phi(b, theta)

  • Thread starter Thread starter fluidistic
  • Start date Start date
  • Tags Tags
    Latex Theta
AI Thread Summary
The discussion centers around a LaTeX formatting issue related to the rendering of mathematical expressions. The user expresses confusion over why the first instance of "Phi(a, theta)" does not display correctly, while the second instance does. It is suggested that the problem may stem from how the first argument after the {array} environment is interpreted, potentially affecting the output. The user receives clarification on this point, indicating a better understanding of the LaTeX behavior. Overall, the conversation highlights common challenges in LaTeX formatting, particularly within array environments.
fluidistic
Gold Member
Messages
3,928
Reaction score
272
I haven't found a thread for latex tests, but I'm sure there's at least one of them. So feel free to move this post.
##\begin{array} \Phi (a, \theta ) = \sum _{l=0}^ \infty [A_l a^l + B_l a^{-(l+1)}] P_l (\cos \theta ) = V_a \\ \Phi (b, \theta ) = \sum _{l=0}^ \infty [A_l b^l + B_l b^{-(l+1)}] P_l (\cos \theta ) =V_b \end{array}##
I don't understand why the first lines does not read "Phi(a, theta)". I wrote \Phi (a, \theta ).
Anyone has an idea? It works for the second line. :bugeye:
 
Physics news on Phys.org
Perhaps first argument after {array} is always treated as a column definition? Not that \Phi would made any sense in this context...

\begin{array}{ll} \Phi (a, \theta ) = \sum _{l=0}^ \infty [A_l a^l + B_l a^{-(l+1)}] P_l (\cos \theta ) = V_a \\ \Phi (b, \theta ) = \sum _{l=0}^ \infty [A_l b^l + B_l b^{-(l+1)}] P_l (\cos \theta ) =V_b \end{array}
 
I see. Thanks a lot, I was not aware of this.
 
Back
Top