How to write strings in LaTex?

Watch
lllllllllll
Badges: 13
Rep:
?
#1
Report Thread starter 5 years ago
#1
Hey does anyone know if it's possible to write strings in LaTex on TSR? I looked it up online and it says I have to use \def\Comment1{Example} but when I applied it to TSR it didn't work.

Am I doing it wrong or is there just not a way to write strings using LaTex on TSR?
0
reply
Illusionary
Badges: 19
Rep:
?
#2
Report 5 years ago
#2
(Original post by lllllllllll)
Hey does anyone know if it's possible to write strings in LaTex on TSR? I looked it up online and it says I have to use \def\Comment1{Example} but when I applied it to TSR it didn't work.

Am I doing it wrong or is there just not a way to write strings using LaTex on TSR?
Just tpe out the LaTeX string that you're intending to post and then put [latex][/latex] tags around it.
0
reply
lllllllllll
Badges: 13
Rep:
?
#3
Report Thread starter 5 years ago
#3
(Original post by Illusionary)
Just tpe out the LaTeX string that you're intending to post and then put [latex][/latex] tags around it.
Ohh, I meant how to write sentences eg  hello there


Posted from TSR Mobile
0
reply
Slowbro93
Badges: 20
Rep:
?
#4
Report 5 years ago
#4
(Original post by lllllllllll)
Ohh, I meant how to write sentences eg  hello there


Posted from TSR Mobile
put a \ between each word so it will be like this:
 hello\ there
1
reply
lllllllllll
Badges: 13
Rep:
?
#5
Report Thread starter 5 years ago
#5
(Original post by Slowbro93)
put a \ between each word so it will be like this:
 hello\ there
hello \ world

hello \\ world

Thanks
0
reply
rayquaza17
Badges: 17
Rep:
?
#6
Report 5 years ago
#6
(Original post by lllllllllll)
hello \ world
hello \\ world
Thanks
\mathfrak{ hello}}

Why do colours not work though?
Like {\color{Red} hello} should give something like hello, but instead we get {\color{Red} hello}.
0
reply
Slowbro93
Badges: 20
Rep:
?
#7
Report 5 years ago
#7
(Original post by rayquaza17)
\mathfrak{ hello}}
Show off
1
reply
rayquaza17
Badges: 17
Rep:
?
#8
Report 5 years ago
#8
(Original post by Slowbro93)
Show off
Just using my goto website: http://www.codecogs.com/latex/eqneditor.php
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

How are you feeling ahead of results day?

Very Confident (2)
8.33%
Confident (6)
25%
Indifferent (1)
4.17%
Unsure (9)
37.5%
Worried (6)
25%

Watched Threads

View All
Latest
My Feed