Graphics, Figures & Tableshighlight and point variables in equation

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

highlight and point variables in equation

Post by Taha »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

highlight and point variables in equation

Post by Johannes_B »

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.
Taha
Posts: 2
Joined: Fri Aug 10, 2018 6:38 am

highlight and point variables in equation

Post by Taha »

Hello,
Thanks for you reply. I have edited my post and include the snapshot of code now!.
Regards,
Taha
User avatar
Stefan Kottwitz
Site Admin
Posts: 10311
Joined: Mon Mar 10, 2008 9:44 pm

highlight and point variables in equation

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply