×

# 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
4 years, 1 month ago

Sort by:

The syntax for $$\frac{1}{2}$$ will be \frac{1}{2} · 4 years, 1 month 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 ? · 4 years, 1 month 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 · 4 years, 1 month 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. · 4 years, 1 month 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. · 4 years, 1 month 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. · 4 years, 1 month 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 · 4 years, 1 month ago