Text Formattingusing plot in path draw

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

using plot in path draw

Post by kent »

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 330 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

using plot in path draw

Post by Stefan Kottwitz »

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 4505 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
LaTeX.org admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

using plot in path draw

Post by Stefan Kottwitz »

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