GeneralSCfigure as figure in structure view

General information and discussion about TeXnicCenter
Post Reply
Zem
Posts: 4
Joined: Wed Aug 15, 2007 7:53 pm

SCfigure as figure in structure view

Post by Zem »

Hi

I am using the SCfigure package for images with captions to the left or right instead of below the image

i.e.

Code: Select all

\begin{SCfigure} 
 \centering
 \includegraphics{img01}
 \caption{this caption will appear beside the image}
 \label{fig:img01}
\end{SCfigure}
Is there a way to make texniccenter show the name of each SCfigure in the Navigation-bar-structure-view, like for normal figures?

Or is there some latex trickery to accomplish this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

TTFAN
Posts: 1
Joined: Thu Sep 24, 2009 6:27 pm

SCfigure as figure in structure view

Post by TTFAN »

Hi,

I don't know, if TexnicCenter can be configured to show the figure.

You could however use the following, which is a bit awkward, but maybe it helps you:

Add the following before, inside, or after you SCfigure inclusion:

Code: Select all

\iffalse % Latex won't compile the following until \fi
\begin{figure}
	\caption{this caption will appear in TCs image listing}
\end{figure}
\fi	
Post Reply