Is Your LaTeX Code Previewing Correctly?

  • Context: LaTeX 
  • Thread starter Thread starter OlderDan
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around issues related to LaTeX code previewing and formatting within the forum. Participants share their experiences with LaTeX rendering problems, seek solutions, and discuss the use of existing resources for practicing LaTeX typesetting.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Meta-discussion

Main Points Raised

  • Some participants express frustration over LaTeX not displaying correctly in preview mode and seek a space to test their code.
  • Others note that the LaTeX problem has persisted for several months, indicating a shared concern about the forum's functionality.
  • There are suggestions to leave final equations in the thread for others to learn from, with discussions on how to add titles to messages.
  • Some participants share specific LaTeX code snippets they are trying to get to work, indicating a variety of mathematical expressions being tested.
  • One participant mentions a dedicated thread for practicing LaTeX, suggesting that users could utilize that space instead.
  • There are references to a recommendation from a forum member to use an external tool for LaTeX typesetting practice, along with mixed experiences regarding its effectiveness.
  • Participants discuss technical details, such as the necessity of enabling "math mode" for certain LaTeX converters to function properly.

Areas of Agreement / Disagreement

Participants generally agree on the existence of LaTeX rendering issues and the need for a space to practice. However, there are multiple views on how best to address these issues, including the use of existing threads and external tools, indicating that the discussion remains unresolved.

Contextual Notes

Some participants mention specific LaTeX code that has not rendered correctly, highlighting potential limitations in the forum's LaTeX support. There are also references to external resources that may not work for everyone, suggesting variability in user experiences.

OlderDan
Science Advisor
Homework Helper
Messages
3,009
Reaction score
2
I guess I'd better leave one message here so I don't keep creating new threads. I can't see any LaTeX in preview mode, so I need a place to actually post a message to see if the code is good. I will add and delete messages to this thread for that purpose.
 
Physics news on Phys.org
OlderDan said:
I guess I'd better leave one message here so I don't keep creating new threads. I can't see any LaTeX in preview mode, so I need a place to actually post a message to see if the code is good.
You're not alone. There's been that LaTeX problem here for a few months now...speaking of which: long time, no see! Welcome back.
 
Gokul43201 said:
You're not alone. There's been that LaTeX problem here for a few months now...speaking of which: long time, no see! Welcome back.
Thanks. I got real busy there for some time. I may be here in spurts. Don't know for sure.

Now I can't even get the thing to display when I post the message grrrrrrrrrrrr!
 
Adding a title

Why not just leave the final equations here, as examples for other people to learn from? At least if you're testing some new technique; you can add a title or note describing it, if you get it to work.

Or can you add a title to a previously-posted message? Let's see... Aha, you can, if you "Go Advanced" when editing.
 
Last edited:
jtbell said:
Why not just leave the final equations here, as examples for other people to learn from? At least if you're testing some new technique; you can add a title or note describing it, if you get it to work.

Or can you add a title to a previously-posted message? Let's see... Aha, you can, if you "Go Advanced" when editing.
I could do that. The ones that have worked have been posted in context. The stuff I was doing here was just checking the LaTeX, so it had no discussion to go with it.

Here's the one I was working on last night that I could not get to view even here. Let's see if it works

[tex] c \tau ' = \sqrt {l^2 \sin ^2 \theta + \left( {\frac{{l\cos \theta }}{\gamma } - v\tau '} \right)^2 }[/tex]

[tex] c^2 \tau '^2 = l^2 \left( {1 - \cos ^2 \theta } \right) + \frac{{l^2 \cos ^2 \theta }}{{\gamma ^2 }} - 2\frac{{l\cos \theta }}{\gamma }v\tau ' + v^2 \tau '^2[/tex]

[tex] c^2 \tau '^2 = l^2 \left( {1 - \cos ^2 \theta + \frac{{\cos ^2 \theta }}{{\gamma ^2 }}} \right) - 2\frac{{l\cos \theta }}{\gamma }v\tau ' + v^2 \tau '^2[/tex]

[tex] 0 = \left( {c^2 - v^2 } \right)\tau '^2 + 2\frac{{l\cos \theta }}{\gamma }v\tau ' - l^2 \left( {1 - \cos ^2 \theta \left( {1 - \frac{1}{{\gamma ^2 }}} \right)} \right)[/tex]

[tex] 0 = \left( {1 - \beta ^2 } \right)c^2 \tau '^2 + 2\frac{{l\cos \theta }}{\gamma }\beta c\tau ' - l^2 \left( {1 - \beta ^2 \cos ^2 \theta } \right)[/tex]

[tex] 0 = \frac{{c^2 \tau '^2 }}{{\gamma ^2 }} + 2l\beta \cos \theta \frac{{c\tau '}}{\gamma } - l^2 \left( {1 - \beta ^2 \cos ^2 \theta } \right)[/tex]

[tex] \frac{{c\tau '}}{\gamma } = \frac{{ - 2l\beta \cos \theta \pm \sqrt {\left( {2l\beta \cos \theta } \right)^2 + 4l^2 \left( {1 - \beta ^2 \cos ^2 \theta } \right)} }}{2}[/tex]

[tex] \frac{{c\tau '}}{\gamma } = - l\beta \cos \theta \pm l\sqrt {\beta ^2 \cos ^2 \theta + 1 - \beta ^2 \cos ^2 \theta }[/tex]

[tex] \frac{{c\tau '}}{\gamma } = - l\beta \cos \theta \pm l = l - l\beta \cos \theta = l\left( {1 - \beta \cos \theta } \right)[/tex]

[tex] \tau ' = \left( {1 - \beta \cos \theta } \right)\gamma \frac{l}{c}[/tex]

OK I think I can make this work now.
 
Last edited:
[tex]\ddot{\psi} + \omega_0 ^2 \psi = 0[/tex]
 
Last edited:
kcirick said:
Well, the question says specifically to use the Lagrange Equation. My problem is I don't know what to integrate and what I'm integrating over. Also, I'm assuming I have to use either one of these relations:

[tex]\Gamma\left(p\right)=\int^{\infty}_{0}x^{p-1}e^{-x}dx[/tex]

or

[tex]\Gamma\left(p+1\right) = p\Gamma\left(p\right)[/tex]
I think there is another form that will help you. See

http://mathworld.wolfram.com/GammaFunction.html

equation (5)

or

http://numbers.computation.free.fr/Constants/Miscellaneous/gammaFunction.html

equation (1)

Your equation

[tex]\frac{d}{dt}m\dot{x}=-\frac{m}{2x}[/tex]

can be integrated by separating variables

[tex]\frac{dv}{dt}=-\frac{1}{2x}[/tex]

[tex]\frac{dv}{dx}\frac{dx}{dt}=v\frac{dv}{dx}=-\frac{1}{2x}[/tex]

[tex]vdv =-\frac{dx}{2x}[/tex]

[itex]\Gamma\left(\frac{1}{2}\right)[/itex]
 
Last edited:
[tex]ma = \frac{m}{L}g\left[ {y - \left( {L - y} \right)} \right] = mg\left( {\frac{{2y - L}}{L}} \right)[/tex]

[tex]a = g\left( {\frac{{2y - L}}{L}} \right)[/tex]

[tex]v\frac{{dv}}{{dy}} = g\left( {\frac{{2y - L}}{L}} \right)[/tex]

[tex]vdv = g\left( {\frac{{2y}}{L} - 1} \right)dy[/tex]

[tex]\frac{{v^2 }}{2} = g\left( {\frac{{y^2 }}{L} - y} \right) + C[/tex]

[tex]C = g\left( {y_o - \frac{{y_o ^2 }}{L}} \right)[/tex] where [itex]v[/itex] is zero at [itex]y_o[/itex]

[tex]v^2 = 2g\left( {\frac{{y^2 }}{L} - y + y_o - \frac{{y_o ^2 }}{L}} \right)[/tex] for any [itex]y[/itex] starting from rest at [itex]y_o[/itex]

[tex]v^2 = 2g\left( {\frac{{y^2 }}{L} - y + \frac{L}{4}} \right)[/tex] if [itex]y_o = \frac{L}{2}[/itex]

[tex]v_L ^2 = 2g\left( {y_o - \frac{{y_o ^2 }}{L}} \right) = 2gy_o \left( {1 - \frac{{y_o }}{L}} \right)[/tex] when [itex]y = L[/itex]

[tex]v_{\max } ^2 = g\frac{L}{2}[/tex] when [itex]y_o = \frac{L}{2}[/itex] and [itex]y = L[/itex]
 
Last edited:
  • #10
Doc Al said:
You guys realize that we have an existing thread dedicated to practicing Latex? https://www.physicsforums.com/showthread.php?t=8997"

Yes, welcome back OlderDan!
I didn't realize that other area was available for this sort of thing. I can do things over there if that is preferred.
 
Last edited by a moderator:
  • #11
Greg has since, locked the LaTeX typesetting thread. It was recommended in the thread, to delete our work after getting our LaTeX formatted. But a lot of folks left their work posted. Actually after seeing some of the more exotic (1, 2, and 3 ) LaTeX posts, I am glad those were left. Greg recommends using this http://at.org/~cola/tex2img/index.php from now on, to practise typesetting.
 
Last edited by a moderator:
  • #12
Ouabache said:
Greg has since, locked the LaTeX typesetting thread. It was recommended in the thread, to delete our work after getting our LaTeX formatted. But a lot of folks left their work posted. Actually after seeing some of the more exotic (1, 2, and 3 ) LaTeX posts, I am glad those were left. Greg recommends using this http://at.org/~cola/tex2img/index.php from now on, to practise typesetting.

Hmmm. The converter didn't work for me. Gave me an error for this:

[tex]\gamma^2 = \pi R^2 \Xi[/tex]
 
Last edited by a moderator:
  • #13
berkeman said:
Hmmm. The converter didn't work for me. Gave me an error for this:

[tex]\gamma^2 = \pi R^2 \Xi[/tex]

Did you tick the "math mode" box at the bottom left? It didn't work for me until i noticed that!
 
  • #14
cristo said:
Did you tick the "math mode" box at the bottom left? It didn't work for me until i noticed that!

Hah! That fixed it. Thanks cristo!

[tex]\gamma^2 = \pi R^2 \Xi[/tex]
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K