dxnixl
Badges: 17
Rep:
?
#1
Report Thread starter 9 months ago
#1
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 [latex] to start the code? lmao help
0
reply
NotNotBatman
Badges: 20
Rep:
?
#2
Report 9 months ago
#2
[ Tex] and finish with [ / tex] but without the spaces in the brackets will generate LaTeX code.

 \text{This is an example}
0
reply
Gregorius
Badges: 14
Rep:
?
#3
Report 9 months ago
#3
(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 [latex] to start the code? lmao help
https://www.thestudentroom.co.uk/help/latex
0
reply
dxnixl
Badges: 17
Rep:
?
#4
Report Thread starter 9 months ago
#4
 x^{2} = 25
0
reply
dxnixl
Badges: 17
Rep:
?
#5
Report Thread starter 9 months ago
#5
(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 = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
Last edited by dxnixl; 9 months ago
1
reply
ghostwalker
  • Study Helper
Badges: 17
#6
Report 9 months ago
#6
(Original post by dxnixl)
Thankyou guys!

x = \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.
0
reply
Sir Cumference
  • Study Helper
Badges: 20
Rep:
?
#7
Report 9 months ago
#7
(Original post by dxnixl)
Thankyou guys!

x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
I'd recommend
Code:
\displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
to make it look a bit nicer
0
reply
dxnixl
Badges: 17
Rep:
?
#8
Report Thread starter 9 months ago
#8
(Original post by Sir Cumference)
I'd recommend
Code:
\displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
to make it look a bit nicer
 \displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}


OOoOoOoOh fAnCy 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!
0
reply
NotNotBatman
Badges: 20
Rep:
?
#9
Report 9 months ago
#9
(Original post by Sir Cumference)
I'd recommend
Code:
\displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
to make it look a bit nicer
(Original post by dxnixl)
 \displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}


OOoOoOoOh fAnCy tysm


Will remember that - thanks!
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.
0
reply
dxnixl
Badges: 17
Rep:
?
#10
Report Thread starter 9 months ago
#10
(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...

 \dfrac{5}{4}x

OoOooOh ty! This is fun lmao
0
reply
dxnixl
Badges: 17
Rep:
?
#11
Report Thread starter 9 months ago
#11
Hmmm... let’s try getting more complicated...

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

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

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

 \displaystyle{{\mathfrak{this\, is\, awesome \, lmao}}}
0
reply
ghostwalker
  • Study Helper
Badges: 17
#12
Report 9 months ago
#12
(Original post by dxnixl)
 \displaystyle{ [ \frac{x^{4}}{4} + x^{3} + x^{2} + x ]}_{5}^{1}
FTFY

 \displaystyle{ \left[ \frac{x^{4}}{4} + x^{3} + x^{2} + x\right]}_{5}^{1}
0
reply
dxnixl
Badges: 17
Rep:
?
#13
Report Thread starter 9 months ago
#13
(Original post by ghostwalker)
FTFY

 \displaystyle{ \left[ \frac{x^{4}}{4} + x^{3} + x^{2} + x\right]}_{5}^{1}
Yep looks way better XD - thanks
0
reply
Prestige121
Badges: 6
Rep:
?
#14
Report 5 months ago
#14
(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 [latex] 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 ******’.
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

Current uni students - are you thinking of dropping out of university?

Yes, I'm seriously considering dropping out (92)
13.86%
I'm not sure (31)
4.67%
No, I'm going to stick it out for now (213)
32.08%
I have already dropped out (15)
2.26%
I'm not a current university student (313)
47.14%

Watched Threads

View All