LaTeX forum ⇒ TeXworksProblems about inserting figure

Information and discussion about TeXworks, an integrated LaTeX environment for several platforms
Posts: 57
Joined: Sat Oct 27, 2018 10:38 pm

Problems about inserting figure

Postby yaozhao » Mon Nov 12, 2018 11:30 pm

\includegraphics[width=0.5\textwidth]{"my image"}
\caption{Find Profit Maximization Area}}

Extra }, or forgotten \endgroup.
\@endfloatbox ...pagefalse \outer@nobreak \egroup
l.60 \end{figure}

If I press the space, it can still output perfectly. But what does this error mean?

Recommended reading 2021: • •
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Stefan Kottwitz
Site Admin
Posts: 10164
Joined: Mon Mar 10, 2008 9:44 pm

Problems about inserting figure

Postby Stefan Kottwitz » Mon Nov 12, 2018 11:40 pm

There is only one closing brace too much here:

\caption{Find Profit Maximization Area}}

Remove the last one, just write

\caption{Find Profit Maximization Area}

LaTeX just did not understand this error good enough to print a good error message that's better understandable.

Stefan admin

Return to “TeXworks”

Who is online

Users browsing this forum: No registered users and 4 guests