# How to write strings in LaTex?Watch

#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
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  tags around it.
0
#3
(Original post by Illusionary)
Just tpe out the LaTeX string that you're intending to post and then put  tags around it.
Ohh, I meant how to write sentences eg

Posted from TSR Mobile
0
3 years ago
#4
(Original post by lllllllllll)
Ohh, I meant how to write sentences eg

Posted from TSR Mobile
put a \ between each word so it will be like this:
1
#5
(Original post by Slowbro93)
put a \ between each word so it will be like this:

Thanks
0
3 years ago
#6
(Original post by lllllllllll)

Thanks

Why do colours not work though?
Like {\color{Red} hello} should give something like hello, but instead we get .
0
3 years ago
#7
(Original post by rayquaza17)
Show off
1
3 years ago
#8
(Original post by Slowbro93)
Show off
Just using my goto website: http://www.codecogs.com/latex/eqneditor.php
0
X

new posts
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

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

### Poll

Join the discussion

#### 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%