LaTeX forum ⇒ Text Formattingusing plot in path draw

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
kent
Posts: 57
Joined: Thu Oct 20, 2016 3:41 pm

using plot in path draw

Postby kent » Sun Apr 07, 2019 5:12 pm

In the attached file it is a very simple path draw using the plot option. However, an error message is issued compaining about a possible missing semicolon. I have not been able to spot the error. Anybody who can?
Best regards,
Kent Holing
Attachments
tst.tex
(425 Bytes) Downloaded 64 times

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

Postby Stefan Kottwitz » Mon Apr 08, 2019 2:46 am

Hi Kent!

I think it's caused by illegal characters in the document source, that's possibly not visible in your editor. That's what I see in TeXworks:

tikz-error.png
tikz-error.png (29.54 KiB) Viewed 346 times


I get the same error as you:

Package tikz Error: Giving up on this path. Did you forget a semicolon?

But once I removed those characters, the error is gone and it works fine. Can you try it?

Stefan
Site admin

CalvinDom
Posts: 1
Joined: Tue Apr 23, 2019 11:16 am

Postby CalvinDom » Wed Apr 24, 2019 1:43 pm

Same problem here, Stefan. How do I check out for the illegal characters exactly?

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

Postby Stefan Kottwitz » Wed Apr 24, 2019 4:11 pm

Hi Calvin,

welcome to the forum! Perhaps open the file in a different editor to visually notice illegal characters. You can also post the file as attachment here in the forum.

Stefan
Site admin


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 1 guest