The Student Room Group

how do you type in lAtEx

How would I begin typing in latex?

Could someone give me an example piece of code? I don't know how to start and end a latex statement. Do i type to start the code? lmao help
[ Tex] and finish with [ / tex] but without the spaces in the brackets will generate LaTeX code.

\text{This is an example}
Original post by dxnixl
How would I begin typing in latex?

Could someone give me an example piece of code? I don't know how to start and end a latex statement. Do i type to start the code? lmao help

https://www.thestudentroom.co.uk/help/latex
Reply 3
x2=25 x^{2} = 25
Reply 4


Original post by NotNotBatman
[ Tex] and finish with [ / tex] but without the spaces in the brackets will generate LaTeX code.

\text{This is an example}


Thankyou guys!

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
(edited 4 years ago)
Original post by dxnixl
Thankyou guys!

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}


And if you see a nice piece of LaTeXing you want to copy; rather than reinvent the wheel, just click on it and the source will come up in a small window - as least on TSR viewed with Firefox.
Reply 6
Original post by dxnixl
Thankyou guys!

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}

I'd recommend

\displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}

to make it look a bit nicer :smile:
Reply 7
Original post by Sir Cumference
I'd recommend

\displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}

to make it look a bit nicer :smile:

x=b±b24ac2a \displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}


OOoOoOoOh fAnCy :h: tysm

Original post by ghostwalker
And if you see a nice piece of LaTeXing you want to copy; rather than reinvent the wheel, just click on it and the source will come up in a small window - as least on TSR viewed with Firefox.

Will remember that - thanks! :smile:
Original post by Sir Cumference
I'd recommend

\displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}

to make it look a bit nicer :smile:


Original post by dxnixl
x=b±b24ac2a \displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}


OOoOoOoOh fAnCy :h: tysm


Will remember that - thanks! :smile:

some times you'll want to turn off displaystyle so for fractions an even quicker way rather than turning it off and on is to write \dfrac in place of \frac to get display style on the fraction only.
Reply 9
Original post by NotNotBatman
some times you'll want to turn off displaystyle so for fractions an even quicker way rather than turning it off and on is to write \dfrac in place of \frac to get display style on the fraction only.

Hmmm okay so...

54x \dfrac{5}{4}x

OoOooOh ty! This is fun lmao
Reply 10
Hmmm... let’s try getting more complicated...

51x3+3x2+2x+1dx \displaystyle \int_{5}^{1} x^{3} + 3x^{2} + 2x + 1 \,dx

[x44+x3+x2+x]51 \displaystyle{ [ \frac{x^{4}}{4} + x^{3} + x^{2} + x ]}_{5}^{1}

answer=308 \displaystyle{{\mathfrak{answer = 308}}}

thisisawesomelmao \displaystyle{{\mathfrak{this\, is\, awesome \, lmao}}}
Original post by dxnixl

[x44+x3+x2+x]51 \displaystyle{ [ \frac{x^{4}}{4} + x^{3} + x^{2} + x ]}_{5}^{1}



FTFY

[x44+x3+x2+x]51 \displaystyle{ \left[ \frac{x^{4}}{4} + x^{3} + x^{2} + x\right]}_{5}^{1}
Reply 12
Original post by ghostwalker
FTFY

[x44+x3+x2+x]51 \displaystyle{ \left[ \frac{x^{4}}{4} + x^{3} + x^{2} + x\right]}_{5}^{1}

Yep looks way better XD - thanks :smile:
Original post by dxnixl
How would I begin typing in latex?

Could someone give me an example piece of code? I don't know how to start and end a latex statement. Do i type to start the code? lmao help


I’m more worried by the fact you have no GCSES or A-levels...

Perhaps forget about the car thing... enrol at a local college to try getting a Maths/English GCSE and then go on to do a BTEC in a course you like / an apprenticeship- which should provide you with at least a decent future.

As for the cost, some colleges allow you to do GCSEs for free (if you haven’t got any) so I wouldn’t be too worried about that.

And stop spending hours watching videos on cars lmao. Get a few qualifications and build a future - even if you’re a ‘bus ******’.

Quick Reply

Latest