LaTeX forum ⇒ Graphics, Figures & Tableshighlight and point variables in equation

Information and discussion about graphics, figures & tables in LaTeX documents.
Posts: 2
Joined: Fri Aug 10, 2018 6:38 am

highlight and point variables in equation

Postby Taha » Fri Aug 10, 2018 6:51 am

I dont know why sharelatex is automaticaaly highlighting the whole code as red ?? why ... thanks for any answer :)
Capture.JPG (61.69 KiB) Viewed 2491 times
latex pic.JPG
latex pic.JPG (18.63 KiB) Viewed 2493 times
latex code.txt
Latex code
(1.55 KiB) Downloaded 41 times
Last edited by Taha on Fri Aug 10, 2018 8:22 am, edited 1 time in total.


User avatar
Site Moderator
Posts: 4116
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Aug 10, 2018 7:31 am

Hi and welcome,

i am not sure what you mean. I don't see anything red in your image?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Posts: 2
Joined: Fri Aug 10, 2018 6:38 am

Postby Taha » Fri Aug 10, 2018 8:24 am

Thanks for you reply. I have edited my post and include the snapshot of code now!.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9557
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sun Aug 12, 2018 4:00 pm

Hi Taha,

welcome to the forum!

The code looks ok, but it cannot be tested since you posted it as screenshot, not as code. Next time please post the code, so we can copy and paste it to test it with our LaTeX installation.

I just can guess that ShareLaTeX seems to think that the math mode is not ok here, because of using $...$ inside a math environment (align) so switching to math mode already within math mode. It may not understand the TikZ syntax here between the maths. But I cannot say for sure without the code or a ShareLaTeX link.

Stefan admin

Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 5 guests