Hi,
I'm trying to split a part of a page in two columns and insert a figure in right column. Although I am able to do this, the figure number and title does not show up in my list of figures. Below is the code I'm using:
\begin{multicols}{2}
\\ TEXT........
\begin{figurehere}
\begin{center}
\includegraphics[trim = 7cm 13.5cm 5cm 7.5cm,clip]{FIG.pdf}
\caption{Petroleum refinery cyclone separator}
\label{fig:PetroleumIndustry}
\end{center}
\end{figure}
\end{multicols}
I tried the following to make the figure number show up:
-used \begin{figure}[h!] but with this, the figure doesn't show up at all. Just the caption shows up.
Alternatively, I can also including Fig. number in the caption, however can someone tell me how to add a line to 'list of figures'?
I have been spending the past 2 weeks or so on this. Any suggestions are welcome. Thanks very much.
Graphics, Figures & Tables ⇒ Figure in Columns
NEW: TikZ book now 40% off at Amazon.com for a short time.

Figure in Columns
My suggestion is to build a small but complete example showing the problem, so we are actually able to help you. See also: http://www.latex-community.org/forum/vi ... =37&t=5838sowmk wrote:I have been spending the past 2 weeks or so on this. Any suggestions are welcome.
The only thing I can see from your code snipped is that you end the figurehere environment by \end{figure} instead of \end{figurehere}.
Re: Figure in Columns
Sommerfee, thanks for replying. Here is my example:
\documentclass[12pt]{report}
\usepackage{amssymb,graphicx,graphics,subfigure,multicol}
\begin{document}
\begin{multicols}{2}
In its strictest sense, petroleum includes only crude oil, but in common usage it includes both crude oil and natural gas. Both crude oil and natural gas are predominantly a mixture of hydrocarbons. Under surface pressure and temperature conditions, the lighter hydrocarbons methane, ethane, propane and butane occur as gases, while the heavier ones from pentane and up are in the form of liquids or solids.
\begin{figurehere}
\begin{center}
\includegraphics[trim = 7cm 13.5cm 5cm 7.5cm,clip,scale=0.9]{PetroleumIndustry.pdf}
\caption{Petroleum industry}
\label{fig:PetroleumIndustry}
\end{center}
\end{figurehere}
\end{multicols}
\end{document}
My issues with this code are:
- The figure number does not show up below the figure, and in the 'list of figures'.
- I have tried variations of the \begin{figure} command, but nothing seems to fix the above issue.
Any ideas?
Thank you.
\documentclass[12pt]{report}
\usepackage{amssymb,graphicx,graphics,subfigure,multicol}
\begin{document}
\begin{multicols}{2}
In its strictest sense, petroleum includes only crude oil, but in common usage it includes both crude oil and natural gas. Both crude oil and natural gas are predominantly a mixture of hydrocarbons. Under surface pressure and temperature conditions, the lighter hydrocarbons methane, ethane, propane and butane occur as gases, while the heavier ones from pentane and up are in the form of liquids or solids.
\begin{figurehere}
\begin{center}
\includegraphics[trim = 7cm 13.5cm 5cm 7.5cm,clip,scale=0.9]{PetroleumIndustry.pdf}
\caption{Petroleum industry}
\label{fig:PetroleumIndustry}
\end{center}
\end{figurehere}
\end{multicols}
\end{document}
My issues with this code are:
- The figure number does not show up below the figure, and in the 'list of figures'.
- I have tried variations of the \begin{figure} command, but nothing seems to fix the above issue.
Any ideas?
Thank you.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Figure in Columns
The figurehere environment is not defined. The log file is very clear in this regard. For multi-columned environments there is the figure* environment.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10