Graphics, Figures & Tablesfigure question

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

figure question

Post by mikkelstuff »

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?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
Stefan Kottwitz
Site Admin
Posts: 10311
Joined: Mon Mar 10, 2008 9:44 pm

figure question

Post by Stefan Kottwitz »

It's graphicx instead of graphix:

\usepackage{graphicx}

And you ned to load the subfigure package:

\usepackage{subfigure}

Stefan
LaTeX.org admin
mikkelstuff
Posts: 17
Joined: Fri Sep 24, 2010 8:50 pm

figure question

Post by mikkelstuff »

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

figure question

Post by mikkelstuff »

I tried adding the \usepackage{subfigure} but this still does not recognize the \begin{figure}.

Anyone have an example that works?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

figure question

Post by Johannes_B »

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

figure question

Post by Stefan Kottwitz »

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
LaTeX.org admin
mikkelstuff
Posts: 17
Joined: Fri Sep 24, 2010 8:50 pm

figure question

Post by mikkelstuff »

Ok got it working. Thanks, Clark
Post Reply