Is LaTeX only used for typesetting math equations?

  • Context: LaTeX 
  • Thread starter Thread starter basty
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion revolves around the use of LaTeX for typesetting mathematical equations and its broader applications. Participants explore how to format equations correctly in LaTeX and share resources for using LaTeX on personal computers.

Discussion Character

  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant inquires about aligning equations at the equals sign in LaTeX and expresses a desire to use LaTeX on their PC.
  • Another participant explains that the double backslash creates a newline and introduces the "align" environment for aligning equations, providing an example of formatted equations.
  • A suggestion is made to use MikTeX as a standard way to install LaTeX on a PC, highlighting its inclusion of a LaTeX engine and editor.
  • Additional resources are shared, including links to the LaTeX project and a guidebook for learning LaTeX.
  • It is noted that LaTeX is a complete document typesetting system, not limited to mathematical typesetting, and using it can be more complex than using built-in editors in word processors.

Areas of Agreement / Disagreement

Participants generally agree on the capabilities of LaTeX beyond just typesetting math, but there is no consensus on the best tools or methods for installation and usage, as different participants mention various software options.

Contextual Notes

Some limitations include the assumption that users are familiar with basic LaTeX commands and the varying preferences for LaTeX distributions and editors.

basty
Messages
94
Reaction score
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
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
 
For LaTeX on PC, the standard and probably easiest way to go is Miktex It contains the latex engine, simple editor and previewer.
 
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:

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
8K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K