[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 547: include_once(./includes/auth/auth_db.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 547: include_once(): Failed opening './includes/auth/auth_db.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
TEWLIP.COM • View topic - Using LaTeX

Using LaTeX

How to use LaTeX to write equations. Examples and help. Once you're logged in you can use this section of the forum to practice using LaTex (not moderated, but practice items cleared regularly)

Using LaTeX

Postby prodos » Sun May 03, 2009 11:02 am

Feel free to practice using LaTeX in this section of the TEWLIP forum.

For logged-in users, this section is not moderated, but it will get cleared regularly.

I'll be adding more information, but for now ....

If you already know LaTeX code, all you need to do is enclose it in "tex" tags:
Code: Select all
[tex] [/tex]


For instance, this:
Code: Select all
[tex] e=m c^2 [/tex]

... renders as this:
[tex]e=m c^2[/tex]

This:
Code: Select all
[tex]\sum_i \hat{\psi_i} cos(\alpha_i \pm \omega t)[/tex]

... renders as this:
[tex]\sum_i \hat{\psi_i} cos(\alpha_i \pm \omega t)[/tex]

To practice using LaTeX you can use these online LaTeX editors


[more soon]
User avatar
prodos
Site Admin
 
Posts: 17
Joined: Sat Mar 21, 2009 3:10 am

Re: Using LaTeX

Postby AlexL » Tue May 05, 2009 8:15 am

[tex]i\hbar\frac{\partial}{\partial t} \Psi(\texbf{r},\,t) = \hat H \Psi(\texbf{r},\,t)[/tex]

[tex]i\hbar\frac{\partial}{\partial t} \Psi(\texbf{r},\,t) = -\frac{\hbar^2}{2m}\nabla^2\Psi(\texbf{r},\,t) + V(\texbf{r})\Psi(\texbf{r},\,t)[/tex]

[tex]\Psi(\texbf{r},\,t)[/tex]

[tex]\Psi(\texbf{r_1,...,r_n},\,t)[/tex]

[tex]i\hbar\frac{\partial}{\partial t} \Psi(\texbf{r_1,r_2},\,t) = \hat H \Psi(\texbf{r_1,r_2},\,t)[/tex]

[tex]F^{\alpha\beta} = \left(
\begin{matrix}
0 & -E_x & -E_y & -E_z \\
E_x & 0 & -B_z & B_y \\
E_y & B_z & 0 & -B_x \\
E_z & -B_y & B_x & 0
\end{matrix}
\right).[/tex]

[tex]J^{\alpha} = \, (c \rho, \vec{J} )[/tex]
AlexL
 
Posts: 1
Joined: Thu Mar 26, 2009 9:09 am
Location: Fribourg, Switzerland

Re: Using LaTeX

Postby prodos » Sun May 10, 2009 6:06 am

Testing samples provided @ http://en.wikibooks.org/wiki/LaTeX/Creating_Graphics

This ...
Code: Select all
[tex]\setlength{\unitlength}{0.75mm}
\begin{picture}(60,40)
\put(30,20){\vector(1,0){30}}
\put(30,20){\vector(4,1){20}}
\put(30,20){\vector(3,1){25}}
\put(30,20){\vector(2,1){30}}
\put(30,20){\vector(1,2){10}}
\thicklines
\put(30,20){\vector(-4,1){30}}
\put(30,20){\vector(-1,4){5}}
\thinlines
\put(30,20){\vector(-1,-1){5}}
\put(30,20){\vector(-1,-4){5}}
\end{picture}[/tex]


Becomes ...
[tex]\setlength{\unitlength}{0.75mm}
\begin{picture}(60,40)
\put(30,20){\vector(1,0){30}}
\put(30,20){\vector(4,1){20}}
\put(30,20){\vector(3,1){25}}
\put(30,20){\vector(2,1){30}}
\put(30,20){\vector(1,2){10}}
\thicklines
\put(30,20){\vector(-4,1){30}}
\put(30,20){\vector(-1,4){5}}
\thinlines
\put(30,20){\vector(-1,-1){5}}
\put(30,20){\vector(-1,-4){5}}
\end{picture}[/tex]


This ....
Code: Select all
[tex]\setlength{\unitlength}{0.8cm}
\begin{picture}(6,4)(-3,-2)
\put(-2.5,0){\vector(1,0){5}}
\put(2.7,-0.1){$\chi$}
\put(0,-1.5){\vector(0,1){3}}
\multiput(-2.5,1)(0.4,0){13}
{\line(1,0){0.2}}
\multiput(-2.5,-1)(0.4,0){13}
{\line(1,0){0.2}}
\put(0.2,1.4)
{$\beta=v/c=\tanh\chi$}
\qbezier(0,0)(0.8853,0.8853)
(2,0.9640)
\qbezier(0,0)(-0.8853,-0.8853)
(-2,-0.9640)
\put(-3,-2){\circle*{0.2}}
\end{picture}[/tex]



Becomes ...
[tex]\setlength{\unitlength}{0.8cm}
\begin{picture}(6,4)(-3,-2)
\put(-2.5,0){\vector(1,0){5}}
\put(2.7,-0.1){$\chi$}
\put(0,-1.5){\vector(0,1){3}}
\multiput(-2.5,1)(0.4,0){13}
{\line(1,0){0.2}}
\multiput(-2.5,-1)(0.4,0){13}
{\line(1,0){0.2}}
\put(0.2,1.4)
{$\beta=v/c=\tanh\chi$}
\qbezier(0,0)(0.8853,0.8853)
(2,0.9640)
\qbezier(0,0)(-0.8853,-0.8853)
(-2,-0.9640)
\put(-3,-2){\circle*{0.2}}
\end{picture}[/tex]



This ...
Code: Select all
[tex]\setlength{\unitlength}{0.8cm}
\begin{picture}(6,4)
\linethickness{0.075mm}
\multiput(0,0)(1,0){7}
{\line(0,1){4}}
\multiput(0,0)(0,1){5}
{\line(1,0){6}}
\thicklines
\put(0.5,0.5){\line(1,5){0.5}}
\put(1,3){\line(4,1){2}}
\qbezier(0.5,0.5)(1,3)(3,3.5)
\thinlines
\put(2.5,2){\line(2,-1){3}}
\put(5.5,0.5){\line(-1,5){0.5}}
\linethickness{1mm}
\qbezier(2.5,2)(5.5,0.5)(5,3)
\thinlines
\qbezier(4,2)(4,3)(3,3)
\qbezier(3,3)(2,3)(2,2)
\qbezier(2,2)(2,1)(3,1)
\qbezier(3,1)(4,1)(4,2)
\end{picture}
[/tex]



Becomes ....
[tex]\setlength{\unitlength}{0.8cm}
\begin{picture}(6,4)
\linethickness{0.075mm}
\multiput(0,0)(1,0){7}
{\line(0,1){4}}
\multiput(0,0)(0,1){5}
{\line(1,0){6}}
\thicklines
\put(0.5,0.5){\line(1,5){0.5}}
\put(1,3){\line(4,1){2}}
\qbezier(0.5,0.5)(1,3)(3,3.5)
\thinlines
\put(2.5,2){\line(2,-1){3}}
\put(5.5,0.5){\line(-1,5){0.5}}
\linethickness{1mm}
\qbezier(2.5,2)(5.5,0.5)(5,3)
\thinlines
\qbezier(4,2)(4,3)(3,3)
\qbezier(3,3)(2,3)(2,2)
\qbezier(2,2)(2,1)(3,1)
\qbezier(3,1)(4,1)(4,2)
\end{picture}[/tex]
User avatar
prodos
Site Admin
 
Posts: 17
Joined: Sat Mar 21, 2009 3:10 am


Return to LaTeX equations

Who is online

Users browsing this forum: No registered users and 1 guest

cron