×

# 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
3 years, 4 months ago

Sort by:

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