The Student Room Group

How to write strings in LaTex?

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?
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 [noparse][/noparse] tags around it.
Original post by Illusionary
Just tpe out the LaTeX string that you're intending to post and then put [noparse][/noparse] tags around it.


Ohh, I meant how to write sentences eg hellothere hello there


Posted from TSR Mobile
Original post by lllllllllll
Ohh, I meant how to write sentences eg hellothere hello there


Posted from TSR Mobile


put a \ between each word so it will be like this:
hello there hello\ there
Original post by Slowbro93
put a \ between each word so it will be like this:
hello there hello\ there


hello worldhello \ world

helloworldhello \\ world

Thanks :biggrin:
Original post by lllllllllll
hello worldhello \ world
helloworldhello \\ world
Thanks :biggrin:

Unparseable latex formula:

\mathfrak{ hello}}



Why do colours not work though?
Like {\color{Red} hello} should give something like hello, but instead we get hello{\color{Red} hello}. :frown:
(edited 8 years ago)
Original post by rayquaza17
Unparseable latex formula:

\mathfrak{ hello}}


Show off :tongue:
Original post by Slowbro93
Show off :tongue:

Just using my goto website: http://www.codecogs.com/latex/eqneditor.php :wink:

Quick Reply

Latest

Trending

Trending