How to write strings in LaTex? Watch

lllllllllll
Badges: 13
Rep:
?
#1
Report Thread starter 3 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 3 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 3 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
  • PS Reviewer
Badges: 20
Rep:
?
#4
Report 3 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 3 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 3 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
  • PS Reviewer
Badges: 20
Rep:
?
#7
Report 3 years ago
#7
(Original post by rayquaza17)
\mathfrak{ hello}}
Show off
1
reply
rayquaza17
Badges: 17
Rep:
?
#8
Report 3 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
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

Do you give blood?

Yes (69)
8.14%
I used to but I don't now (23)
2.71%
No, but I want to start (313)
36.91%
No, I am unable to (212)
25%
No, I chose not to (231)
27.24%

Watched Threads

View All