Introducing LaTeX Math Typesetting

Click For Summary

Discussion Overview

The discussion centers around the introduction of LaTeX mathematical typesetting on Physics Forums, focusing on its implementation, usage, and examples. Participants explore how to effectively use LaTeX for mathematical expressions and share examples of LaTeX code.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • Warren introduces LaTeX typesetting, explaining its markup style and how to include LaTeX graphics in posts.
  • Some participants share additional examples of LaTeX code, demonstrating various mathematical expressions.
  • Warren invites suggestions for LaTeX packages to include, expressing concern about performance impacts from too many packages.
  • One participant inquires about using the LaTeX generator for personal web pages, prompting a discussion about server load and intended use.
  • Another participant expresses enthusiasm for practicing LaTeX by writing equations related to particle interactions.
  • A question arises about formatting subscripts in LaTeX, specifically how to create multi-line subscripts.
  • Participants provide tips on learning LaTeX, including quoting existing code to see how it is written and encouraging practice.
  • Warren reminds participants that clicking on LaTeX images reveals the source code, which can aid in learning.

Areas of Agreement / Disagreement

Participants generally agree on the usefulness of LaTeX for typesetting mathematics, but there are differing views on its application for personal use outside the forum, with some cautioning against it due to resource concerns.

Contextual Notes

Some participants express uncertainty about specific LaTeX formatting techniques and the potential performance implications of adding more packages to the forum's LaTeX capabilities.

  • #211
picture example

<br /> \begin{picture}(100,100)(0,0)<br /> \put(0,0){\circle{3}}<br /> \put(0,0){\line(1,0){100}}<br /> \put(0,0){\line(0,1){100}}<br /> \put(100,100){\circle{3}}<br /> \put(50,10){\circle{3}}<br /> \put(55,15){{\bf test} label}<br /> \end{picture}<br />

<br /> \begin{picture}(200,200)(0,0)<br /> \multiput(0,0)(50,0){5}{\line(0,1){200}}\multiput(0,0)(0,50){5}{\line(1,0){200}}<br /> \end{picture}<br />

<br /> \begin{picture}(200,200)(0,0)<br /> \multiput(0,0)(40,10){5}{\line(1,4){40}}\multiput(0,0)(10,40){5}{\line(4,1){160}}<br /> \end{picture}<br />
 
Last edited:
Physics news on Phys.org
  • #212
\left[x^2 -5x -6\right]_{0}^{1}

---------
 
Last edited:
  • #213
I have not read the whole thread ( I apologize) and I am totally new to Latex.
Typing the latex and memorizing the language sounds like a lot of work. I wonder if there is any shareware or freeware program with which I can write the equations by drag and drop and have the program write the latex for me.
I'll appreciate your help.
--Alex--
 
  • #214
It's not really a whole lot of work. Start small and learn as you go. There are really only a handful of structures you need to know in order to get started. Learn by example: you can click on any equation posted in any thread and see what the person typed to create that image.
 
  • #215
alexepascual said:
I have not read the whole thread ( I apologize) and I am totally new to Latex.
Typing the latex and memorizing the language sounds like a lot of work. I wonder if there is any shareware or freeware program with which I can write the equations by drag and drop and have the program write the latex for me.
I'll appreciate your help.
--Alex--
Another option I think may be the Equation Object included in WinWord which can also be somewhat similar help for you...(smiling)
 
  • #216
Last edited by a moderator:
  • #217
Thanks guys for your information,
MathType sounds interesting. But as it costs $119, I downloaded TeXaid (form the same company). I'll explore the other products when I have the time.
I am a little confused by the statement on some of these products that they are not a LaTex system. It appears that you need two pieces of software that will work in conjucntion but I still don't understand what each one does.
I think TexAid should allow me to produce LaTex code to paste into the forum.
When I register for classes in fall, I'll buy Mathematica at academic price.
Thanks again,
--Alex--
 
  • #218
Before buying Mathematica, ask in your University about it. Many universities have campus-wide licenses that allow students to use Mathematica from the University's network, and it is often the case that such benefits are not "common knowledge" among students.
 
  • #219
Greek letters

garamond ( greek)undefinedundefined

This is just a trial Ραυ , αβψδεφγηιξκλμνοπ;ρστθωςχυζ

Ραυξοην01
 
  • #220
Thanks for your information ahrkron.
 
  • #221
[text]
\int_{2}^{3} \frac{\arctan}{\sqrt{a^2 + x^2}}dx
[/text]
 
Last edited:
  • #222
why the hell won't it work?
 
  • #223
...
 
  • #224
<br /> \int_{2}^{3} \frac{\arctan}{\sqrt{a^2 + x^2}}dx<br />...lol...Thanks jcsd...that was a really dumb mistake :smile:
 
Last edited:
  • #225
You need to produce your equation you need to write:

\int_{2}^{3} \frac{\arctan}{\sqrt{a^2 + x^2}}dx<br />
 
  • #226
yeah i got it...thanks a million...that was going to drive me crazy :smile: :smile: :smile: :smile:
 
  • #227
<br /> \lim_{x\rightarrow \0} \sumf(x)\Delta = \int_{a}^{b}f(x) dx<br />
 
Last edited:
  • #228
Does anyone know how I can get this to work locally with windows. I downloaded a couple of programs and I didn't really get any of them to actually show the fomulas.

<br /> \int_{0}^{h} \frac{1}{2\sqrt{hx}} dx = <br /> \frac{1}{2\sqrt{h}}(2x^\frac{1}{2}) \vert_{0}^{h} = 1
 
Last edited:
  • #229
You'll need a LaTeX distribution (for example, www.miktex.org).
Basically, you take the latex file (file.tex) and run latex on it.
You get file.dvi, which can be viewed in a dvi viewer (called yap in miktex).
 
  • #230
integral as an exponent

Hi, I am trying to use latex to display a math problem but I am having a little trouble getting started, and the function I want to display is a little bit weird.

I(x) = e^ (the integral of -tan x dx)

I am not even sure it can display an integral as an exponent, but I seem to be having plenty of trouble just getting it to display e!

Thanks in advance for your help! :smile:
 
  • #231
Math Is Hard said:
Hi, I am trying to use latex to display a math problem but I am having a little trouble getting started, and the function I want to display is a little bit weird.

I(x) = e^ (the integral of -tan x dx)

I am not even sure it can display an integral as an exponent, but I seem to be having plenty of trouble just getting it to display e!

Thanks in advance for your help! :smile:

I(x)=e^{-\int tanx\:dx}
 
  • #232
woo hoo! muchas gracias, master coda!
 
  • #233
Or even better, use \tan to make the tangent function to appear in upright letters:

e^{- \int \tan x \, dx}
 
  • #234
I knew it didn't quite look right. And I was looking so smart, too. :-p
 
  • #235
They both look lovely. And it helped me get my math question answered. Thanks!
 
  • #236
This is a test. I am pasting LaTex code from TexAide. Let's see if it works.
% MathType!MTEF!2!1!+-
% feqaeaartrvr0aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaebbnrfifHhDYfgasaacH8srps0l
% bbf9q8WrFfeuY-Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0-yr0R
% Yxir-Jbba9q8aq0-yq-He9q8qqQ8frFve9Fve9Ff0dmeaabaqaciGa
% caGaaeqabaaaamaaaOqaamaaEmaabaGaeqOXdygabaGaeuiQdKfaca
% GLPmIaay5bSlaawQYiaiabg2da9maapeaabaGaeqOXdy2aaWbaaSqa
% beaacqGHxiIkaaaabeqab0Gaey4kIipakmaabmaabaGaamiEaaGaay
% jkaiaawMcaaiabeI8a5naabmaabaGaamiEaaGaayjkaiaawMcaaiaa
% dsgacaWG4baaaa!46FB!
<br /> \left\langle {\phi }<br /> \mathrel{\left | {\vphantom {\phi \Psi }}<br /> \right. \kern-\nulldelimiterspace}<br /> {\Psi } \right\rangle = \int {\phi ^ * } \left( x \right)\psi \left( x \right)dx<br /> [\latex]
 
  • #237
OK, It didn't work.
I believe the text with percent signs at the beginning should be comments. I hope that is not interfeering.
But I do have the Latex code enclosed in the Latex delimiters. So, what's wrong?
I'll appreciate your help.
I'll next post just the LaTex part (to reduce the number of variables) and see what happens.
 
Last edited:
  • #238
Second trial:
<br /> \left\langle {\phi }<br /> \mathrel{\left | {\vphantom {\phi \Psi }}<br /> \right. \kern-\nulldelimiterspace}<br /> {\Psi } \right\rangle = \int {\phi ^ * } \left( x \right)\psi \left( x \right)dx<br /> [\latex]<br /> <br /> \alpha[\tex]&lt;br /&gt; x^2\sqrt{x}[\tex]
 
Last edited:
  • #239
Alex,

The tags are [ tex ] and [ /tex ], not [ tex ] and [ \tex ]. Forward slash, not backslash.

- Warren
 
  • #240
Thanks, Warren
Let's see:
<br /> \left\langle {\phi }<br /> \mathrel{\left | {\vphantom {\phi \Psi }}<br /> \right. \kern-\nulldelimiterspace}<br /> {\Psi } \right\rangle = \int {\phi ^ * } \left( x \right)\psi \left( x \right)dx<br />
Great!
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K