## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ figure question Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
mikkelstuff
Posts: 17
Joined: Fri Sep 24, 2010 8:50 pm

### figure question

I want to use {figure} and {subfigure} to position photos but TexShop does not recognize the commands. I have included a \usepackage{graphix}. What else do I need?

Stefan Kottwitz
Posts: 9285
Joined: Mon Mar 10, 2008 9:44 pm
It's graphicx instead of graphix:

\usepackage{graphicx}

And you ned to load the subfigure package:

\usepackage{subfigure}

Stefan

mikkelstuff
Posts: 17
Joined: Fri Sep 24, 2010 8:50 pm
Thanks Stefan. I did mean "graphicx" but did not know about the "subfigure" package.

mikkelstuff
Posts: 17
Joined: Fri Sep 24, 2010 8:50 pm
I tried adding the \usepackage{subfigure} but this still does not recognize the \begin{figure}.

Anyone have an example that works?

Johannes_B
Site Moderator
Posts: 3953
Joined: Thu Nov 01, 2012 4:08 pm
The figure environment is defined in the LaTeX kernel. You don't need any package to use it.

Please show us a minimal working example.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Stefan Kottwitz
Posts: 9285
Joined: Mon Mar 10, 2008 9:44 pm
That means, please show what you tried and doesn't work. And we would perfectly know what happens when you also post the .log file, as attachment here. The Attachments link is below the text edit field, when writing a post.

Stefan

mikkelstuff
Posts: 17
Joined: Fri Sep 24, 2010 8:50 pm
Ok got it working. Thanks, Clark

### Who is online

Users browsing this forum: No registered users and 10 guests