Introducing LaTeX Math Typesetting

by chroot
Tags: introducing, latex, math, typesetting
 P: 837 Better: $$\Gamma^l_{ki} = \frac{1}{2} g^{lj} (\partial_k g_{ij} + \partial_i g_{jk} - \partial_j g_{ki})$$ Italicizing subscripts is unnecessary when those subscripts are variables and such; on the other hand, if they're words, you want to switch to text formatting instead of equation formatting. Examples of subscripting/superscripting: Good: $$x_i$$ $$G_{ij}$$ Bad: $$G_{diffeo}$$ Good: $$G_\textit{diffeo}$$ $$G_\textrm{diffeo}$$ Bad: $$R^a_{bcd}$$ Good: $$R^a{}_{bcd}$$ Okay: $$x_i^2$$ Maybe better: $${x_i}^2$$
P: 837

Introducing LaTeX Math Typesetting

$$\def\pds{\kern+0.1em /\kern-0.55em \partial} \def\lts#1{\kern+0.1em /\kern-0.65em #1} {\cal L}_R = \sum_{i=1}^G \bar{E}^i_R(i\pds - g_1Y_E \lts{B})E^i_R + \bar{D}^i_R(i\lts{D} - g_1Y_D \lts{B})D^i_R + \bar{U}^i_R(i\lts{D} - g_1Y_U \lts{B})U^i_R)$$

There's actually a whole 'slashed' package for this...
 PF Patron Sci Advisor Emeritus P: 10,400 Feel free to propose a list of packages to be included here. I don't want to include tooooo many, for fear of slowing down image generation unnecessarily. On the other hand, I may eventually make the tag [ tex usepackage=apackage,anotherpackage ] [ /tex ] or similar. - Warren
 Sci Advisor P: 902 Lemme try. $$H_1 = - {\sin \phi - \sin \phi_{\rm s}\over \beta c} \, \sum_{j} e V_j \delta (\theta -\theta_j) \left(D\,{p_x\over p_0} - D'x \right)$$ Way cool. Say, can I use this (write a tex in physicsforums, preview it, save the resulting png, ...) to generate png's for my own web pages?
PF Patron
Emeritus
P: 10,400
 Originally posted by krab Way cool. Say, can I use this (write a tex in physicsforums, preview it, save the resulting png, ...) to generate png's for my own web pages?
You can, but try not to bog the server down too much. If you'd like to see the source code for the conversion process so you can run it on your own machine, pm me.

- Warren
P: 8,341
 Originally posted by krab Say, can I use this (write a tex in physicsforums, preview it, save the resulting png, ...) to generate png's for my own web pages? [/B]
I don't wish to burst your bubble krab, but please don't do this. The LaTeX generator was made for use strictly on PF. The resources needed to make these graphics can be relatively demanding.
P: 837
 Originally posted by krab Way cool. Say, can I use this (write a tex in physicsforums, preview it, save the resulting png, ...) to generate png's for my own web pages?

http://latex2rtf.sourceforge.net/
http://www.fourmilab.ch/webtools/textogif/textogif.html

or make them online:

http://www.equationsheet.com/entertex.php

 PF Patron Sci Advisor P: 2,188 Brilliant! now excuse me while I just get a little practice $$e^+e^-\rightarrow u \bar{u}$$ $$e^+e^-\rightarrow \mu^+\mu^-$$ $$e^+e^-\rightarrow \gamma\gamma$$ $$i\hbar\frac{\partial\Psi}{\partial t} = \frac{\hbar^2}{2m}\frac{\partial^2\Psi}{\partial x^2} + V\Psi$$
 PF Patron Sci Advisor Emeritus P: 16,094 Here's a question: I know how to write: $$\lim_{x\rightarrow 0} f(x)$$ But how do I get two levels of subscripting here? For instance, if I want to write $$\lim_{x\rightarrow 0,~y \rightarrow 0} f(x, y)$$ but have a two-line subscript instead of a long one-line subscript?
 P: 837 $$\lim_{\substack{x\rightarrow 0\\y\rightarrow 0}} f(x,y)$$
 P: 215 in fct it seems to complicate for me ..are there equation editors for latex?..i mean programs to write math simbols without knowing nothing of latex and a button to write integrals and limits
 PF Patron Sci Advisor P: 2,188 It's actually quite simple, I've never used it before, but reading through the tutorial it only took me a couple of minutes to work out how to write the simple equations above. Just try messing around with it to get a little practice. Quote the integral below to see the code for it: $$\int_{0}^{1} \frac{x}{\sqrt{a^2 + x^2}} dx = \left[ \sqrt{a^2 + x^2} \right]_{0}^{1}$$
PF Patron