Math vs Page Formatting: Hall's Post on Chrome

  • Thread starter Thread starter jim mcnamara
  • Start date Start date
AI Thread Summary
Hall's post on Chrome has encountered issues with left margin control due to LaTeX formatting, leading to improper display. The problem arises when the LaTeX content exceeds the post's dimensions, causing alignment issues. A suggested solution involves using the multline environment to better manage long equations. However, this requires the user to manually adjust for page width to ensure proper formatting. Proper handling of LaTeX can significantly improve the readability of mathematical content in forum posts.
Physics news on Phys.org
Last edited:
The latex needs a break. Too long for the post dimensions.
 
Depending on your preferences for mathematical typesetting, something like:
Code:
[tex]
[b]\begin[/b][/color]{[/color]multline}[/color]
[b]\int[/b][/color]_{[/color]x=0}^{[/color]20}[/color][b]\int[/b][/color]_{[/color]y= 0}^{[/color]20}[/color](a+ bx+ cy+ dx^[/color]2+ exy+ fy^[/color]2+ gx^[/color]3+ hx^[/color]2y+ jy^[/color]3)dx \
 [b]\qquad[/b][/color] = [b]\left[/b][/color][ax+ bx^[/color]2/2+ cy^[/color]2/2+ dx^[/color]3/3+ ex^[/color]2y/2+ exy^[/color]2/2+ fy^[/color]3/3+ gx^[/color]4/4+ yx^[/color]3y/3+[b]\ [/b][/color]
 [b]\qquad[/b][/color][b]\qquad[/b][/color] + hx^[/color]2y^[/color]2/2+ jy^[/color]4/4[b]\right[/b][/color]]_{[/color]x=0, y=0}^{[/color]x=20, y=20}[/color]
[b]\end[/b][/color]{[/color]multline}[/color]
[/tex]
should do the trick:
\begin{multline}<br /> \int_{x=0}^{20}\int_{y= 0}^{20}(a+ bx+ cy+ dx^2+ exy+ fy^2+ gx^3+ hx^2y+ jy^3)dx \\<br /> \qquad = \left[ax+ bx^2/2+ cy^2/2+ dx^3/3+ ex^2y/2+ exy^2/2+ fy^3/3+ gx^4/4+ yx^3y/3+\\ <br /> \qquad\qquad + hx^2y^2/2+ jy^4/4\right]_{x=0, y=0}^{x=20, y=20}<br /> \end{multline}

Of course, this requires the poster to manually account for the page width.
 
I want to thank those members who interacted with me a couple of years ago in two Optics Forum threads. They were @Drakkith, @hutchphd, @Gleb1964, and @KAHR-Alpha. I had something I wanted the scientific community to know and slipped a new idea in against the rules. Thank you also to @berkeman for suggesting paths to meet with academia. Anyway, I finally got a paper on the same matter as discussed in those forum threads, the fat lens model, got it peer-reviewed, and IJRAP...
About 20 years ago, in my mid-30s (and with a BA in economics and a master's in business), I started taking night classes in physics hoping to eventually earn the science degree I'd always wanted but never pursued. I found physics forums and used it to ask questions I was unable to get answered from my textbooks or class lectures. Unfortunately, work and life got in the way and I never got further the freshman courses. Well, here it is 20 years later. I'm in my mid-50s now, and in a...

Similar threads

Replies
5
Views
2K
  • Sticky
Replies
0
Views
4K
Replies
44
Views
5K
Replies
2
Views
2K
Replies
1
Views
3K
2
Replies
93
Views
14K
Replies
11
Views
146K
Back
Top