Is LaTeX only used for typesetting math equations?

  • LaTeX
  • Thread starter basty
  • Start date
  • Tags
    Latex
In summary, the conversation discusses writing equations in LaTeX and aligning them using the "align" environment. The conversation also mentions the use of parentheses and multiplication signs in LaTeX. Download links and guides for using LaTeX on a PC are also mentioned. It is noted that LaTeX is a complete document typesetting system and may be more involved to use in place of a built-in equation editor in a wysiwyg editor.
  • #1
basty
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
 
Physics news on Phys.org
  • #2
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
For LaTeX on PC, the standard and probably easiest way to go is Miktex It contains the latex engine, simple editor and previewer.
 
  • #4
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:

What is Latex?

Latex is a document preparation system used for creating scientific and technical documents. It is based on the TeX typesetting language and is commonly used in fields such as mathematics, computer science, and engineering.

What are the benefits of using Latex?

Latex offers a high-quality typesetting system that produces professional-looking documents with consistent formatting. It also has features such as automatic numbering, cross-referencing, and bibliography management that make it ideal for large and complex documents.

Do I need coding experience to use Latex?

While a basic understanding of coding can be helpful, it is not necessary to use Latex. The document preparation system uses simple commands and syntax that can be learned easily with online resources or tutorials.

Can Latex be used for collaborative writing?

Yes, Latex allows for multiple authors to work on a document simultaneously. It also has features for tracking changes and reviewing edits, making it ideal for collaborative writing projects.

Is Latex free to use?

Yes, Latex is open-source and can be downloaded and used for free. It is available for various operating systems and there are also online editors that can be used without installing any software.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
12
Views
797
  • MATLAB, Maple, Mathematica, LaTeX
Replies
11
Views
261
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
352
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
551
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
910
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
11
Views
2K
Back
Top