# Help using LaTex

Can anyone give me the proper syntax of indenting expressions within fractions using \frac operator ?(with a short example, if possible) It's urgent......Really need it...

Note by Nishant Sharma
5 years ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$

Sort by:

The syntax for $$\frac{1}{2}$$ will be \frac{1}{2}

- 5 years ago

That's fine. But what I want to know is how to indent polynomial expressions using \frac such as that for (x^4 + 1/(x^4))^2 and so on ?

- 5 years ago

Did you mean this?

$$(\frac{x^4 + 1}{(x^4)})^2$$

You just need to play safe with the parentheses and the curly brackets.

(\frac{x^4 + 1}{(x^4)})^2

- 5 years ago

No the $$x^4$$ in the bottom will come rather under 1. BTW, does that really work ? I'm saying this because each time I don't give ) after any expression the preview does not show up correctly.

- 5 years ago

$$(x^4+\frac{1}{x^4})^2$$

(x^4+\frac{1}{x^4})^2

What I have understood is that you are unable to see the correct preview as you are not correctly using the brackets?

You need to put your math in the the parentheses altogether to be able to see it in latex.

- 5 years ago

Got your point. But still, I don't know why I can't indent expressions correctly. Maybe, my programming skills are weak. Anyways, thanks for the kind help shown by you.

- 5 years ago

A better practice would be the following:

$$\left( x^4 + \frac{1}{x^4} \right) ^2$$

\left( x^4 + \frac{1}{x^4} \right) ^2

- 5 years ago

×