Question About Latex

  • LaTeX
  • Thread starter basty
  • Start date
  • #1
95
0
How do you write on latex like this

##A = (1+2) * (4+7) * (2+9)##
##= 3 * 11 * 11##
##= 363##

Instead of this?

##A = (1+2) * (4+7) * (2+9)
= 3 * 11 * 11
= 363##

How do you align at = in Latex?

I would like to use Latex which is used in physicsforums in my PC. Please send me the download link.

Thank you
 

Answers and Replies

  • #2
Simon Bridge
Science Advisor
Homework Helper
17,857
1,655
The double backslash gets you a newline, and you can align equations using the "align" environment.
A multiplication sign is \times.
You can also size the parentheses.

What you asked for:
$$A=(1+2)(4+7)(2+9) \\=3\times 11\times 11 \\= 363$$


Using the align environment and sizing the parentheses:
$$\begin{align} A &=\big(1+2\big)\big(4+7\big)\big(2+9\big) \\ &=3\times 11\times 11 \\ &= 363 \end{align}$$

If you are going to be using LaTeX more (recommended) then you'll need a decent guidebook:
https://tobi.oetiker.ch/lshort/lshort.pdf < this is what I use
http://latex.wikia.com/wiki/Main_Page < wiki format
 
  • #3
177
61
For LaTeX on PC, the standard and probably easiest way to go is Miktex It contains the latex engine, simple editor and previewer.
 
  • #4
Simon Bridge
Science Advisor
Homework Helper
17,857
1,655
Oh yeah...
http://latex-project.org/ftp.html
... see the latex project for more.

There's also a short intro on the help page...
https://www.physicsforums.com/help/

LaTeX is a complete document typesetting system, not just for typesetting maths.
Using it in place of the built-in equation editor in a wysiwig editor like word is a bit more involved.

I use commandline with TexLive myself... but then it comes with the os.
 
Last edited:

Related Threads on Question About Latex

  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
7
Views
2K
  • Last Post
Replies
4
Views
2K
Replies
3
Views
1K
Replies
3
Views
1K
  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
10
Views
3K
Replies
5
Views
2K
  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
4
Views
12K
Top